Beispiel #1
0
 /// <summary>
 /// Method to be executed by worker thread
 /// </summary>
 public override void Execute(IProcessingCallback callback)
 {
     try
     {
         BackupRestore.BackupBranch(_treeNodePath, _zipFilePath, callback);
     }
     catch (Exception ex)
     {
         if (null != callback)
         {
             callback.Error(ex.Message);
         }
     }
 }
Beispiel #2
0
 /// <summary>
 /// Method to be executed by worker thread
 /// </summary>
 public override void Execute(IProcessingCallback callback)
 {
     BackupRestore.Merge(_filePath, callback);
 }
Beispiel #3
0
 /// <summary>
 /// Method to be executed by worker thread
 /// </summary>
 public override void Execute(IProcessingCallback callback)
 {
     BackupRestore.ClearDatabase(callback);
 }
Beispiel #4
0
 /// <summary>
 /// Method to be executed by worker thread
 /// </summary>
 public override void Execute(IProcessingCallback callback)
 {
     BackupRestore.BackupFull(_destFilePath, callback);
 }