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 | 4ada54e108a34d480a5ec7d0735e00426a93ded2 (patch) | |
tree | 05f0fc3e370bc5add106d44c09148dc6a9c03b4c /docker | |
parent | 77b1e81ea3f75db769e545c176cf7aa98d6ff3e2 (diff) | |
download | crupest-4ada54e108a34d480a5ec7d0735e00426a93ded2.tar.gz crupest-4ada54e108a34d480a5ec7d0735e00426a93ded2.tar.bz2 crupest-4ada54e108a34d480a5ec7d0735e00426a93ded2.zip |
Fix rclone output.
Diffstat (limited to 'docker')
-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 |