diff options
author | crupest <crupest@outlook.com> | 2022-11-23 14:58:13 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-23 14:58:13 +0800 |
commit | 6246b1b073858e1d6766f36413b843b99f1159ef (patch) | |
tree | 05f0fc3e370bc5add106d44c09148dc6a9c03b4c /docker/auto-backup/daemon.bash | |
parent | 13b8e2c7080873e72fcc865df2151ae8d2693052 (diff) | |
download | crupest-6246b1b073858e1d6766f36413b843b99f1159ef.tar.gz crupest-6246b1b073858e1d6766f36413b843b99f1159ef.tar.bz2 crupest-6246b1b073858e1d6766f36413b843b99f1159ef.zip |
Fix rclone output.
Diffstat (limited to 'docker/auto-backup/daemon.bash')
-rwxr-xr-x | docker/auto-backup/daemon.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/auto-backup/daemon.bash b/docker/auto-backup/daemon.bash index afed6b5..50b14df 100755 --- a/docker/auto-backup/daemon.bash +++ b/docker/auto-backup/daemon.bash @@ -32,10 +32,10 @@ function backup { # tar and xz /data to tmp tar -cJf /tmp/data.tar.xz -C / data - destination="mycos:$CRUPEST_AUTO_BACKUP_BUCKET_NAME/$current_time/data.tar.xz" + destination="mycos:$CRUPEST_AUTO_BACKUP_BUCKET_NAME/$current_time.tar.xz" echo "Use rclone to upload data to $destination ..." # upload to remote - rclone --progress copyto /tmp/data.tar.xz "$destination" + rclone -v copyto /tmp/data.tar.xz "$destination" echo "Remove tmp file..." # remove tmp |