Expected behaviour in currect product architecture. Schedule backups on system shutdown.
Symptoms
- In your backup plan you specify the shutdown command shutdown /s in post-backup commands.
- You add other tasks to your plan like backup replication, retention rules, sending e-mail notifications etc.
- Machine is turned off after backup, none of the subsequent operations is executed.
- Backup plan finishes successfully.
Cause
This is expected behaviour in current product architecture, see Web Help: Sequence of operations in a backup plan. Post-backup commands are executed after backup before other tasks.
Solution
Enable "Wait for task completion" in the Additional settings of the Machine options (on the Agent machine go to Options -> Machine options -> Additional Settings -> enable "Wait for task completion" in "Specify what to do if the machine is about to be shut down while a task is running section").
You can also schedule backup on system shutdown.
More information
See also Web Help: Scheduling backups.