Bandaid fix for s3 backups

This commit is contained in:
Salt 2022-12-19 17:10:10 -06:00
parent bd08f8eec2
commit 43e446cfa2

View File

@ -63,7 +63,7 @@ if [ -n "${DIRS[*]}" ]; then
--exclude "{{ item }}" \
{% endfor %}
"${DIRS[@]}" \
| aws s3 cp - \
| aws s3 cp --expected-size 274877906944 - \
"s3://{{ backup_s3_bucket }}/{{ inventory_hostname }}/$(date "+{{ backup_dateformat }}").tar.gz"
fi