From 1f5cbd6061e2e156a95302f0bb352e6b21327c63 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 19 Nov 2024 17:19:54 +0000 Subject: [PATCH] Fixed uneeded output redirection on prune command. --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"