Alright guys, you're my last hope.

Currently I am trying to create a rotating backup system. I have a remote 
server which I've patched to work with the -E option. Anyhow, the remote server 
has the backup and I'm trying to use --link-dest against it. Here is the 
command I'm running.

sudo rsync --dry-run -e 'ssh -l root' --delete -auE \
--link-dest=../backup.0 \
/Users/frizop/ \
10.0.1.127:/home/rsync/Laptop-Backup/backup.1/

What happens is rather then check backup.0, it picks up /root (on the remote 
side) as the dest and wants to wipe out everything in there.

I've also tried 

sudo rsync --dry-run -e ssh --delete -auE \
 --link-dest=../backup.0 \
 /Users/frizop/ \
 [EMAIL PROTECTED]:/home/rsync/Laptop-Backup/backup.1/

--link-dest=/home/rsync/Laptop-Backup/backup.0

and about 100 diffrent attempts. The closest I can come to getting it right is 
doing [EMAIL PROTECTED]::backup/DIRECTORY but then it fails with all sorts of 
permission errors. 

If I remove --link-dest it will properly preform a full backup, and if I 
replace backup.1 with the previous directory backup.0/ it updates it just like 
normal.

Also, if I replace SRC and DEST with local filesystem paths, it works fine 
there too.

Thanks in Advance guys.

Thanks,
--Nathan



-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to