The AfterBackup.bat file is used to perform post-backup actions automatically after the Backup Site Server maintenance task runs successfully. By default, the AfterBackup.bat batch file does not exist. To use it, you must create the file and add commands.

The AfterBackup.bat file is used most commonly to archive the backup snapshot to a secure location.

To create the AfterBackup.bat batch file

  1. Prepare an ASCII file with commands that archive your backup snapshot, run a third-party archive tool, or perform any other post-backup tasks your site requires.

  2. Name the file AfterBackup.bat, and save it in the <ConfigMgrInstallPath>\inboxes\ folder.

See Also