mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-22 13:44:08 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
142967135d |
@@ -1,3 +1,9 @@
|
|||||||
|
## 2.9.4 2021-12-07 <dave at tiredofit dot ca>
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- Add Zabbix auto register support for templates
|
||||||
|
|
||||||
|
|
||||||
## 2.9.3 2021-11-24 <dave at tiredofit dot ca>
|
## 2.9.3 2021-11-24 <dave at tiredofit dot ca>
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
15
install/etc/cont-init.d/10-db-backup
Executable file
15
install/etc/cont-init.d/10-db-backup
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
source /assets/functions/00-container
|
||||||
|
prepare_service single
|
||||||
|
PROCESS_NAME="monitoring"
|
||||||
|
output_off
|
||||||
|
|
||||||
|
if var_true "${CONTAINER_ENABLE_MONITORING}" && [ "${CONTAINER_MONITORING_BACKEND,,}" = "zabbix" ]; then
|
||||||
|
source /assets/defaults/03-monitoring
|
||||||
|
cat <<EOF > "${ZABBIX_CONFIG_PATH}"/"${ZABBIX_CONFIG_FILE}.d"/tiredofit_dbbackup.conf
|
||||||
|
# Zabbix DB Backup Configuration - Automatically Generated
|
||||||
|
# Find Companion Zabbix Server Templates at https://github.com/tiredofit/docker-dbbackup
|
||||||
|
# Autoregister=dbbackup
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
source /assets/functions/00-container
|
source /assets/functions/00-container
|
||||||
|
|
||||||
PROCESS_NAME="db-backup"
|
PROCESS_NAME="db-backup"
|
||||||
|
|
||||||
date >/dev/null
|
date >/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user