diff options
author | crupest <crupest@outlook.com> | 2022-11-23 14:51:38 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-23 14:51:38 +0800 |
commit | 13b8e2c7080873e72fcc865df2151ae8d2693052 (patch) | |
tree | 02a3c2a6900ee2730c1973392d5cb5a736956145 /docker/auto-backup | |
parent | 6b3ab4943b8edb68aa44f7cbb9ad3ab22e7f4a00 (diff) | |
download | crupest-13b8e2c7080873e72fcc865df2151ae8d2693052.tar.gz crupest-13b8e2c7080873e72fcc865df2151ae8d2693052.tar.bz2 crupest-13b8e2c7080873e72fcc865df2151ae8d2693052.zip |
Fix rclone.
Diffstat (limited to 'docker/auto-backup')
-rwxr-xr-x | docker/auto-backup/daemon.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/auto-backup/daemon.bash b/docker/auto-backup/daemon.bash index e061992..afed6b5 100755 --- a/docker/auto-backup/daemon.bash +++ b/docker/auto-backup/daemon.bash @@ -32,7 +32,7 @@ function backup { # tar and xz /data to tmp tar -cJf /tmp/data.tar.xz -C / data - destination="$CRUPEST_AUTO_BACKUP_BUCKET_NAME/$current_time/data.tar.xz" + destination="mycos:$CRUPEST_AUTO_BACKUP_BUCKET_NAME/$current_time/data.tar.xz" echo "Use rclone to upload data to $destination ..." # upload to remote rclone --progress copyto /tmp/data.tar.xz "$destination" |