diff --git a/backup.sh b/backup.sh index 70bd721..d03b9a7 100755 --- a/backup.sh +++ b/backup.sh @@ -5,5 +5,5 @@ cd ${BACKUP_ROOT} date +"%h %e %T $HOSTNAME restic $$[$BASHPID]: Starting backup" restic backup --exclude-file /etc/restic/excludes.txt . date +"%h %e %T $HOSTNAME restic $$[$BASHPID]: Pruning old files" -restic prune >> /var/log/restic.log +restic prune date +"%h %e %T $HOSTNAME restic $$[$BASHPID]: Backup complete"