E14– Windows Server Backup on DAG–Part1–Overview
1.
2. Separate batch for week days Mon, Wed & Fri/ Sun, Tue, Thu, Sat
3. Review the batch
echo off For /f "tokens=1-3 delims=/ " %%a in ('date /t') do (set date=%%a-%%b-%%c) Rem ================================== Rem ================================== Rem ================================== Rem ================================== echo. Start:%date% %time% >> %backuplog% Rem ================================== rem pause For /f "tokens=1-3 delims=/ " %%a in ('date /t') do (set date=%%a-%%b-%%c) echo. Start:%date% %time% >> %backuplog% Rem ================================== |
Comments
Post a Comment