1 |
On Thu, 2010-04-29 at 16:44 +0200, Alex Schuster wrote: |
2 |
|
3 |
[snip] |
4 |
> All my partitions are LVM volumes, so before the backup starts, I make a |
5 |
> LVM snapshot of the partition. This way I can modify it while the backup |
6 |
> is still in progress. |
7 |
|
8 |
hmm, never got into LVM. Sounds interesting though... |
9 |
|
10 |
[snip] |
11 |
> I wrote a shell script to do this, so I do not have to issue a lot of |
12 |
> commands every time I want to do the backup. |
13 |
|
14 |
I don't use too many commands, something like this |
15 |
in /etc/cron.daily/custom-backup: |
16 |
|
17 |
sudo /usr/bin/ionice -c 3 /usr/bin/rsync -aAx --exclude suspend_file |
18 |
--delete-delay --delete-excluded --partial |
19 |
--human-readable / /<unique-mount-of-external-drive> || echo external |
20 |
backup failed! |
21 |
|
22 |
> As there are now some others |
23 |
> using this script, adapted to their needs, I started to rewrite it in a |
24 |
> way that it reads a config file, and no modification of the script itself |
25 |
> is necessary. If anyone is interested, send me an email. |
26 |
|
27 |
interested! So is it on sourceforge yet ;) |
28 |
|
29 |
thanks, |
30 |
-- |
31 |
Iain Buchanan <iaindb at netspace dot net dot au> |
32 |
|
33 |
BOFH Excuse #418: |
34 |
|
35 |
Sysadmins busy fighting SPAM. |