Bandaid fix for s3 backups
This commit is contained in:
parent
bd08f8eec2
commit
43e446cfa2
@ -63,7 +63,7 @@ if [ -n "${DIRS[*]}" ]; then
|
|||||||
--exclude "{{ item }}" \
|
--exclude "{{ item }}" \
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
"${DIRS[@]}" \
|
"${DIRS[@]}" \
|
||||||
| aws s3 cp - \
|
| aws s3 cp --expected-size 274877906944 - \
|
||||||
"s3://{{ backup_s3_bucket }}/{{ inventory_hostname }}/$(date "+{{ backup_dateformat }}").tar.gz"
|
"s3://{{ backup_s3_bucket }}/{{ inventory_hostname }}/$(date "+{{ backup_dateformat }}").tar.gz"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user