Preferred way to clean up full disk?
Posted: Tue Nov 21, 2023 12:43 pm
Added a couple cameras and inadvertently had them recording full time and filled up my disk so ZM web page wasn't working but machine was still running and I could log in remotely (Ubuntu headless). So I couldn't run the filters that could usually be run to reduce disk space. I went into the numbered directories for each of the two cameras and issued:
sudo rm -r *
which freed up 50Gb
I can now use zmaudit to clean up the data base.
Wondering if there is a better way to do this while still keeping it fairly simple.
I found this - a script to do it and not delete archived events (don't have any but seems like a good thing). But it appears from the comments on the page it needs some adjustment for more recent versions and I didn't find that on the github site.
https://www.claudiokuenzler.com/blog/81 ... der-events
sudo rm -r *
which freed up 50Gb
I can now use zmaudit to clean up the data base.
Wondering if there is a better way to do this while still keeping it fairly simple.
I found this - a script to do it and not delete archived events (don't have any but seems like a good thing). But it appears from the comments on the page it needs some adjustment for more recent versions and I didn't find that on the github site.
https://www.claudiokuenzler.com/blog/81 ... der-events