prod #1
|
@ -10,7 +10,7 @@ mv data* old
|
|||
backupdir="data-$(date -I)"
|
||||
mkdir -p $backupdir
|
||||
cd $backupdir
|
||||
sftp fileserver@cscherr.de < /usr/local/cron/sftp-commands.txt
|
||||
sftp fileserver@cscherr.de < /usr/local/cron/scripts/sftp-commands.txt
|
||||
status_download=$?
|
||||
echo "finished downloading from snowboard. Status: $status_download"
|
||||
borg check -v data/backup/borg/snowboard
|
||||
|
|
Loading…
Reference in New Issue