[gentoo-user] rsync for backup, can anybody help

2007-12-25 Thread Paul Stear
Hi all, Complements of the season. I use a script to perform backup to a connected usb harddisk and I have noticed that it appears to be writing all files each time instead of updating only the changes. I am wondering if rsync has changed. I have read the man pages but am not quite sure if I u

Re: [gentoo-user] rsync for backup, can anybody help

2007-12-25 Thread Roman Zilka
> I wanted to create the empty directories on the backup i.e. run, dev, also Add something like this to the exclude-list: /dev/* /var/run/* ... That'll copy the dir itself, but not its contents. > directory links i.e. lib to lib64 I don't fully understand here. You have a '-a' (even a redundant

Re: [gentoo-user] rsync for backup, can anybody help

2007-12-25 Thread Roman Zilka
> I use a script to perform backup to a connected usb harddisk and I have > noticed that it appears to be writing all files each time instead of > updating only the changes. I am wondering if rsync has changed. I have Oops, I forgot about this one. What makes you think whole fiels are being

Re: [gentoo-user] rsync for backup, can anybody help

2007-12-25 Thread Neil Bothwick
On Tue, 25 Dec 2007 15:43:32 +, Paul Stear wrote: > I use a script to perform backup to a connected usb harddisk and I have > noticed that it appears to be writing all files each time instead of > updating only the changes. I am wondering if rsync has changed. I > have read the man pages b

Re: [gentoo-user] rsync for backup, can anybody help

2007-12-25 Thread Paul Stear
On Tuesday 25 December 2007, Neil Bothwick wrote: > On Tue, 25 Dec 2007 15:43:32 +, Paul Stear wrote: > > I use a script to perform backup to a connected usb harddisk and I > > have noticed that it appears to be writing all files each time > > instead of updating only the changes. I am wonderi

Re: [gentoo-user] rsync for backup, can anybody help

2007-12-26 Thread Paul Stear
On Tuesday 25 December 2007, Neil Bothwick wrote: > --one-file-system Hi Neil, Still not sure what the above will produce, I didn't find the man page very readable. Take sys for example, if it is saying that the directory would be created, would I still need to exclude everything under it?. I

Re: [gentoo-user] rsync for backup, can anybody help

2007-12-26 Thread Neil Bothwick
On Wed, 26 Dec 2007 18:07:38 +, Paul Stear wrote: > > --one-file-system > > Still not sure what the above will produce, I didn't find the man page > very readable. Take sys for example, if it is saying that the directory > would be created, would I still need to exclude everything under i

Re: [gentoo-user] rsync for backup, can anybody help

2007-12-27 Thread Iain Buchanan
On Tue, 2007-12-25 at 20:41 +, Paul Stear wrote: > I am using ext2 on the usb backup disk. I'm not sure if I understand you > correctly. What do you mean by Use --one-file-system ? RTM :) "This tells rsync to avoid crossing a filesystem boundary when recursing. This does not limit the use

Re: [gentoo-user] rsync for backup, can anybody help

2007-12-28 Thread Roman Zilka
> symlink > "/mnt/external/OneFileSystemBackup/usr/i686-pc-linux-gnu/lib/libopcodes.so" > -> "/usr/lib32/binutils/i686-pc-linux-gnu/2.18/libopcodes.so" > failed: Operation not permitted (1) This is most likely caused by the FAT filesystem on the target device. Just like a lot of other errors, p

Re: [gentoo-user] rsync for backup, can anybody help

2007-12-29 Thread Paul Stear
On Friday 28 December 2007, Roman Zilka wrote: > > symlink > > "/mnt/external/OneFileSystemBackup/usr/i686-pc-linux-gnu/lib/libopcod > >es.so" -> "/usr/lib32/binutils/i686-pc-linux-gnu/2.18/libopcodes.so" > > failed: Operation not permitted (1) > > This is most likely caused by the FAT filesystem o