Here is an Afterbackup.bat file that will make a daily backup of ConfigMgr Backup, so that you have a full week of backups.

::: Created Garth Jones Jan 13 2011
::: —–
REM @echo off

setlocal enabledelayedexpansion

set target=\\\D$\sccmbackup\%date:~0,3%

If not exist %target% goto datacopy
RD %target% /s /q
xcopy “D:\sccmbak\*” “%target%\” /E /-Y

Leave a Reply

Your email address will not be published. Required fields are marked *