Ignore:
Timestamp:
05/05/2008 15:44:38 (4 years ago)
Author:
chris
Message:

Add restore -f option to force restore to continue after an error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/lib/backupclient/BackupClientRestore.h

    r1082 r2157  
    1616{ 
    1717        Restore_Complete = 0, 
    18         Restore_ResumePossible = 1, 
    19         Restore_TargetExists = 2, 
    20         Restore_TargetPathNotFound = 3, 
    21         Restore_UnknownError = 4, 
     18        Restore_ResumePossible, 
     19        Restore_TargetExists, 
     20        Restore_TargetPathNotFound, 
     21        Restore_UnknownError, 
     22        Restore_CompleteWithErrors, 
    2223}; 
    2324 
    24 int BackupClientRestore(BackupProtocolClient &rConnection, int64_t DirectoryID, const char *LocalDirectoryName, 
    25         bool PrintDots = false, bool RestoreDeleted = false, bool UndeleteAfterRestoreDeleted = false, bool Resume = false); 
     25int BackupClientRestore(BackupProtocolClient &rConnection, 
     26        int64_t DirectoryID, 
     27        const char *LocalDirectoryName, 
     28        bool PrintDots = false, 
     29        bool RestoreDeleted = false, 
     30        bool UndeleteAfterRestoreDeleted = false, 
     31        bool Resume = false, 
     32        bool ContinueAfterErrors = false); 
    2633 
    2734#endif // BACKUPSCLIENTRESTORE__H 
Note: See TracChangeset for help on using the changeset viewer.