mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-22 13:44:08 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
142967135d | ||
|
|
1df66853fb |
12
CHANGELOG.md
12
CHANGELOG.md
@@ -1,3 +1,15 @@
|
||||
## 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>
|
||||
|
||||
### Added
|
||||
- Alpine 3.15 base
|
||||
|
||||
|
||||
## 2.9.2 2021-10-22 <teenigma@github>
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM docker.io/tiredofit/alpine:3.14
|
||||
FROM docker.io/tiredofit/alpine:3.15
|
||||
|
||||
### Set Environment Variables
|
||||
ENV MSSQL_VERSION=17.8.1.1-1 \
|
||||
|
||||
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
|
||||
|
||||
source /assets/functions/00-container
|
||||
|
||||
PROCESS_NAME="db-backup"
|
||||
|
||||
date >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user