Skip to content

Commit 5b98f3b

Browse files
weizhouapachedhslove
authored andcommitted
Merge branch '4.19'
1 parent ffcf955 commit 5b98f3b

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

  • plugins/backup/veeam/src/main/java/org/apache/cloudstack/backup/veeam

plugins/backup/veeam/src/main/java/org/apache/cloudstack/backup/veeam/VeeamClient.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)