Reihenfolge Quelle/Ziel
This commit is contained in:
parent
244276a2e0
commit
7cc5ae561e
2 changed files with 13 additions and 16 deletions
|
@ -19,23 +19,21 @@ $hostname_soll = "irantu"
|
||||||
|
|
||||||
# Ziele/Quellen
|
# Ziele/Quellen
|
||||||
$quelle1 ="\\fileserver2.grote.lan\mg\"
|
$quelle1 ="\\fileserver2.grote.lan\mg\"
|
||||||
$ziel1="$scriptpfad\backup\mg"
|
|
||||||
$quelle2 ="\\fileserver2.grote.lan\Musik\"
|
$quelle2 ="\\fileserver2.grote.lan\Musik\"
|
||||||
$ziel2="$scriptpfad\backup\Musik"
|
|
||||||
$quelle3 ="\\fileserver2.grote.lan\amd\"
|
$quelle3 ="\\fileserver2.grote.lan\amd\"
|
||||||
$ziel3="$scriptpfad\backup\amd"
|
|
||||||
$quelle4 ="\\fileserver2.grote.lan\backup\"
|
$quelle4 ="\\fileserver2.grote.lan\backup\"
|
||||||
$ziel4="$scriptpfad\backup\backup"
|
|
||||||
$quelle5 ="\\fileserver2.grote.lan\Videos\Filme - ueberragende"
|
$quelle5 ="\\fileserver2.grote.lan\Videos\Filme - ueberragende"
|
||||||
$ziel5="$scriptpfad\backup\Videos\Filme - ueberragende"
|
|
||||||
$quelle6 ="\\fileserver2.grote.lan\Videos\Serien - überragende"
|
$quelle6 ="\\fileserver2.grote.lan\Videos\Serien - überragende"
|
||||||
$ziel6="$scriptpfad\backup\Videos\Serien - ueberragende"
|
|
||||||
$quelle7 ="\\fileserver2.grote.lan\bilder"
|
$quelle7 ="\\fileserver2.grote.lan\bilder"
|
||||||
|
$quelle8 ="\\fileserver2.grote.lan\proxmox"
|
||||||
|
$ziel1="$scriptpfad\backup\mg"
|
||||||
|
$ziel2="$scriptpfad\backup\Musik"
|
||||||
|
$ziel3="$scriptpfad\backup\amd"
|
||||||
|
$ziel4="$scriptpfad\backup\backup"
|
||||||
|
$ziel5="$scriptpfad\backup\Videos\Filme - ueberragende"
|
||||||
|
$ziel6="$scriptpfad\backup\Videos\Serien - ueberragende"
|
||||||
$ziel7="$scriptpfad\backup\bilder"
|
$ziel7="$scriptpfad\backup\bilder"
|
||||||
$quelle8 =""
|
$ziel8="$scriptpfad\backup\proxmox"
|
||||||
$ziel8=""
|
|
||||||
$quelle9 ="\\fileserver2.grote.lan\proxmox"
|
|
||||||
$ziel9="$scriptpfad\backup\proxmox"
|
|
||||||
|
|
||||||
# Hostname prüfen
|
# Hostname prüfen
|
||||||
if ($hostname_ist -eq $hostname_soll)
|
if ($hostname_ist -eq $hostname_soll)
|
||||||
|
@ -57,4 +55,3 @@ robocopy $quelle5 $ziel5 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timest
|
||||||
robocopy $quelle6 $ziel6 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle6.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 $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 $quelle8 $ziel8 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle8.log"
|
||||||
robocopy $quelle9 $ziel9 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\$timestamp_$quelle9.log"
|
|
||||||
|
|
|
@ -19,16 +19,16 @@ $hostname_soll = "andreasgrote"
|
||||||
|
|
||||||
# Ziele/Quellen
|
# Ziele/Quellen
|
||||||
$quelle1 ="\\nas.local\backup\"
|
$quelle1 ="\\nas.local\backup\"
|
||||||
$ziel1="$scriptpfad\backup\backup"
|
|
||||||
$quelle2 ="\\nas.local\bilder\"
|
$quelle2 ="\\nas.local\bilder\"
|
||||||
$ziel2="$scriptpfad\backup\bilder"
|
|
||||||
$quelle3 ="\\nas.local\dokumente\"
|
$quelle3 ="\\nas.local\dokumente\"
|
||||||
$ziel3="$scriptpfad\backup\dokumente"
|
|
||||||
$quelle4 ="\\nas.local\musik\"
|
$quelle4 ="\\nas.local\musik\"
|
||||||
$ziel4="$scriptpfad\backup\musik"
|
|
||||||
$quelle5 ="\\nas.local\videos"
|
$quelle5 ="\\nas.local\videos"
|
||||||
$ziel5="$scriptpfad\backup\videos"
|
|
||||||
$quelle6 ="\\nas.local\rest"
|
$quelle6 ="\\nas.local\rest"
|
||||||
|
$ziel1="$scriptpfad\backup\backup"
|
||||||
|
$ziel2="$scriptpfad\backup\bilder"
|
||||||
|
$ziel3="$scriptpfad\backup\dokumente"
|
||||||
|
$ziel4="$scriptpfad\backup\musik"
|
||||||
|
$ziel5="$scriptpfad\backup\videos"
|
||||||
$ziel6="$scriptpfad\backup\rest"
|
$ziel6="$scriptpfad\backup\rest"
|
||||||
|
|
||||||
# Hostname prüfen
|
# Hostname prüfen
|
||||||
|
|
Loading…
Reference in a new issue