Fix backup-borg repository initialization for borgmatic 1.7+ (or borg 2.0)

This commit is contained in:
Slavi Pantaleev 2022-12-05 14:56:38 +02:00
parent 1f1a3dfc38
commit 64b03c2dfd

View File

@ -31,7 +31,7 @@ ExecStartPre=-{{ devture_systemd_docker_base_host_command_docker }} run --rm --n
{{ arg }} \ {{ arg }} \
{% endfor %} {% endfor %}
{{ matrix_backup_borg_docker_image }} \ {{ matrix_backup_borg_docker_image }} \
sh -c "borgmatic --init --encryption {{ matrix_backup_borg_encryption }}" sh -c "borgmatic rcreate --encryption {{ matrix_backup_borg_encryption }}"
ExecStart={{ devture_systemd_docker_base_host_command_docker }} run --rm --name matrix-backup-borg \ ExecStart={{ devture_systemd_docker_base_host_command_docker }} run --rm --name matrix-backup-borg \
--log-driver=none \ --log-driver=none \