We are using a relatively new backup utility called boxbackup (http://www.fluffy.co.uk/boxbackup/). We've been using it for a while now and really like it.
I have a package build for it at work if your interested. I can post it here, just let me know....
Chris....
Boxbackup submitted to AUR.
Server:
http://aur.archlinux.org/packages.php?d … SB=n&PP=25
Client:
]]>#! /bin/bash
backupdir=`grep -c backup /etc/mtab`
if [ $backupdir==1 ]; then
echo `date +%d/%m/%Y - %k:%M` : Starting backup >> /home/iphitus/.backup/log
backupdate=/mnt/backup/`date +%d.%m.%Y`
mkdir $backupdate
for directory in `cat /home/iphitus/.backup/dirs`
do
echo `date +%d/%m/%Y - %k:%M` : Copying Directory: $directory >> /home/iphitus/.backup/log
cp -a $directory $backupdate
echo `date +%d/%m/%Y - %k:%M` : $directory Complete. >> /home/iphitus/.backup/log
done
echo `date +%d/%m/%Y - %k:%M` : Backup Complete >> /home/iphitus/.backup/log
rm -r /mnt/backup/backup
mkdir /mnt/backup/backup
cp /home/iphitus/.backup/* /mnt/backup/backup/
fi
if [ $backupdir==0 ]; then
echo `date +%d/%m/%Y - %k:%M` : Backup failed: Partition Not mounted. >> /home/iphitus/.backup/log
fi
config file:
/home/iphitus/Documents/Documents/
/home/iphitus/pycast
/home/iphitus/Graphics
/home/iphitus/serverb
How it works?
checks if partition is mounted, then copies the stuff listed in the config file ~/.backup/dirs to the set place. yeah i know it sucks, but it works and maybe it'll work for whoever else uses it.
Don't forget to tar your /etc, that's the most important.
And if disk space is not a problem, you could even tar up your whole system (you could use gzip, it's faster yet bigger)
tar -cvjpf /mnt/whatever/whatever.tar.bz2 / --exclude=/mnt/* --exclude=/var/run/* --exclude=/var/cache/* --exclude=/sys/* --exclude=/proc/* --exclude=whatever.tar.bz2
To recover your backup, dont forget to set up grub and to have enough space on your partitions. You will have to edit your fstab if you changed you disk layout.
You could also try to use dd if you want to save your partitions in a ghost-like manner
dd if=/dev/hda1 of=disk.img | gzip
or something like that
]]>I have a package build for it at work if your interested. I can post it here, just let me know....
Chris....
]]>You can find it http://www.edwinh.org/flexbackup/ <--- there.
I used http://gentoo-wiki.com/HOWTO_Backup <--- that guide to set everything up - but the conf is pretty well documented.
Good luck!
]]>Don't need any indepth respond, just general direction.
Thanks
]]>