Re: Incremental backup and empty dirs

2007-05-01 Thread Matt McCutchen
On 4/30/07, Mark <[EMAIL PROTECTED]> wrote: Hi, I use rsync with such options: OPTIONS="-a -u -z -v -S --delete-during --ignore-errors \ -b --backup-dir=${PATH_BACKUP}/${DATE_YESTERDAY} \ --exclude-from=$IGNORE" rsync $OPTIONS ${PATH_SRC} \ ${PATH_BACKUP}/current Every

Re: Incremental backup and empty dirs

2007-05-01 Thread Wayne Davison
On Mon, Apr 30, 2007 at 07:17:52PM +0400, Mark wrote: > But if an empty dir is deleted from ${PATH_SRC}, then it is > accordingly deleted from ${PATH_BACKUP}/current, and don`t appear in > ${PATH_BACKUP}/${DATE_YESTERDAY}. That's correct. Dirs are not currently considered to be content that need

Re: Incremental backup and empty dirs

2007-05-01 Thread rsync
On Mon, Apr 30, 2007 at 07:17:52PM +0400, Mark wrote: > Hi, > > I use rsync with such options: > > OPTIONS="-a -u -z -v -S --delete-during --ignore-errors \ > -b --backup-dir=${PATH_BACKUP}/${DATE_YESTERDAY} \ > --exclude-from=$IGNORE" [skip] > > Do you know what to do it to m

Incremental backup and empty dirs

2007-04-30 Thread Mark
Hi, I use rsync with such options: OPTIONS="-a -u -z -v -S --delete-during --ignore-errors \ -b --backup-dir=${PATH_BACKUP}/${DATE_YESTERDAY} \ --exclude-from=$IGNORE" rsync $OPTIONS ${PATH_SRC} \ ${PATH_BACKUP}/current Everything works as it should be, deleted files are