Displaying 1 result from an estimated 1 matches for "path_src".
Did you mean:
path_r
2007 Apr 30
3
Incremental backup and empty dirs
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 transfered everyday
to a new catalog, determinated by a variable ${DATE_YESTERDAY}.
But if an empty dir is deleted from ${PATH_SRC}, then it is
accordingly deleted from ${PATH_BACKUP}/current, and don`t appear in...