On Thu, 2010-04-29 at 16:44 +0200, Alex Schuster wrote:

[snip]
> All my partitions are LVM volumes, so before the backup starts, I make a 
> LVM snapshot of the partition. This way I can modify it while the backup 
> is still in progress.

hmm, never got into LVM.  Sounds interesting though...

[snip]
> I wrote a shell script to do this, so I do not have to issue a lot of 
> commands every time I want to do the backup.

I don't use too many commands, something like this
in /etc/cron.daily/custom-backup:

sudo /usr/bin/ionice -c 3 /usr/bin/rsync -aAx --exclude suspend_file
--delete-delay --delete-excluded --partial
--human-readable / /<unique-mount-of-external-drive> || echo external
backup failed!

>  As there are now some others 
> using this script, adapted to their needs, I started to rewrite it in a 
> way that it reads a config file, and no modification of the script itself 
> is necessary. If anyone is interested, send me an email.

interested! So is it on sourceforge yet ;)

thanks,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

BOFH Excuse #418:

Sysadmins busy fighting SPAM.


Reply via email to