Closed raimi closed 11 years ago
Would a --skip-existing option for restore help?
usage: shaback restore [<general_options>] [-p <pw> | --password=<pw>]
[-t | --totals] [-S | --skip-existing]
<rootfile> | <dir-id>
Restores directories and files from the repository.
<rootfile> is a filename from the repository's index/ directory.
<dir-id> is the ID of the directory file to be restored.
-S, --skip-existing
Skip files already existing in destination directory.
-t, --totals
Give summary report at the end of the recovery run.
Files will always be restored into the CWD.
During todays restore problems I learned that it would be nice to do skip existing files during recovery. This is needed when the restore fails (due to programming or IO errors, see other issues). One wants to "fast forward" the restore to the point where it failed.