I moved my ZM installation to a new server and did a dump/restore of the database but didn't bring over the old files. Really I just wanted to restore the configuration & source definitions. This worked fine, but now it's confused about the disk space usage.
There was an earlier post in the forums where somebody said it's supposed to detect this situation and clean up the missing events, but I don't think this is happening for me. All of the old events are still in the database even though the files aren't there. Is there a way I can force it to remove all of the events that aren't present on disk? Behold:
Pruning stale events after a database restore
Re: Pruning stale events after a database restore
That worked, thanks!