mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-26 15:55:56 +02:00
Update to 2022-04-04 14:00
This commit is contained in:
5
roles/zabbix_proxy/templates/post-backup.j2
Normal file
5
roles/zabbix_proxy/templates/post-backup.j2
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
rm -f /home/lbkp/zabbix/proxy.sql.zst
|
6
roles/zabbix_proxy/templates/pre-backup.j2
Normal file
6
roles/zabbix_proxy/templates/pre-backup.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
mkdir -p /home/lbkp/zabbix/
|
||||
sqlite3 /var/lib/zabbix/db/proxy.sqlite .dump | zstd -c > /home/lbkp/zabbix/proxy.sql.zst
|
Reference in New Issue
Block a user