Has there something changed to the backup_xi.sh script? I had a procedure how to update it after an update, but it seems I cannot find the mysqlpass that I thought was there before.
When I follow http://assets.nagios.com/downloads/nagi ... ing_XI.pdf
I can't find the mysqlpass= anymore
Tired to add it and still get
Error backing up MySQL database 'nagios' - check the password.
I can see -password=$cfg__db_info_ndoutils__pwd in the script. What is this?
Backup script mysqlpass missing?
Backup script mysqlpass missing?
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Backup script mysqlpass missing?
Scott addressed this in an earlier post:
http://support.nagios.com/forum/viewtop ... 893#p86905
We made some changes to the way configs are pulled in. I'm not familiar with the specifics, but it looks like your old configs should be parsed by this script and saved in config.dat.
http://support.nagios.com/forum/viewtop ... 893#p86905
We made some changes to the way configs are pulled in. I'm not familiar with the specifics, but it looks like your old configs should be parsed by this script and saved in config.dat.
Former Nagios employee
Re: Backup script mysqlpass missing?
Hello,
I've been testing the attached backup script in the other thread and I can confirm it seems to be working as expected. There is no longer a password required in the backup script, which is nice.
Added my rsync logic.
Thanks. Thread can be closed.
Willem
I've been testing the attached backup script in the other thread and I can confirm it seems to be working as expected. There is no longer a password required in the backup script, which is nice.
Added my rsync logic.
Thanks. Thread can be closed.
Willem
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Backup script mysqlpass missing?
That was the goal of the change, unfortunately Subversion wasn't playing nice that day, and a few important lines were removed.
The fix in that patch is in the trunk and will be what is used moving forward.
The fix in that patch is in the trunk and will be what is used moving forward.
Re: Backup script mysqlpass missing?
This thread can be closed.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net