Sie sind nicht angemeldet.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
:@ECHO OFF SETLOCAL SET _source=C:\DEINE_QUELLE\ SET _dest=Z:\DEIN_ZIEL\ SET _what=/S /ETA /XO :: /S :: Copies subdirectories (excluding empty ones).. :: /ETA :: Shows estimated time of completion for copied files. :: /XO :: Excludes Older files. SET _options=/R:0 /W:0 /LOG:RoboCopy.log /TEE :: /R:n :: number of Retries :: /W:n :: Wait time between retries :: /LOG :: Output log file :: /TEE :: Displays output in the console window, in addition to directing it to the log file specified by /LOG or /LOG+. ROBOCOPY %_source% %_dest% %_what% %_options% |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »zigzag« (10. Februar 2009, 10:01)
Wenn ich nämlich jetzt nach diesem "Full Backup" mit robocopy und der Option /A darüber gehe, wird (fast) der ganze Inhalt der 1TB HDD noch mal kopiert.
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »zigzag« (10. Februar 2009, 14:35)
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »zigzag« (10. Februar 2009, 20:15)
Quellcode |
|
1 2 3 4 5 6 7 |
@echo off set dateneu=%date:~6,4%-%date:~3,2%-%date:~0,2% d: attrib /S -A s: robocopy D:\ S:\Backup\ /mir /R:3 /TEE /W:5 /LOG:Full_%dateneu%.txt /NP pause |
Quellcode |
|
1 2 3 4 5 6 7 |
@echo off set dateneu=%date:~6,4%-%date:~3,2%-%date:~0,2% echo %dateneu% mkdir %dateneu% attrib %dateneu% /S -S -H -R robocopy D:\ S:\%dateneu%\ /R:3 /TEE /W:5 /LOG:Diff_%dateneu%.txt /NP /A /S pause |
-