How to backup from failed server

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
Pembrae
Posts: 6
Joined: Tue Feb 23, 2021 4:05 pm

How to backup from failed server

Post by Pembrae » Fri Jan 14, 2022 4:50 pm

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.

dougmccrary
Posts: 413
Joined: Sat Aug 31, 2019 7:35 am

Re: How to backup from failed server

Post by dougmccrary » Fri Jan 14, 2022 10:47 pm

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.

Pembrae
Posts: 6
Joined: Tue Feb 23, 2021 4:05 pm

Re: How to backup from failed server

Post by Pembrae » Sat Jan 15, 2022 10:03 am

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?

dougmccrary
Posts: 413
Joined: Sat Aug 31, 2019 7:35 am

Re: How to backup from failed server

Post by dougmccrary » Sat Jan 15, 2022 11:17 am

command line mysql
How-to is in the docs, or you can find it with search.

Magic919
Posts: 676
Joined: Wed Sep 18, 2013 6:56 am

Re: How to backup from failed server

Post by Magic919 » Sat Jan 15, 2022 11:53 am

Have a go at Mysqldump but I’d also copy the Mysql files over as a fallback option.

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests