mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-22 05:33:53 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c81d8e2713 |
@@ -1,3 +1,9 @@
|
|||||||
|
## 2.8.1 2021-09-01 <dave at tiredofit dot ca>
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Modernize image with updated environment varialbes from upstream
|
||||||
|
|
||||||
|
|
||||||
## 2.8.0 2021-08-27 <dave at tiredofit dot ca>
|
## 2.8.0 2021-08-27 <dave at tiredofit dot ca>
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -2,10 +2,10 @@ FROM tiredofit/alpine:3.14
|
|||||||
|
|
||||||
### Set Environment Variables
|
### Set Environment Variables
|
||||||
ENV MSSQL_VERSION=17.5.2.1-1 \
|
ENV MSSQL_VERSION=17.5.2.1-1 \
|
||||||
ENABLE_CRON=FALSE \
|
CONTAINER_ENABLE_SCHEDULING=FALSE \
|
||||||
ENABLE_SMTP=FALSE \
|
CONTAINER_ENABLE_MESSAGING=FALSE \
|
||||||
ENABLE_ZABBIX=TRUE \
|
CONTAINER_ENABLE_MONITORING=TRUE \
|
||||||
ZABBIX_HOSTNAME=db-backup
|
CONTAINER_NAME=db-backup
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
RUN set -ex && \
|
RUN set -ex && \
|
||||||
|
|||||||
@@ -497,7 +497,7 @@ print_debug "Backup routines Initialized on $(date)"
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
### Zabbix
|
### Zabbix
|
||||||
if var_true "$ENABLE_ZABBIX" ; then
|
if var_true "$CONTAINER_ENABLE_MONITORING}" ; then
|
||||||
print_notice "Sending Backup Statistics to Zabbix"
|
print_notice "Sending Backup Statistics to Zabbix"
|
||||||
silent zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k dbbackup.size -o "$(stat -c%s "${DB_DUMP_TARGET}"/"${target}")"
|
silent zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k dbbackup.size -o "$(stat -c%s "${DB_DUMP_TARGET}"/"${target}")"
|
||||||
silent zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k dbbackup.datetime -o "$(date -r "${DB_DUMP_TARGET}"/"${target}" +'%s')"
|
silent zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -k dbbackup.datetime -o "$(date -r "${DB_DUMP_TARGET}"/"${target}" +'%s')"
|
||||||
|
|||||||
Reference in New Issue
Block a user