added mariadb dump to backup

This commit is contained in:
=
2022-11-04 09:10:35 +01:00
parent 38fbe9613f
commit 0a0f8558fe
5 changed files with 90 additions and 1 deletions

View File

@@ -40,7 +40,12 @@ restic backup \
--exclude="/home/*/Nextcloud" \
--exclude="/home/*/git" \
--verbose \
{% if pillar.podman is defined %}{{ salt['cmd.run']('podman info -f "{{.Store.VolumePath}}"', runas=pillar.podman.user ) }} \{% endif %}
{%- if pillar.podman is defined %}
{{ salt['cmd.run']('podman info -f "{{.Store.VolumePath}}"', runas=pillar.podman.user ) }} \
{%- endif %}
{%- if pillar.containers.mariadb is defined %}
{{ pillar.containers.mariadb.backup_dir }} \
{%- endif %}
/etc \
/root \
/home