Skip to content

Set s3cmd to stop right away on error when syncing dirs

DJ Mountney requested to merge backup-stop-on-error into master

Otherwise if will continue synching files, then fail at the end. Which for backup/restore is a waste of time and bandwidth.

Decided to add the flag only for dir syncs, and not for syncing the backup tar, as it would have very little impact for a single file.

Fixes: https://gitlab.com/charts/gitlab/issues/1383

Merge request reports