]> git.sur5r.net Git - bacula/bacula/commitdiff
added error message for hrCBDatabaseNotFound
authorJames Harper <james.harper@bendigoit.com.au>
Sun, 15 Mar 2009 05:47:45 +0000 (05:47 +0000)
committerJames Harper <james.harper@bendigoit.com.au>
Sun, 15 Mar 2009 05:47:45 +0000 (05:47 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8534 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/win32/filed/plugins/api.c
bacula/src/win32/filed/plugins/api.h

index 7d06cc87655da64693d087fc2333668fd3743076..7601afaa7eb040b79e3c535ffc172b35796c9f26 100644 (file)
@@ -136,6 +136,8 @@ ESEErrorMessage(HRESULT result)
                 return "Exchange backup already in progress.";
         case hrLogfileNotContiguous:
                 return "Existing log file is not contiguous. Check that no stale files are left in the Exchange data/log directories.";
+       case hrCBDatabaseNotFound:
+                return "Database not found. Check that the Database you are trying to restore actually exists in the Storage Group you are restoring to.";
         default:
                 return "Unknown error.";
         }
index a5934fdb1fb859b5c285ae99338f7bd7ba7a1a16..7e41991245d62353c6ddc7fb1a34440b89031753 100644 (file)
@@ -252,12 +252,13 @@ loadExchangeApi();
 char *
 ESEErrorMessage(HRESULT result);
 
-#define hrLogfileHasBadSignature        (HRESULT)0xC8000262L
-#define hrLogfileNotContiguous          (HRESULT)0xC8000263L
-#define hrCBDatabaseInUse                       (HRESULT)0xC7FE1F41L
+#define hrLogfileHasBadSignature    (HRESULT)0xC8000262L
+#define hrLogfileNotContiguous      (HRESULT)0xC8000263L
+#define hrCBDatabaseInUse           (HRESULT)0xC7FE1F41L
 #define hrRestoreAtFileLevel        (HRESULT)0xC7FF0FA5L
 #define hrMissingFullBackup         (HRESULT)0xC8000230L
 #define hrBackupInProgress          (HRESULT)0xC80001F9L
+#define hrCBDatabaseNotFound        (HRESULT)0xC7FE1F42L
 
 extern HrESEBackupRestoreGetNodes_t HrESEBackupRestoreGetNodes;
 extern HrESEBackupPrepare_t HrESEBackupPrepare;