Print backup logs to console so they can be previewed
This commit is contained in:
parent
48b0335071
commit
aab1ddf62c
@ -5,6 +5,7 @@ original_dir=$(pwd)
|
||||
source ./vars.sh
|
||||
cd "$original_dir"
|
||||
|
||||
(
|
||||
./mount.sh &
|
||||
RESTIC_PID=$!
|
||||
|
||||
@ -53,3 +54,4 @@ kill -SIGINT $RESTIC_PID
|
||||
umount /mnt/restic
|
||||
|
||||
echo "DONE"
|
||||
) >"/var/log/backup-restore-$(date +%s).log"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user