90530
Aug 20, 2012, updated at 09:46:19 (UTC)
4620
4
0
Robocopy und 2 Logfilespeicherorte
Guten Morgen an @all,
ich sichere meine Daten von einem Windows-Server auf eine Qnap-NAS.
Jetzt möchte ich ein Logfile auf dem Windowsserver c:\ haben und auf der Qnap unter root, also 2x das gleiche Logfile an 2 unterschiedlichen Orten.
Meine Batch sieht momentan so aus:
Vielen Dank
ich sichere meine Daten von einem Windows-Server auf eine Qnap-NAS.
Jetzt möchte ich ein Logfile auf dem Windowsserver c:\ haben und auf der Qnap unter root, also 2x das gleiche Logfile an 2 unterschiedlichen Orten.
Meine Batch sieht momentan so aus:
robocopy.exe "%quelle%" "%ziel%" /NDL /NFL /S /MIR /DCOPY:T /COPY:DT /NP /R:1 /W:3 /FFT /XD "System Volume Information" > "c:\qnap_robo.txt"
Vielen Dank
Please also mark the comments that contributed to the solution of the article
Content-Key: 189829
Url: https://administrator.de/contentid/189829
Printed on: April 19, 2024 at 13:04 o'clock
4 Comments
Latest comment
Hallo termito!
Abgesehen von der Möglichkeit, das Log nach Ende des Backups einfach zu kopieren, sollte ja auch einfach etwas in der Art
möglich sein ...
Grüße
bastla
Abgesehen von der Möglichkeit, das Log nach Ende des Backups einfach zu kopieren, sollte ja auch einfach etwas in der Art
robocopy.exe "%quelle%" "%ziel%" /NDL /NFL /S /MIR /DCOPY:T /COPY:DT /NP /R:1 /W:3 /FFT /XD "System Volume Information" /LOG:c:\qnap_robo.txt /TEE >\\172.30.31.77\nas\qnap_robo.txt
Grüße
bastla