Can anyone advise if it is possible to take a backup of ZoneMinder from a server that is preventing ZoneMinder from working but Linux itself appears to be working OK.
My server failed to restart after a power outage. Although I eventually got the server and Linux working OK it is still displaying errors which appear to be disk related and ZoneMinder will not start. Looks like a new disk and a rebuild but before I start down that path I was wondering if it is possible to take some files of the existing build, since I can navigate around the file structure. I was hoping to be able to take a copy of the configuration to avoid having to go through the setup process again and ideally the event history .
Thanks.
How to backup from failed server
-
- Posts: 1371
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: How to backup from failed server
I suggest you try to get the whole ZMdb, as well as just the Monitors table.
Possibly the other tables are bad, but if the Monitors is OK you're ahead.
Possibly the other tables are bad, but if the Monitors is OK you're ahead.
Re: How to backup from failed server
Thank you for your reply. Please could you advise how I take a copy of the ZMdb and the Monitors table. Is it a case of copying files or is there a command or utility I need to use?
-
- Posts: 1371
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: How to backup from failed server
command line mysql
How-to is in the docs, or you can find it with search.
How-to is in the docs, or you can find it with search.
Re: How to backup from failed server
Have a go at Mysqldump but I’d also copy the Mysql files over as a fallback option.
-