Fix backups failing

WHOOPSIE
This commit is contained in:
Salt 2020-12-30 18:06:13 -06:00
parent 198722b71e
commit d8640bae9b

View File

@ -55,7 +55,7 @@ nice -n 10 tar {{ backup_s3backup_tar_args }}{{ backup_s3backup_tar_args_extra }
{% for item in backup_s3backup_exclude_list + backup_s3backup_exclude_list_extra %} {% for item in backup_s3backup_exclude_list + backup_s3backup_exclude_list_extra %}
--exclude "{{ item }}" \ --exclude "{{ item }}" \
{% endfor %} {% endfor %}
"${DIRS[@]" \ "${DIRS[@]}" \
| aws s3 cp - \ | aws s3 cp - \
"s3://{{ backup_s3_bucket }}/{{ inventory_hostname_short }}/$(date "+{{ backup_dateformat }}").tar.gz" "s3://{{ backup_s3_bucket }}/{{ inventory_hostname_short }}/$(date "+{{ backup_dateformat }}").tar.gz"