1 |
Hi all, |
2 |
Complements of the season. |
3 |
I use a script to perform backup to a connected usb harddisk and I have |
4 |
noticed that it appears to be writing all files each time instead of |
5 |
updating only the changes. I am wondering if rsync has changed. I have |
6 |
read the man pages but am not quite sure if I understand it fully. |
7 |
This is part of my script:- |
8 |
$RSYNC \ |
9 |
-Cvalu --delete-during --stats --progress --exclude '*Trash*' --exclude '/home/paul/Programs' --exclude 'run' |
10 |
\ |
11 |
--exclude 'test' --exclude 'media/' --exclude '/home/paul/video/' --exclude 'mnt/' --exclude 'sys' |
12 |
\ |
13 |
--exclude 'tmp' --exclude 'joan' --exclude 'backup' --exclude 'proc/' --exclude 'log' |
14 |
\ |
15 |
--exclude 'boot' --exclude 'dev/' --exclude 'lost+found' \ |
16 |
/ /mnt/external/MusicBackup ; |
17 |
|
18 |
Could someone who is more knowledgeable than me please review the above |
19 |
and let me know what changes I need to make. |
20 |
|
21 |
One other question |
22 |
I wanted to create the empty directories on the backup i.e. run, dev, also |
23 |
directory links i.e. lib to lib64 |
24 |
|
25 |
Any help please |
26 |
Paul |
27 |
|
28 |
------------------------------------------------------- |
29 |
|
30 |
This message has been sent using kmail with gentoo linux |
31 |
-- |
32 |
gentoo-user@g.o mailing list |