workflo / shaback

A hash digest based backup tool
GNU General Public License v3.0
4 stars 0 forks source link

Feature: "Incremental" restore #9

Closed raimi closed 11 years ago

raimi commented 11 years ago

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.

workflo commented 11 years ago

Would a --skip-existing option for restore help?

workflo commented 11 years ago
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.