Skip to content

Commit e021c7c

Browse files
committed
WIP: a small workaround
Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
1 parent 26b5bcb commit e021c7c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ echo "End backup"
2626

2727
## copy to destination
2828
echo "Copy to gcs"
29-
rclone copy "./${BACKUP_FILE}" "storage://${STORAGE_BUCKET}/${DB_NAME}/${BACKUP_FILE}"
30-
rclone copy "./${BACKUP_FILE}" "storage://${STORAGE_BUCKET}/${DB_NAME}/${BACKUP_FILE_LATEST}"
29+
rclone copyto "./${BACKUP_FILE}" "storage://${STORAGE_BUCKET}/${DB_NAME}/${BACKUP_FILE}"
30+
rclone copyto "./${BACKUP_FILE}" "storage://${STORAGE_BUCKET}/${DB_NAME}/${BACKUP_FILE_LATEST}"
3131

3232
END_TIMESTAMP=$(date +%s)
3333
BACKUP_DURATION=$((END_TIMESTAMP - START_TIMESTAMP))

0 commit comments

Comments
 (0)