From: Bastian Dehn Date: Sun, 31 Dec 2017 11:23:41 +0000 (+0100) Subject: add: savelog X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=03f8c39584e7445f31c7de19efafac94bc065f50;p=simple-backup.git add: savelog --- diff --git a/backup-einfach b/backup-einfach index 2e36d45..370b8ae 100755 --- a/backup-einfach +++ b/backup-einfach @@ -28,7 +28,8 @@ BackupPathes() { printf " wird gesichert\n\n" logFile="$backRemotePCPath/backup-$(echo $pfad \ - | sed 's/\//-/g').log" + | sed 's/\//-/g').log" + savelog -nJ9 -c 20 $logFile rsync --archive --verbose --sparse --acls --hard-links \ --relative --human-readable --delete \ diff --git a/restore b/restore index 3d550f0..f755ccd 100755 --- a/restore +++ b/restore @@ -45,6 +45,8 @@ RestoreData() { printf "von der Sicherung vom %s\n" $datum printfStripLine + savelog -nJ9 $backpath/restore-*.log + rsync --archive --verbose --sparse --acls --hard-links \ --human-readable \ --log-file $backpath/restore-$(date +%Y-%m-%d).log \ diff --git a/restore-einfach b/restore-einfach index 53029cf..a2985ac 100755 --- a/restore-einfach +++ b/restore-einfach @@ -40,6 +40,8 @@ RestoreData() { printf "Rechner: %s\n" $rechner printfStripLine + savelog -nJ9 $backpath/restore-*.log + rsync --archive --verbose --sparse --acls --hard-links \ --human-readable \ --log-file $backpath/restore-einfach-$(date +%Y-%m-%d).log \