Page 1 of 1
Wrong backup size in gui
Posted: Sun Oct 24, 2021 9:02 pm
by Shades007
Hi Support,
Our nagios local and ssh backup size is around 13GB from terminal (ll -h /store/backups/nagiosxi ) while gui shows only 4.83GB
The backup is healthy though.
size.PNG
Anyfix for this?
Regards,
Sobhan.
Re: Wrong backup size in gui
Posted: Mon Oct 25, 2021 10:13 am
by gsmith
Hi,
Could you please provide the output of:
Thanks
Re: Wrong backup size in gui
Posted: Thu Oct 28, 2021 10:45 am
by Shades007
total 112G
drwxr-xr-x 2 nagios nagios 77 Sep 10 10:34 1631241243
drwxr-xr-x 2 nagios nagios 77 Sep 29 00:00 nagiosxi.1632844802
-rw-r--r-- 1 nagios nagios 13G Oct 24 03:05 nagiosxi.1635012002.tar.gz
-rw-r--r-- 1 nagios nagios 13G Oct 25 01:04 nagiosxi.1635091201.tar.gz
-rw-r--r-- 1 nagios nagios 13G Oct 25 03:06 nagiosxi.1635098401.tar.gz
-rw-r--r-- 1 nagios nagios 13G Oct 26 01:13 nagiosxi.1635177602.tar.gz
-rw-r--r-- 1 nagios nagios 13G Oct 26 03:06 nagiosxi.1635184801.tar.gz
-rw-r--r-- 1 nagios nagios 13G Oct 27 01:10 nagiosxi.1635264001.tar.gz
-rw-r--r-- 1 nagios nagios 13G Oct 27 03:05 nagiosxi.1635271201.tar.gz
-rw-r--r-- 1 nagios nagios 13G Oct 28 01:09 nagiosxi.1635350401.tar.gz
-rw-r--r-- 1 nagios nagios 13G Oct 28 03:12 nagiosxi.1635357601.tar.gz
Re: Wrong backup size in gui
Posted: Fri Oct 29, 2021 10:11 am
by gsmith
Hi,
Could you please send me a System Profile so I can try to duplicate this issue?
1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share the file in a private message and then
reply to this post to bring it up in the queue.
Thank you
Re: Wrong backup size in gui
Posted: Mon Nov 01, 2021 2:04 pm
by Shades007
Hi gsmith,
Have pm you the profile.
Thanks..
Re: Wrong backup size in gui
Posted: Tue Nov 02, 2021 10:53 am
by gsmith
Hi
Please run this on the xi server from a CLI:
Code: Select all
echo "select * from xi_options where name like '%scheduledbackups_last_backup_size%'" | mysql -u root -pnagiosxi nagiosxi
Let me know the result.
Thanks!
Re: Wrong backup size in gui
Posted: Tue Nov 02, 2021 8:23 pm
by Shades007
Hi gsmith,
as requested.
# echo "select * from xi_options where name like '%scheduledbackups_last_backup_size%'" | mysql -u root -pnagiosxi nagiosxi
option_id name value
155 scheduledbackups_last_backup_size 5182008811
Thanks.
Re: Wrong backup size in gui
Posted: Wed Nov 03, 2021 3:00 pm
by gsmith
Hi,
So now we have three values for the size of the backup:
1. 13 G - filesystem (-rw-r--r-- 1 nagios nagios 13G Oct 28 03:12 nagiosxi.1635357601.tar.gz) <---TRUTH
2. 4.83 G as reported on the Backups web page
3. 5.2 G - the value stored in the database
I see that in another forum post that Benjamin Smith was helping you with NDO issues. I would
like you to ensure that that is corrected first. Once it is then take a backup and lets look to
see if the web page is now reporting the correct value for the backup size.
Thanks