Pfad zu Repo angepasst
This commit is contained in:
parent
de03758cbb
commit
e0b89081c2
5 changed files with 8 additions and 8 deletions
|
@ -8,7 +8,7 @@ $scriptpfad = Get-ScriptDirectory
|
|||
### pfad zu restic, wird mit & $pfad aufgerufen
|
||||
$pfad="C:\Users\mg\Desktop\NextCloud\code\restic\bin\restic.exe"
|
||||
### repository
|
||||
$repository="\\fileserver2.grote.lan\backup\restic"
|
||||
$repository="\\fileserver2.grote.lan\restic"
|
||||
### passwordfile
|
||||
$passwordfile="C:\Users\mg\Desktop\NextCloud\code\restic\config\password.txt"
|
||||
### exclude file
|
||||
|
|
|
@ -25,9 +25,9 @@ $scriptpfad = Get-ScriptDirectory # setzt den Pfad zum Script ohne endendes \
|
|||
$timestamp = get-timestamp # setzt den Zeitstempel
|
||||
$hostname_ist = $env:computername # ist-hostname
|
||||
$hostname_soll = "frida" # soll-hostname
|
||||
$restic_logfile_dir="\\fileserver2.grote.lan\backup\restic\logs" # ordner fur die logs
|
||||
$restic_logfile_dir="\\fileserver2.grote.lan\restic\logs" # ordner fur die logs
|
||||
$restic_logfile_name=-join($hostname_ist,"_",$timestamp,".log") # definiere logfile-dateiname
|
||||
$restic_repository="\\fileserver2.grote.lan\backup\restic" # restic repo
|
||||
$restic_repository="\\fileserver2.grote.lan\restic" # restic repo
|
||||
$restic_backupdir1="C:\Users\amd"
|
||||
$restic_backupdir2=""
|
||||
$restic_backupdir3=""
|
||||
|
|
|
@ -25,9 +25,9 @@ $scriptpfad = Get-ScriptDirectory # setzt den Pfad zum Script ohne endendes \
|
|||
$timestamp = get-timestamp # setzt den Zeitstempel
|
||||
$hostname_ist = $env:computername # ist-hostname
|
||||
$hostname_soll = "irantu" # soll-hostname
|
||||
$restic_logfile_dir="\\fileserver2.grote.lan\backup\restic\logs" # ordner fur die logs
|
||||
$restic_logfile_dir="\\fileserver2.grote.lan\restic\logs" # ordner fur die logs
|
||||
$restic_logfile_name=-join($hostname_ist,"_",$timestamp,".log") # definiere logfile-dateiname
|
||||
$restic_repository="\\fileserver2.grote.lan\backup\restic" # restic repo
|
||||
$restic_repository="\\fileserver2.grote.lan\restic" # restic repo
|
||||
$restic_backupdir1="C:\Users\mg"
|
||||
$restic_backupdir2="C:\Portable_Programme"
|
||||
$restic_backupdir3="C:\Users\mg\AppData\Roaming\Apple Computer\MobileSync"
|
||||
|
|
|
@ -25,9 +25,9 @@ $scriptpfad = Get-ScriptDirectory # setzt den Pfad zum Script ohne endendes \
|
|||
$timestamp = get-timestamp # setzt den Zeitstempel
|
||||
$hostname_ist = $env:computername # ist-hostname
|
||||
$hostname_soll = "win3" # soll-hostname
|
||||
$restic_logfile_dir="\\fileserver2.grote.lan\backup\restic\logs" # ordner fur die logs
|
||||
$restic_logfile_dir="\\fileserver2.grote.lan\restic\logs" # ordner fur die logs
|
||||
$restic_logfile_name=-join($hostname_ist,"_",$timestamp,".log") # definiere logfile-dateiname
|
||||
$restic_repository="\\fileserver2.grote.lan\backup\restic" # restic repo
|
||||
$restic_repository="\\fileserver2.grote.lan\restic" # restic repo
|
||||
$restic_backupdir1="C:\Users\mg\Desktop"
|
||||
$restic_path= Join-Path $scriptpfad bin\restic.exe
|
||||
|
||||
|
|
|
@ -12,6 +12,6 @@ $scriptpfad = Get-ScriptDirectory
|
|||
|
||||
#### restic ####
|
||||
### repository
|
||||
$repository="\\fileserver2.grote.lan\backup\restic"
|
||||
$repository="\\fileserver2.grote.lan\restic"
|
||||
|
||||
#C:\Users\mg\Desktop\NextCloud\Programme\restic\bin\restic.exe init --repo $repository
|
||||
|
|
Loading…
Add table
Reference in a new issue