Hello igalic,
welcome to the forums!
My suggestion is to set up an Active/Passive setup following this steps:
- Create a new VM with the same hostname and a different IP Address than the original one.
- Install Zimbra on it only applying the basic settings.
- Set up a remote copy of ZeXtras Backup's datastore as described at Taking Additional and Offsite backups of ZxBackup's Datastore - ZeXtras Suite Wiki
In case of a failure of the main server you can simply import the data to the new one as described on the Disaster Recovery guide you linked, using either the main server's backup path or the remote copy (in case the original backup path is lost or corrupted) as the source. As soon as the restore is started all Domains/COS/Mailboxes are created, so after you receive the "Operation Running" notification you can switch the mailflow to the new server so that new emails will be delivered correctly.
You will have to manually apply any server configuration and customization, but in order to help you with this ZeXtras Backup comes with a very handy CLI command: `getServerConfig`.
Code:
zimbra@test:~$ zxsuite backup getServerConfig
command getServerConfig requires more parameters
Syntax:
zxsuite backup getServerConfig {standard|customizations} [attr1 value1 [attr2 value2...]]
PARAMETER LIST
NAME TYPE EXPECTED VALUES DEFAULT
type(M) Multiple choice standard|customizations
date(O) String "dd/MM/yyyy HH:mm:ss"|"last"|"all"
backup_path(O) Path /opt/zimbra/backup/zextras/
file(O) String Path to backup file
query(O) String section/id/key
verbose(O) String false
colors(O) String false
(M) == mandatory parameter, (O) == optional parameter
Usage example:
zxsuite backup getserverconfig standard date last
Display the latest backup data for Server and Global configuration.
zxsuite backup getserverconfig standard file /path/to/backup/file
Display the contents of a backup file instead of the current server backup.
zxsuite backup getserverconfig standard date last query zimlets/com_zimbra_ymemoticons colors true verbose true
Displays all settings for the com_zimbra_ymemoticons zimlet, using colored output and high verbosity.
Specifically,
Code:
zxsuite backup getServerConfig path /your/backup/path/ date last query / | less
will display the latest backed up configurations.
You can change the "query" argument to display specific settings, e.g.
Code:
zimbra@test:~$ zxsuite backup getServerConfig standard date last backup_path /opt/zimbra/backup/zextras/ query serverConfig/zimbraMailMode/test.domain.com
config date_______________________________________________________________________________________________28/02/2014 04:01:14 CET
test.domain.com____________________________________________________________________________________________________________both
The {zimbrahome}/conf/ and {zimbrahome}/postfix/conf/ directories are backed up aswell:
Code:
zimbra@test:~$ zxsuite backup getServerConfig customizations date last verbose true
ATTENTION: These files contain the directories {zimbraHome}/conf/ and {zimbraHome}/postfix/conf/ compressed into a single archive.
Restore can only be performed manually. Do it only if you know what you're doing.
archives
filename customizations_28_02_14#04_01_14.tar.gz
path /opt/zimbra/backup/zextras/server/
modify date 28/02/2014 04:01:14 CET
Have a nice day,
Cine
the ZeXtras Team
p.s.: Added all of this info to the "Disaster Recovery" guide, thank you for giving me the opportunity to elaborate this topic!
Bookmarks