File tree Expand file tree Collapse file tree
plugins/backup/veeam/src/main/java/org/apache/cloudstack/backup/veeam Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -677,17 +677,6 @@ public boolean syncBackupRepository() {
677677 return result != null && result .first ();
678678 }
679679
680- public boolean syncBackupRepository () {
681- LOG .debug ("Trying to sync backup repository." );
682- Pair <Boolean , String > result = executePowerShellCommands (Arrays .asList (
683- "$repo = Get-VBRBackupRepository" ,
684- "$Syncs = Sync-VBRBackupRepository -Repository $repo" ,
685- "while ((Get-VBRSession -ID $Syncs.ID).Result -ne 'Success') { Start-Sleep -Seconds 10 }"
686- ));
687- LOG .debug ("Done syncing backup repository." );
688- return result != null && result .first ();
689- }
690-
691680 public Map <String , Backup .Metric > getBackupMetrics () {
692681 if (isLegacyServer ()) {
693682 return getBackupMetricsLegacy ();
You can’t perform that action at this time.
0 commit comments