Re: Problems with link-dest

2006-05-16 Thread Matt McCutchen
On Tue, 2006-05-16 at 08:10 -0700, Wayne Davison wrote: > The > reason they are not linked together is that you didn't use --times (-t) > in your rsync copy, so they ended up needing different timestamps, and > rsync can only hard-link files that have identical attributes. Not exactly. Only a dif

Re: Problems with link-dest

2006-05-16 Thread Wayne Davison
On Thu, May 11, 2006 at 10:41:33PM +0200, Florian Lindner wrote: > But apparantly now hard link has been created: [...] > -rw-r--r-- 1 florian users 4 7. Mai 13:36 file1 [...] > -rw-r--r-- 1 florian users 4 7. Mai 13:37 file1 No, those files aren't linked. Notice the leading "1" in the hard-lin

Re: Problems with link-dest

2006-05-11 Thread Matt McCutchen
On Thu, 2006-05-11 at 22:41 +0200, Florian Lindner wrote: > [EMAIL PROTECTED] ~/backupTest/2006-05-07/home/florian/Desktop/back $ ll > insgesamt 4 > -rw-r--r-- 1 florian users 4 7. Mai 13:36 file1 > > [EMAIL PROTECTED] ~/backupTest/2006-05-07_1/home/florian/Desktop/back $ ll > insgesamt 4 > -rw-r

Problems with link-dest

2006-05-11 Thread Florian Lindner
Hello, I want to use the link-dest feature. Changed files should not be written again but only linked from existing location. I execute rsync: [EMAIL PROTECTED] ~/python $ rsync --relative --recursive -vv "/home/florian/Desktop/back" "/home/florian/backupTest/2006-05-07" building file list ... d

Re: problems with --link-dest

2004-09-07 Thread Wayne Davison
On Tue, Sep 07, 2004 at 10:26:02AM +0200, Paul Slootman wrote: > rsync -av -e ssh --delete --link-dest=$link_dest --compare-dest=$link_dest $src > $dest There's only one compare-dest/link-dest value in rsync, so this adding of --compare-dest has no effect. ..wayne.. -- To unsubscribe or cha

Re: problems with --link-dest

2004-09-07 Thread Wayne Davison
On Mon, Sep 06, 2004 at 08:30:24PM +0200, Marten Lehmann wrote: > I thought that link-dest is the right thing for this, so that each > file from /vrmd/webserver is either hardlinked to the already backuped > file in 2004-09-05 or it will be copied to 2004-09-06. Yes, you thought correctly. > Is -

Re: problems with --link-dest

2004-09-07 Thread Paul Slootman
On Tue 07 Sep 2004, Marten Lehmann wrote: > > >Try this: > >rsync -av -e ssh --delete --link-dest=$link_dest > >--compare-dest=$link_dest $src $dest > > > >i.e. add the --compare-dest option... > > --compare-dest and --link-dest aren't thought to be used together: > > --link-dest compar

Re: problems with --link-dest

2004-09-07 Thread Marten Lehmann
Hello, You're trying to make a sort of snapshot per day, where common files across days are hardlinked? yes. Try this: rsync -av -e ssh --delete --link-dest=$link_dest --compare-dest=$link_dest $src $dest i.e. add the --compare-dest option... --compare-dest and --link-dest aren't thought to be

Re: problems with --link-dest

2004-09-07 Thread Paul Slootman
On Mon 06 Sep 2004, Marten Lehmann wrote: > > src="/vrmd/webserver/" > today=`date +%F` > #link_dest="[EMAIL PROTECTED]:/vrmd/admin/backup/web/2004-09-05" > link_dest="../2004-09-05" > dest="[EMAIL PROTECTED]:/vrmd/admin/backup/web/$today" > rsync -av -e ssh --delete --link-dest=$link_dest $src $d

problems with --link-dest

2004-09-06 Thread Marten Lehmann
Hello, I'm trying to do backups with rsync through ssh. This is what I wrote yet: src="/vrmd/webserver/" today=`date +%F` #link_dest="[EMAIL PROTECTED]:/vrmd/admin/backup/web/2004-09-05" link_dest="../2004-09-05" dest="[EMAIL PROTECTED]:/vrmd/admin/backup/web/$today" rsync -av -e ssh --delete --lin