Skip to content

Commit

Permalink
Add --no-overwrite to blobxfer download
Browse files Browse the repository at this point in the history
  • Loading branch information
effectivelywild committed Jun 30, 2024
1 parent 4786ea9 commit 0d23c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/assets/functions/10-db-backup
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ EOF
write_log warn "Variable _BLOBXFER_STORAGE_ACCOUNT or _BLOBXFER_STORAGE_ACCOUNT_KEY is not set. Skipping blobxfer functions"
else
write_log info "Synchronize local storage from blob container with blobxfer"
${play_fair} blobxfer download --mode ${backup_job_blobxfer_mode} --remote-path ${backup_job_blobxfer_remote_path} --storage-account ${backup_job_blobxfer_storage_account} --storage-account-key ${backup_job_blobxfer_storage_account_key} --local-path ${backup_job_filesystem_path} --restore-file-lmt --delete
${play_fair} blobxfer download --no-overwrite --mode ${backup_job_blobxfer_mode} --remote-path ${backup_job_blobxfer_remote_path} --storage-account ${backup_job_blobxfer_storage_account} --storage-account-key ${backup_job_blobxfer_storage_account_key} --local-path ${backup_job_filesystem_path} --restore-file-lmt --delete

write_log info "Moving backup to external storage with blobxfer"
mkdir -p "${backup_job_filesystem_path}"
Expand Down

0 comments on commit 0d23c26

Please sign in to comment.