zmrecover.pl(8)

πŸ“¦
version 1.38.1 Β· 2 versions
, in alpine 3.24

πŸ’– NAME πŸ’–

okay so this is zmrecover.pl(8), the ZoneMinder event file system and database recovery checker, and yes bestie, it's from zoneminder. It's giving β€œclean up the mess between your event files and your database” energy. πŸ’…


✨ SYNOPSIS ✨

the run-me shape is literally this:

        zmrecover.pl [-r,-report|-i,-interactive]

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: this script checks for consistency between the event filesystem and the database. If events are found in one and not the other, they are deleted β€” optionally, bestie, not just automatically on sight. 😭

Additionally, any monitor event directories that do not correspond to a database monitor are similarly disposed of. Same treatment, no cap.

But monitors in the database that don't have a directory are left alone β€” that's valid if they are newly created and have no events yet. So don't come for them. 🫢


πŸ’… OPTIONS πŸ’…

  • -i, --interactive β€” asks before applying any changes, so you get a little β€œu sure?” moment. πŸ₯Ί
  • -m, --monitor_id β€” only consider the given monitor. One monitor only, main character style. πŸ‘‘
  • -r, --report β€” just report, don't actually do anything. The no-touch, look-only mode. ✨
  • -s, --storage_id β€” specify a storage area to recover instead of all. Pick your fave storage area, iykyk. πŸŽ€
  • -v, --version β€” print the installed version of ZoneMinder. Version check, slay. πŸ’–
Bestie note: -r / --report is your β€œplease don't change anything” girlie. -i / --interactive makes it ask first. Use them wisely. πŸ’€

legal corner, but make it cute:

ZoneMinder Recover Script Copyright (C) 2018 ZoneMinder LLC

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


Signed with --stderr energy, dated 2026-03-04, and stamped zmrecover.pl(8) β€” bye bestie! πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from