Re: Can I get rsync to delete missing files first?

2009-09-16 Thread Allistar
Matt McCutchen wrote: > On Thu, 2009-09-17 at 14:41 +1200, Allistar wrote: >> I am backing up a remove partition which is 38Gb onto a local partition >> which is 40Gb. Rsync is complaining that I have run out of disk space on >> the local partition, and I can tell that thi

Can I get rsync to delete missing files first?

2009-09-16 Thread Allistar
files. I note there is a --delete-after option, but is there a --delete-before option? If not, can I simulate this somehow? This is rsync version 2.6.2 protocol version 28 Thanks, Allistar. -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change

Using rsync to backup remote server as root

2009-08-26 Thread Allistar
Hi there, I use this rsync command to backup "/" of a remote server: rsync -Hav --delete --exclude-from=backup.excludes --delete-excluded -e "ssh -p 45658" r...@samwise:/ /mnt/backup/samwise/backup Where: samwise: is the name of the server (yes yes, I know, naming computer after Hobbits may be