fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


microsoft:allgemeines:robocopy

Robocopy

https://technet.microsoft.com/de-de/library/cc733145(v=ws.10).aspx

/MIR = mirror

start_backup.cmd
set CURRENTTIME=%TIME%
set FILEDATE=%DATE:~6,4%%DATE:~3,2%%DATE:~0,2%
set LOGFILE=backup_%DATE:~6,4%%DATE:~3,2%%DATE:~0,2%
 
echo Sicherung gestartet: >> sicherung.log
echo %date:~0% - %time:~0,8% Uhr >> sicherung.log
 
mkdir \\10.0.0.3\Backup-Data\backup_%ARCHIVNAME%
 
c:\windows\system32\robocopy.exe d:\daten \\10.0.0.3\Backup-Data\backup_%ARCHIVNAME% /MIR /log+:sicherung.log /nfl /ndl
echo Sicherung beendet: >> sicherung.log
echo %date:~0% - %time:~0,8% Uhr >> sicherung.log
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.  More information about cookies 
microsoft/allgemeines/robocopy.txt · Last modified: 2024/02/17 19:03 by 127.0.0.1