Update dump format
This commit is contained in:
parent
ed0aa82b87
commit
de417427f0
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ ExecStart={{ restic_path }} backup --verbose {{ folder.path }} {{ folder.exclude
|
|||
{% endfor -%}
|
||||
|
||||
{% for database in restic_databases %}
|
||||
ExecStart=/bin/sh -c "{{ database.dump_command }} {{ '| pigz |' if restic_dump_compression_enabled else '|' }} {{ restic_path }} backup --verbose --stdin --stdin-filename {{ database.name }}{{ '.sql.gz' if restic_dump_compression_enabled else '.sql' }}"
|
||||
ExecStart=/bin/sh -c "{{ database.dump_command }} {{ '| pigz |' if restic_dump_compression_enabled else '|' }} {{ restic_path }} backup --verbose --stdin --stdin-filename {{ database.name }}{{ '.dump.gz' if restic_dump_compression_enabled else '.dump' }}"
|
||||
{% endfor -%}
|
||||
|
||||
{% if restic_forget %}
|
||||
|
|
Loading…
Reference in a new issue