Newsflash

Neue Versionen bieten optimierten Datenschutz, Business Continuity und Disaster Recovery
 
NTBackup Batch PDF Drucken

rem Backup Batch
rem 03-12-98 (ap)
rem Sicherung per AT 24:00 Nachts

net time \\st10 /set /yes
rdisk /s-

copy "c:\program files\ntbackup\log\NTBAC_C_ST01.TXT" "c:\program files\ntbackup\log\NTBAC_C_ST01_alt.TXT"
copy "c:\program files\ntbackup\log\NTBAC_D_ST01.TXT" "c:\program files\ntbackup\log\NTBAC_D_ST01_alt.TXT"

del "c:\program files\ntbackup\log\NTBAC_C_ST01.TXT"
del "c:\program files\ntbackup\log\NTBAC_D_ST01.TXT"

ntbackup backup D:\ /hc:on /e /t normal /v /d "ST01 Data" /l"c:\program files\ntbackup\log\NTBAC_D_ST01.TXT"
ntbackup backup C:\ /hc:on /a /e /t normal /v /d "ST01 System" /b /l"c:\program files\ntbackup\log\NTBAC_C_ST01.TXT"

MAPISEND -u "Microsoft Outlook" -p passwort -r recipient -s "[EST ST01] BackupLog" -f "\\st01\c$\program files\ntbackup\log\NTBAC_C_ST01.TXT;\\st01\c$\program files\ntbackup\log\NTBAC_D_ST01.TXT"
MAPISEND -u "Microsoft Outlook" -p passwort -r recipient -s "[EST ST02] BackupLog" -f "\\st02\c$\program files\ntbackup\log\NTBAC_C_ST02.TXT;\\st02\c$\program files\ntbackup\log\NTBAC_D_ST02.TXT"
MAPISEND -u "Microsoft Outlook" -p passwort -r recipient -s "[EST ST10] BackupLog" -f "\\st02\c$\program files\ntbackup\log\NTBAC_D_EXCH_DS_st10.TXT;\\st02\c$\program files\ntbackup\log\NTBAC_D_EXCH_IS_st10.TXT"

REM mapisend -u "Profil-Name" -p Paßwort -r Empfänger -s Betreff Backup.logs -f "C:\file_1.txt;file_2.txt"

 
< Zurück   Weiter >