[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: restoring



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rich Graves wrote:
>>> 1) Keep /opt/zimbra on a SAN with daily read/write snapshots (we
>>  use Compellent
>> 
>> How do keep your filesystem consistent then?  Is there integration
>> with Zimbra?
> 
> No. The snapshot looks as if the power has been pulled. The ext3fs
> journal and Zimbra's redo logs (which are very nice) will be
> replayed.

How do you replay these logs? Is the following correct?

* fsck the device that would be mounted to /opt/zimbra before
  mounting it.

* Once Zimbra is up do a zmrestore -restoreToRedoSeq based on the
  desired seq number in /opt/zimbra/redolog.

I read that "the server rereads the redo logs upon startup"
(http://wiki.zimbra.com/index.php?title=Zimbra_Server#Redo_Log) but
if this is only after an unexpected shutdown I'm not sure if mounting
a snap is enough to get Zimbra to behave this way. I'm wondering if
you need to tell it explicitly.

Thanks,
  John
- --
John Fulton, Linux Administrator, Lafayette College ITS
610-330-5650, Pardee Hall Room 11, Easton PA 18042-1775
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIpEAnNZmEpbCkXmERAglIAKCdgeTZTnignLAzmrbggVpM+gD9lQCbB3Qf
17ip+VcXJyZaCFRhqwxEG+Q=
=Gahp
-----END PGP SIGNATURE-----