diff --git a/server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java b/server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java index c6bc5129857..7ce62804619 100644 --- a/server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java +++ b/server/src/com/cloud/storage/snapshot/SnapshotSchedulerImpl.java @@ -337,6 +337,11 @@ public class SnapshotSchedulerImpl implements SnapshotScheduler { @Override @DB public boolean start() { + // reschedule all policies after management restart + List policyInstances = _snapshotPolicyDao.listAll(); + for( SnapshotPolicyVO policyInstance : policyInstances) { + scheduleNextSnapshotJob(policyInstance); + } if (_testTimerTask != null) { _testClockTimer = new Timer("TestClock"); // Run the test clock every 60s. Because every tick is counted as 1 minute.