Gentoo Archives: gentoo-amd64

From: Paul Stear <gentoo@××××××××××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] rsync for backup
Date: Sat, 22 Dec 2007 15:31:55
Message-Id: 200712221528.44779.gentoo@appjaws.plus.com
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 This message has been sent using kmail with gentoo linux
29 --
30 gentoo-amd64@g.o mailing list