Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix mariadb dump script #126

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile/zabbix-2.4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Examples of admin tasks:
# Backup of Zabbix configuration data only
docker exec \
-ti zabbix-db \
/zabbix-backup/zabbix-mariadb-dump -u zabbix -p my_password -o /backups
/zabbix-backup/zabbix-dump -u zabbix -p my_password -o /backups

# Full DB backup of Zabbix
docker exec \
Expand Down
1 change: 0 additions & 1 deletion Dockerfile/zabbix-db-mariadb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ RUN \
yum install -y epel-release && \
yum install -y MariaDB-server hostname net-tools pwgen git bind-utils bzip2 && \
git clone https://github.com/maxhq/zabbix-backup && \
mv /zabbix-backup/zabbix-mysql-dump /zabbix-backup/zabbix-mariadb-dump && \
yum autoremove -y git && \
yum clean all && \
cp -f -r /tmp/etc/* /etc/ && \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile/zabbix-xxl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Examples of admin tasks:
# Backup of DB Zabbix - configuration data only, no item history/trends
docker exec \
-ti zabbix-db \
/zabbix-backup/zabbix-mariadb-dump -u zabbix -p my_password -o /backups
/zabbix-backup/zabbix-dump -u zabbix -p my_password -o /backups

# Full backup of Zabbix DB
docker exec \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ docker run \
## Backup of DB Zabbix - configuration data only, no item history/trends
docker exec \
-ti dockbix-db \
/zabbix-backup/zabbix-mariadb-dump -u zabbix -p my_password -o /backups
/zabbix-backup/zabbix-dump -u zabbix -p my_password -o /backups

## Full compressed backup of Zabbix DB
docker exec \
Expand Down