diff options
author | crupest <crupest@outlook.com> | 2022-11-27 09:55:21 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-27 09:55:21 +0800 |
commit | ab1c2b9ef7f4ce2daa61a58efc5abc97bd5a89f9 (patch) | |
tree | 23ff3de6e77fadd317f0cb1593a3e8fc93bfafd1 | |
parent | 0b4172f5e818a1562f021203c39a7e31fa21efe4 (diff) | |
download | crupest-ab1c2b9ef7f4ce2daa61a58efc5abc97bd5a89f9.tar.gz crupest-ab1c2b9ef7f4ce2daa61a58efc5abc97bd5a89f9.tar.bz2 crupest-ab1c2b9ef7f4ce2daa61a58efc5abc97bd5a89f9.zip |
Add backup log.
-rwxr-xr-x | docker/auto-backup/daemon.bash | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/auto-backup/daemon.bash b/docker/auto-backup/daemon.bash index 9098e94..e0c5edb 100755 --- a/docker/auto-backup/daemon.bash +++ b/docker/auto-backup/daemon.bash @@ -38,6 +38,8 @@ function backup { # remove tmp rm /tmp/data.tar.xz + echo "$destination" >> /data/backup.log + # echo "Backup finished!" in green and restore default echo -e "\e[0;102m\e[K\e[1mFinish backup!" "\e[0m" } |