[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Re: Why using --force while restoring is dangerous?

From: Robert Nichols
Subject: [rdiff-backup-users] Re: Why using --force while restoring is dangerous?
Date: Wed, 09 Feb 2011 08:48:42 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10

On 02/09/2011 07:32 AM, Dominic Raferd wrote:
My reading is that using --force on a restore will overwrite existing
files with the same name - so you may lose previous data at the restore
destination. In general if you are restoring a directory (or a complete
repository) it is logical to use a clean destination, in which case it
shouldn't be a problem.

Anyone know different?


On 09/02/2011 12:40, Filip GruszczyƄski wrote:
I have read in manual, that --force can be dangerous, when restoring
files from backup. I am using --force, when calling rdiff-backup in my
filesystem to restore a file. I can't yet remove it, because otherwise
it fails to restore file. Is it really dangerous or maybe I can keep

When you are restoring a directory, "--force" will not only overwrite
existing files (which is probably what you intended, anyway), but it
will also _delete_ any files or even entire subdirectories that were
not present in the backup.  It will restore your directory to exactly
the state it was on the backup, nothing more, nothing less.  That
might be a nasty surprise.

Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]