Easy step-by-step back-ups to an exterior disk drive
For some time I made use of Dirvish to do step-by-step back-ups of my equipments, yet it is a little difficult to set up, and also if you do not lug a duplicate of your arrangement it can be tough to duplicate in other places.
I am seeking backup programs for Unix, Linux that can:
- Incrementally upgrade my backup
- Create "mirror" trees like dirvish did making use of hardlinks (to conserve room)
- Preferably with a suitable UI
This unrefined - yet useful - manuscript will certainly backup every little thing imaginable to your exterior disk drive under a tough link ranch. The directory site name is a timestamp, and also it keeps a symlink to the most up to date sucessful backup. Consider it as a Time Machine sans the expensive GUI.
#!/bin/sh DATE=`/bin/date +%Y%m%d%H%M%S` RSYNC=/usr/bin/rsync BASE=/mnt/externalhd TARGET=$BASE/daily $RSYNC -av --exclude $TARGET --exclude-from=/etc/backup/rsync.exclude --link-dest=$TARGET/latest/ / $TARGET/$DATE/ touch $TARGET/$DATE/ rm $TARGET/latest ln -s $TARGET/$DATE $TARGET/latest
Set it up developing a vacant
$TARGET and also symlink a dummy
$TARGET/latest to it. Inhabit
var/run and also every little thing else you require to miss throughout backup, or go with - - include - from if it fits you far better ;
man rsync is your close friend.
Correct peace of mind checks, mistake control, remote backup and also rather GNOME GUI are left as a workout to the viewers ; -)
I've had some success with RIBS (Rsync Incremental Backup System)
It makes use of rsync so hardlinks are sustained and also can do step-by-step back-ups per hour, day-to-day, once a week and also month-to-month.
Nonetheless, it is a PHP manuscript just. To set up you require to modify the setups and afterwards set up relevant cronjobs. It functions, yet it's not one of the most easy to use and also calls for PHP.
I've been making use of epitome for concerning a year currently for deduplicated back-ups of my individual information. It has a tar like user interface so it's fairly comfy for a unix customer and also arrangement is a wind, at the very least, on OpenBSD. You can conveniently cron it to backup your directory sites each day, and also it cares for the deduplication of your information. You primarily are entrusted a meta - documents that you can make use of to recover your photo at a later date. As I claimed the user interface is tar - thus doing a backup is as very easy as :
# epitomize -cvRf 2010-08-16-home.md /home
Note that embodiment is deserted, just partial duplicate of internet site at https://web.archive.org/web/20140908075740/https://www.peereboom.us/epitome/ continues to be.
The Backup-Comparison of backup tools at the Ubuntu - Stackexchange is not actually Ubuntu - details. Probably you get some pointers there.
I advise DAR - the Disk ARchive program. It does not featured a GUI, yet its config is very easy to duplicate. It has wonderful step-by-step backup assistance. It does not make use of hardlink mirror trees, yet it has a hassle-free covering for browsing the filesystem sight of various photos.
I make use of backintime, which is largely targeted in the direction of Gnome/KDE desktop computers. Nonetheless, it can function from the commandline too.
I define backintime as a backup system with "pauper's deduplication".
If you were to write your very own backup manuscript to make use of rsync and also hardlinks, you would certainly wind up with something comparable to backintime.
- I make use of cron to start the backintime work as soon as per evening.
- As the documents claims : The actual magic is done by rsync (take photos and also recover ), diff (check if somethind transformed ) and also cp (make hardlinks ).
- backintime can be set up with various timetables. I maintain month-to-month back-ups for 1 year, weeklies for 1 month, and also dailies for 1 week.
- backintime makes use of hardlinks. I have 130GB well worth of information, and also I back this up every night. It just makes use of 160GB well worth of room on the 2nd drive as a result of the magic of hardlinks.
- Recovering information from the backup area is as straightforward as running
cp /u1/backintime/20100818-000002/backup/etc/rsyslog.conf /etc/rsyslog.conf. You do not require to make use of the GUI.
- On the 2nd drive, the first duplicate was pricey (given that you can not do hardlinks in between 2 various filesystems ), yet succeeding duplicates are quickly.
- I replicate information from my key filesystems to a 2nd filesystem onto a 2nd hot-swappable drive, and also occasionally revolve the second drive.