From 246257ee63be555b350d07a4448dd2a12b53b40d Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 18 Mar 2021 09:14:55 +0100 Subject: [PATCH] Bugfix: log --- fileserver-hdds.ps1 | 16 ++++++++-------- laptop-ssd.ps1 | 6 +++--- nas_papa-hdds.ps1 | 12 ++++++------ 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/fileserver-hdds.ps1 b/fileserver-hdds.ps1 index e9a284e..f56ab3d 100644 --- a/fileserver-hdds.ps1 +++ b/fileserver-hdds.ps1 @@ -47,11 +47,11 @@ if ($hostname_ist -eq $hostname_soll) Exit 1 } -robocopy $quelle1 $ziel1 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle1.log" /XD "\\fileserver2.grote.lan\mg\Programme\Spiele - nicht gesichert" -robocopy $quelle2 $ziel2 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle2.log" -robocopy $quelle3 $ziel3 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle3.log" -robocopy $quelle4 $ziel4 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle4.log" -robocopy $quelle5 $ziel5 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle5.log" -robocopy $quelle6 $ziel6 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle6.log" -robocopy $quelle7 $ziel7 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle7.log" -robocopy $quelle8 $ziel8 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle8.log" +robocopy $quelle1 $ziel1 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" /XD "\\fileserver2.grote.lan\mg\Programme\Spiele - nicht gesichert" +robocopy $quelle2 $ziel2 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle3 $ziel3 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle4 $ziel4 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle5 $ziel5 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle6 $ziel6 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle7 $ziel7 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle8 $ziel8 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" diff --git a/laptop-ssd.ps1 b/laptop-ssd.ps1 index 89b6537..cc2f2c6 100644 --- a/laptop-ssd.ps1 +++ b/laptop-ssd.ps1 @@ -37,6 +37,6 @@ if ($hostname_ist -eq $hostname_soll) } -robocopy $quelle1 $ziel1 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle1.log" -robocopy $quelle2 $ziel2 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle2.log" -robocopy $quelle3 $ziel3 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle3.log" +robocopy $quelle1 $ziel1 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle2 $ziel2 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle3 $ziel3 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" diff --git a/nas_papa-hdds.ps1 b/nas_papa-hdds.ps1 index 848ddb3..7d09dea 100644 --- a/nas_papa-hdds.ps1 +++ b/nas_papa-hdds.ps1 @@ -43,9 +43,9 @@ if ($hostname_ist -eq $hostname_soll) Exit 1 } -robocopy $quelle1 $ziel1 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle1.log" -robocopy $quelle2 $ziel2 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle2.log" -robocopy $quelle3 $ziel3 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle3.log" -robocopy $quelle4 $ziel4 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle4.log" -robocopy $quelle5 $ziel5 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle5.log" -robocopy $quelle6 $ziel6 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle6.log" +robocopy $quelle1 $ziel1 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle2 $ziel2 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle3 $ziel3 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle4 $ziel4 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle5 $ziel5 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log" +robocopy $quelle6 $ziel6 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp.log"