Skip to content
Snippets Groups Projects
Commit 48d8c790 authored by MyIgel's avatar MyIgel :fire:
Browse files

backup influx

parent 2fd1ab76
No related branches found
No related tags found
No related merge requests found
Pipeline #44848 failed
---
{% import 'restic/init.sls' as restic %}
include:
- ferm
- common.python
......@@ -90,3 +91,8 @@ influxdb_database_{{ name }}:
- service: influxdb.service
- pkg: python-influxdb
{% endfor %}
{# We should use the explicit backup here but the host has a small disk #}
{{ restic.path('influxdb', '/var/lib/influxdb/') }}
{#{ restic.cmd('influxdb', 'influxd backup -portable /var/lib/influxdb/backup') }#}
{#{ restic.path('influxdb', '/var/lib/influxdb/backup') }#}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment