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 | 99012b7b504831a6f40da954ef2f69fede3a612e (patch) | |
| tree | 23ff3de6e77fadd317f0cb1593a3e8fc93bfafd1 /docker | |
| parent | 8e0ab73e1f4dec486ed4cebbb9637c078a060943 (diff) | |
| download | crupest-99012b7b504831a6f40da954ef2f69fede3a612e.tar.gz crupest-99012b7b504831a6f40da954ef2f69fede3a612e.tar.bz2 crupest-99012b7b504831a6f40da954ef2f69fede3a612e.zip | |
Add backup log.
Diffstat (limited to 'docker')
| -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"  } | 
