out of space!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
devildog31415
Posts: 48
Joined: Thu Jun 12, 2014 10:55 am

Re: out of space!

Post by devildog31415 »

I had 57 folders in that directory. Shouldn't there be only one folder/directory per daily backup? If so, then 57 folders clearly violates the only keep 7 setting in my screenshot.
Otherwise, I'm still not catching on.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: out of space!

Post by abrist »

So you have 57 folders in /store/backups/nagiosxi/ ? Or in the nom directory?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
devildog31415
Posts: 48
Joined: Thu Jun 12, 2014 10:55 am

Re: out of space!

Post by devildog31415 »

I had 57 folders in:
/store/backups/nagiosxi

I already deleted them (so I could be wrong on number it was well over 40 and less than 60). before I ran the command to get rid of old directories:

Code: Select all

 find /store/backups/nagiosxi/ -type d -mtime +4 -exec rm -rf "{}" \;
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: out of space!

Post by abrist »

Many of those could have been hold overs from be fore the upgrade. The scheduled backup component does not remove any of the preexisting directories.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
devildog31415
Posts: 48
Joined: Thu Jun 12, 2014 10:55 am

Re: out of space!

Post by devildog31415 »

Will monitor moving forward. Please close this thread and I will review the folder in 4 more days to see if an 8th/9th day directory does NOT remove and can start a new thread.

Thank you
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: out of space!

Post by abrist »

Fantastic, cheers.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked