Fixed uneeded output redirection on prune command.
This commit is contained in:
parent
c21f9d4cc7
commit
1f5cbd6061
1 changed files with 1 additions and 1 deletions
|
@ -5,5 +5,5 @@ cd ${BACKUP_ROOT}
|
||||||
date +"%h %e %T $HOSTNAME restic $$[$BASHPID]: Starting backup"
|
date +"%h %e %T $HOSTNAME restic $$[$BASHPID]: Starting backup"
|
||||||
restic backup --exclude-file /etc/restic/excludes.txt .
|
restic backup --exclude-file /etc/restic/excludes.txt .
|
||||||
date +"%h %e %T $HOSTNAME restic $$[$BASHPID]: Pruning old files"
|
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"
|
date +"%h %e %T $HOSTNAME restic $$[$BASHPID]: Backup complete"
|
||||||
|
|
Loading…
Reference in a new issue