Re: rsyncrypto with --backup-dir like in rsync
Brought to you by:
thesun
From: Shachar S. <sh...@sh...> - 2015-02-03 20:15:09
|
On 30/12/14 07:28, Zurd wrote: > The original rsync has an option --backup that works with > --backup-dir. When they are used, all the modified and/or deleted > files are put in the --backup-dir argument. > > When using the --delete option at the same time, the destination > folder is then always kept as a perfect copy like the source folder. > And the --backup-dir folder has all the modified/deleted files in it. > > An example of that command would be: > rsync --archive --delete --backup > --backup-dir=/home/user/backup-2014-12-30/ /home/user/backup-source/ > /home/user/backup-destination/ > > Does rsyncrypto has an option like that? > > rsyncrypto does not have an option like that. Truth be told, rsyncrypto was mostly designed to be a preparation step before performing rsync, and rsync's options cover these needs quit nicely. Hope this helps, Shachar |