Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: WaltB on September 25, 2014, 03:27:43 pm

Title: [SOLVED]Oh, I'm i trouble: redis dump.rdb corrupted
Post by: WaltB on September 25, 2014, 03:27:43 pm
Oh, I'm i trouble.

Had a raid crash and that resulted in a corrupted dump.rdb file in /var/lib/zentyal/ .
Even the tool the redis-check-dump crashes when I try to run it with the dump.rdb, so I can't even get it exported in json format.

I'm running 3.5

I had hoped that the automatic backup to remote.zentyal.org included that file but it dosen't.

I have of-course made a copy of the corrupted file, and I have tried to delete it and restart the redis server but the result is that
I can't start any of the zentyal services.

Does any of you know of a way out of this without having to reinstall the server, e.g. how to patch the dump.rdb, regenerate the the dump.rdb or any other way ????

Kind regards

WaltB
Title: Re: Oh, I'm i trouble: redis dump.rdb corrupted
Post by: jbahillo on September 26, 2014, 06:23:21 pm
Have you tried restoring a configuration backup? Each of these contains the (per module) redis stabase definitions
Title: Re: Oh, I'm i trouble: redis dump.rdb corrupted
Post by: WaltB on September 30, 2014, 10:54:07 am
Great idear, i'll try that at once.

Thanks

WaltB
Title: Re: Oh, I'm i trouble: redis dump.rdb corrupted
Post by: WaltB on September 30, 2014, 12:54:26 pm
Hi jbahillo

The idear is great but I'm faced with a problem: I don't have the webadmin interface as it wont start up so I can't do the restore from there. Is there a cli command  or curl command I can use instead ?

BRegards

WaltB
Title: Re: Oh, I'm i trouble: redis dump.rdb corrupted
Post by: jbahillo on September 30, 2014, 12:56:54 pm
Hi: /usr/share/zentyal/restore-backup IIRC
Title: Re: Oh, I'm i trouble: redis dump.rdb corrupted
Post by: WaltB on September 30, 2014, 01:49:10 pm
Hi jbahillo

Thanks.

WaltB