summaryrefslogtreecommitdiff
path: root/lib/backupclient/BackupClientRestore.h
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2008-05-05 14:44:38 +0000
committerChris Wilson <chris+github@qwirx.com>2008-05-05 14:44:38 +0000
commit7eba897f6da8b1a993f0d40251af1748b5c793ea (patch)
treef1d09e475ba58ba38a8cf85424c45afb9578f6dc /lib/backupclient/BackupClientRestore.h
parent55c0054c6aeab12365ec30cd448a919f2ba19bd4 (diff)
Add restore -f option to force restore to continue after an error.
Diffstat (limited to 'lib/backupclient/BackupClientRestore.h')
-rw-r--r--lib/backupclient/BackupClientRestore.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/lib/backupclient/BackupClientRestore.h b/lib/backupclient/BackupClientRestore.h
index f7724030..7e492238 100644
--- a/lib/backupclient/BackupClientRestore.h
+++ b/lib/backupclient/BackupClientRestore.h
@@ -15,14 +15,21 @@ class BackupProtocolClient;
enum
{
Restore_Complete = 0,
- Restore_ResumePossible = 1,
- Restore_TargetExists = 2,
- Restore_TargetPathNotFound = 3,
- Restore_UnknownError = 4,
+ Restore_ResumePossible,
+ Restore_TargetExists,
+ Restore_TargetPathNotFound,
+ Restore_UnknownError,
+ Restore_CompleteWithErrors,
};
-int BackupClientRestore(BackupProtocolClient &rConnection, int64_t DirectoryID, const char *LocalDirectoryName,
- bool PrintDots = false, bool RestoreDeleted = false, bool UndeleteAfterRestoreDeleted = false, bool Resume = false);
+int BackupClientRestore(BackupProtocolClient &rConnection,
+ int64_t DirectoryID,
+ const char *LocalDirectoryName,
+ bool PrintDots = false,
+ bool RestoreDeleted = false,
+ bool UndeleteAfterRestoreDeleted = false,
+ bool Resume = false,
+ bool ContinueAfterErrors = false);
#endif // BACKUPSCLIENTRESTORE__H