Re: Question on --backup --backup-dir Switches For Incremental Backs

2007-02-16 Thread Wayne Davison
On Thu, Feb 01, 2007 at 10:06:48PM -0500, Matt McCutchen wrote: While we're on the topic: I was dismayed to discover a while ago that rsync doesn't allow different kinds of basis dirs in the same command (e.g., --compare-dest=foo --link-dest=bar). I'm trying to imagine how that would be useful

Re: Question on --backup --backup-dir Switches For Incremental Backs

2007-02-16 Thread Matt McCutchen
On 2/16/07, Wayne Davison [EMAIL PROTECTED] wrote: I'm trying to imagine how that would be useful because one of the things that the options do is to control how the destination hierarchy is populated, and there's only one destination hierarchy. About the only useful combination I can come up

Re: Question on --backup --backup-dir Switches For Incremental Backs

2007-02-01 Thread Matt McCutchen
On 1/30/07, Wayne Davison [EMAIL PROTECTED] wrote: You're right. That means that the multi-option version of compare-dest is not working as it should. I need to change the code so that rsync creates a new version anytime the most recent version of the file differs from the sender's version

Re: Question on --backup --backup-dir Switches For Incremental Backs

2007-01-30 Thread Paul Slootman
On Mon 29 Jan 2007, Matt McCutchen wrote: On 1/29/07, Wayne Davison [EMAIL PROTECTED] wrote: If you want to store the new, changed files, use one or more --compare-dest options (one pointing at an old full backup, and an extra option for any intervening incrementals). This approach won't

Re: Question on --backup --backup-dir Switches For Incremental Backs

2007-01-30 Thread Wayne Davison
On Mon, Jan 29, 2007 at 04:56:16PM -0500, Matt McCutchen wrote: This approach won't work because rsync will skip a file if it is in the same state now as in any of the backups, not just the most recent one. Thus, if I change a file and change it back, the fact that I changed it back would not

Question on --backup --backup-dir Switches For Incremental Backs

2007-01-29 Thread Blake Carver
I current do some rsync backups with a command like so every day rsync -az -e ssh --stats --delete --exclude stuff / [EMAIL PROTECTED]:/home/user/ What I want to do is have some incremental backups in there in subdirectories. So, for example, something like this on the remote server

Re: Question on --backup --backup-dir Switches For Incremental Backs

2007-01-29 Thread Paul Slootman
On Mon 29 Jan 2007, Blake Carver wrote: I current do some rsync backups with a command like so every day rsync -az -e ssh --stats --delete --exclude stuff / [EMAIL PROTECTED]:/home/user/ What I want to do is have some incremental backups in there in subdirectories. So, for example,

Re: Question on --backup --backup-dir Switches For Incremental Backs

2007-01-29 Thread Wayne Davison
On Mon, Jan 29, 2007 at 10:34:39AM -0500, Blake Carver wrote: I thought the --backup --backup-dir Switches were used to store just the files that had changed in seperate directories, am I wrong on that? It stores the old files that are being updated or deleted, moving (or copying) them before