neuer Ordner ergänzt
This commit is contained in:
parent
986925efaf
commit
dc5e3bb5df
1 changed files with 18 additions and 6 deletions
|
@ -19,30 +19,39 @@ $hostname_soll = "irantu"
|
|||
|
||||
|
||||
# Ziele/Quellen
|
||||
$quelle1 ="\\fileserver2.grote.lan\mg"
|
||||
$quelle1 ="\\fileserver2.grote.lan\buecher"
|
||||
$quelle2 ="\\fileserver2.grote.lan\Musik"
|
||||
$quelle3 ="\\fileserver2.grote.lan\amd"
|
||||
$quelle4 ="\\fileserver2.grote.lan\backup"
|
||||
$quelle5 ="\\fileserver2.grote.lan\archiv"
|
||||
$quelle6 =""
|
||||
$quelle6 ="\\fileserver2.grote.lan\programme"
|
||||
$quelle7 ="\\fileserver2.grote.lan\bilder"
|
||||
$quelle8 ="\\fileserver2.grote.lan\proxmox"
|
||||
$quelle1_name= "mg"
|
||||
$quelle9 ="\\fileserver2.grote.lan\vm"
|
||||
$quelle10 ="\\fileserver2.grote.lan\hm"
|
||||
$quelle11 ="\\fileserver2.grote.lan\tmp"
|
||||
$quelle1_name= "buecher"
|
||||
$quelle2_name= "musik"
|
||||
$quelle3_name= "amd"
|
||||
$quelle4_name= "backup"
|
||||
$quelle5_name= "archiv"
|
||||
$quelle6_name= ""
|
||||
$quelle6_name= "programme"
|
||||
$quelle7_name= "bilder"
|
||||
$quelle8_name= "proxmox"
|
||||
$ziel1="$scriptpfad\backup\mg"
|
||||
$quelle9_name= "vm"
|
||||
$quelle10_name= "hm"
|
||||
$quelle11_name= "tmp"
|
||||
$ziel1="$scriptpfad\backup\buecher"
|
||||
$ziel2="$scriptpfad\backup\Musik"
|
||||
$ziel3="$scriptpfad\backup\amd"
|
||||
$ziel4="$scriptpfad\backup\backup"
|
||||
$ziel5="$scriptpfad\backup\archiv"
|
||||
$ziel6=""
|
||||
$ziel6="$scriptpfad\backup\programme"
|
||||
$ziel7="$scriptpfad\backup\bilder"
|
||||
$ziel8="$scriptpfad\backup\proxmox"
|
||||
$ziel9="$scriptpfad\backup\vm"
|
||||
$ziel10="$scriptpfad\backup\hm"
|
||||
$ziel11="$scriptpfad\backup\tmp"
|
||||
|
||||
# Hostname prüfen
|
||||
if ($hostname_ist -eq $hostname_soll)
|
||||
|
@ -71,3 +80,6 @@ robocopy $quelle5 $ziel5 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$
|
|||
robocopy $quelle6 $ziel6 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle6_name.log"
|
||||
robocopy $quelle7 $ziel7 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle7_name.log"
|
||||
robocopy $quelle8 $ziel8 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle8_name.log"
|
||||
robocopy $quelle9 $ziel9 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle9_name.log"
|
||||
robocopy $quelle10 $ziel10 /MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle10_name.log"
|
||||
robocopy $quelle11 $ziel811/MIR /R:3 /W:10 /DST /TEE /UNILOG+:"$scriptpfad\logs\$timestamp-$quelle11_name.log"
|
||||
|
|
Loading…
Reference in a new issue