[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] restore from backup: can files be deleted again
Re: [rdiff-backup-users] restore from backup: can files be deleted again, which didn't exist back in time?
Sat, 10 Oct 2015 09:33:35 -0500
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
On 10/09/2015 04:47 AM, Marco Moller wrote:
1) Will rdiff-backup recognize that a meanwhile present file wasn't
present back in time and thus delete the meanwhile present file, so
that the restore does not just merge the files from the backup with
the present files?
rdiff-backup never merges. If you restore to an existing directory
(which requires "--force"), that directory and any subdirectories
will be restored to the state they were at that time in the archive.
Anything else gets deleted.
2) Just for curiosity, if rdiff-backup would take care of the "not
only merge" situation and would properly delete the newly appeared
files again, where does rdiff-backup store the information about the
files which maybe would have to be deleted?
That determination is made at the time you do the restore. Anything
found that is not part of the restore gets deleted.
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.