I have a list of instructions I use to create a backup and suddenly today the same command completes successfully but there's nothing in the file. Any ideas? Last backup was about 780M.
Command;
.sql file results in text;
MySQL data folder seems fine;
Zabbix server is 5.0.18 and is on Ubuntu 20.04.3 LTS with MySQL 8.0.27-0ubuntu0.20.04.1
I know, not strictly a Zabbix question, I will enquire elsewhere as well. This is also the same command I used to upgrade from Zabbix 4 to 5 on a new server.
Command;
Code:
mysqldump --all-databases --single-transaction --quick --lock-tables=false > ~/backups/full-backup-$(date +%F).sql -u zabbix -p passwordhere
Code:
Usage: mysqldump [OPTIONS] database [tables] OR mysqldump [OPTIONS] --databases [OPTIONS] DB1 [DB2 DB3...] OR mysqldump [OPTIONS] --all-databases [OPTIONS] For more options, use mysqldump --help
Code:
user@server:/var/lib/mysql# du -hs /var/lib/mysql 36G /var/lib/mysql
I know, not strictly a Zabbix question, I will enquire elsewhere as well. This is also the same command I used to upgrade from Zabbix 4 to 5 on a new server.
Comment