The Disaster
What may go wrong
One or more of the following events must take place for a situation to be labelled as a disaster:
- One or more critical filesystems (such as / or /opt/zimbra/) experiencing hardware failure
- a crucial filesystem’s contents rendered useless by internal or external forces (such as a thoughtless rm * or an incursion from outside)
- Hardware malfunction of the virtualization infrastructure or the actual computer hosting the Zimbra service
- a serious issue with a software update or OS upgrade
- Always preserve important filesystems on distinct discs, such as your Zextras Backup Path or /opt/zimbra.
- For your server, use a monitoring and alerting solution to spot issues as soon as they arise.
- Plan your upgrades and migrations thoroughly.
- Base system recovery (installing and configuring the OS, installing and configuring Zimbra)
- Data recovery (reimportation of the most recent data, including user and domain setups, COS data, and mailbox contents)
What role does Zextras Backup play in recovery?
The Rehabilitation Process
- Install Zimbra on a fresh server, then set up the global and server settings.
- the new server with Zextras Suite installed.
- Mount the old server’s backup folder on the new one. Use the most recent version of either of the two external backups if this is not an option.
- Use the CLI command below to start an External Restore on the new server:
- The system will be available for your users as soon as the External Restore procedure is finished (see your Zextras Suite Notifications), since it will instantly generate the domains, accounts, and distribution lists. Emails and other mailbox contents will thereafter be recovered.
Configurations and Setting
Snapshots and VMs
Recovery from a Disaster from a Previous VM State
- Make sure that no users can access it and that neither incoming nor outgoing emails are sent before you restore the most recent backup onto a different (clone) VM in a separate network.
- Turn on the copy, then wait for Zimbra to launch.
- Disable the RealTime Scanner for Zextras Backup.
- Connect and mount (on a separate path) the virtual disc holding the unaltered backup path to the clone.
- Launch an external restore while utilising the import path for the backup.
The Fallout: What Comes Next?
Unrecoverable Items
Why hasn’t everything I own been restored?
How Can I Tell If Something Isn’t Restored?
How Can Unrestored Items Be Restored?
Items that were not restored due to a read error
- Verify the filesystem.
- Depending on the RAID level, inspect the array for any potential problems if employing a RAID disc system.
- Verify that the backup/import path, all of its subfolders, and any files within included are accessible to the ‘zimbra’ user with r/w access.
- Examine the network-shared filesystems’ links with care. Consider using rsync to transmit the data if the network quality is bad.
- Make careful to run the mount command as root with the -o allow_other option if you’re using SSHfs to remotely mount the backup/import path.
- Find the most recent legal state.
- Consider the following from the aforementioned snippet:
- Determine the blob’s route.
- Take the blob’s previous step’s path:
- Uncompress the BLOB file into an.eml file using gzip and you’re done! Now, using your preferred client, import the.eml file into the relevant mailbox.
Items that were determined to be invalid were not restored.
- It could be a good idea to temporarily stop the LMTP validator and redo the import if you encountered a large number of unrestored items during the import:
- Run the following command as the Zimbra user to deactivate the LMTP Validator in Zimbra:
- You may activate the LMTP validator when the import is finished by executing:
Making a Second Backup of the Datastore for Zextras Backup
Offsite Storage of Your Zextras Backup’s Datastore Backup
- When scheduling your rsync backups, be careful to provide enough time between each rsync instance so that the transfer can be finished.
- To prevent discrepancies, use the –delete options to ensure that files destroyed on the source server are also deleted on the destination server.
- Schedule two separate rsync instances: one with –delete to be performed after the weekly purge and one without this option if you observe that using this method takes too much time.
- Make sure to start from Zextras Backup’s Backup Path and move the entire folder tree recursively. Mapfiles and server configuration backups are included here.
- Make that the filesystem at the destination respects case, just as Backup NG’s Backup Path must.
- Make sure that the zimbra user on your server has read and write access on the transmitted data if you intend to restore directly from the distant location.
- If your transfer speed is significantly higher than your storage throughput (or vice versa), you should prepare for slowdown.
Command Execution in a Multistore Environment, Zextras Backup in a Multistore Environment, and Multistore Information
The Network Administration Zimlet makes managing several servers easier: Even if you are signed into the Zimbra Administration Console of another server, you may choose a server from the Zextras Backup tab and carry out all backup procedures on that server.
The following specific variations exist between Singlestore and Multistore environments:
- Restore on New Account actions in a multistore system MUST ALWAYS generate the new account on the mailbox server for the Source account.
- On the target server rather than the server that initiated the process, all actions are recorded.
- Zimbra will automatically forward a request for an action to the correct server if the incorrect destination server is selected.
Restore and Backup
- On a single server, using the Administration Zimlet, or on a number of servers, using the CLI, smartscans may be run.
- The Accounts tab in the Zimbra Admin Console, the Server tab in the Zextras Backup menu of the Administration Zimlet, or the CLI may all be used to launch restores. These techniques vary in the following ways:
both import and export
The Operation Queue of Zextras Backup and Queue Management
- outside backup
- Every restoration procedure
- SmartScan
Operating Queue Control
- What Is the Process for COS-level Backup Management?
- What occurs if the Zextras Backup Module is turned off for a Class of Service?
- All accounts in the COS will be disregarded by the Real Time Scanner.
How is the information about backup enabled/disabled saved?
The Disaster
What may go wrong
One or more of the following events must take place for a situation to be labelled as a disaster:
- One or more critical filesystems (such as / or /opt/zimbra/) experiencing hardware failure
- a crucial filesystem’s contents rendered useless by internal or external forces (such as a thoughtless rm * or an incursion from outside)
- Hardware malfunction of the virtualization infrastructure or the actual computer hosting the Zimbra service
- a serious issue with a software update or OS upgrade
- Always preserve important filesystems on distinct discs, such as your Zextras Backup Path or /opt/zimbra.
- For your server, use a monitoring and alerting solution to spot issues as soon as they arise.
- Plan your upgrades and migrations thoroughly.
- Base system recovery (installing and configuring the OS, installing and configuring Zimbra)
- Data recovery (reimportation of the most recent data, including user and domain setups, COS data, and mailbox contents)
What role does Zextras Backup play in recovery?
The Rehabilitation Process
- Install Zimbra on a fresh server, then set up the global and server settings.
- the new server with Zextras Suite installed.
- Mount the old server’s backup folder on the new one. Use the most recent version of either of the two external backups if this is not an option.
- Use the CLI command below to start an External Restore on the new server:
- The system will be available for your users as soon as the External Restore procedure is finished (see your Zextras Suite Notifications), since it will instantly generate the domains, accounts, and distribution lists. Emails and other mailbox contents will thereafter be recovered.
Configurations and Setting
Snapshots and VMs
Recovery from a Disaster from a Previous VM State
- Make sure that no users can access it and that neither incoming nor outgoing emails are sent before you restore the most recent backup onto a different (clone) VM in a separate network.
- Turn on the copy, then wait for Zimbra to launch.
- Disable the RealTime Scanner for Zextras Backup.
- Connect and mount (on a separate path) the virtual disc holding the unaltered backup path to the clone.
- Launch an external restore while utilising the import path for the backup.
The Fallout: What Comes Next?
Unrecoverable Items
Why hasn’t everything I own been restored?
How Can I Tell If Something Isn’t Restored?
How Can Unrestored Items Be Restored?
Items that were not restored due to a read error
- Verify the filesystem.
- Depending on the RAID level, inspect the array for any potential problems if employing a RAID disc system.
- Verify that the backup/import path, all of its subfolders, and any files within included are accessible to the ‘zimbra’ user with r/w access.
- Examine the network-shared filesystems’ links with care. Consider using rsync to transmit the data if the network quality is bad.
- Make careful to run the mount command as root with the -o allow_other option if you’re using SSHfs to remotely mount the backup/import path.
- Find the most recent legal state.
- Consider the following from the aforementioned snippet:
- Determine the blob’s route.
- Take the blob’s previous step’s path:
- Uncompress the BLOB file into an.eml file using gzip and you’re done! Now, using your preferred client, import the.eml file into the relevant mailbox.
Items that were determined to be invalid were not restored.
- It could be a good idea to temporarily stop the LMTP validator and redo the import if you encountered a large number of unrestored items during the import:
- Run the following command as the Zimbra user to deactivate the LMTP Validator in Zimbra:
- You may activate the LMTP validator when the import is finished by executing:
Making a Second Backup of the Datastore for Zextras Backup
Offsite Storage of Your Zextras Backup’s Datastore Backup
- When scheduling your rsync backups, be careful to provide enough time between each rsync instance so that the transfer can be finished.
- To prevent discrepancies, use the –delete options to ensure that files destroyed on the source server are also deleted on the destination server.
- Schedule two separate rsync instances: one with –delete to be performed after the weekly purge and one without this option if you observe that using this method takes too much time.
- Make sure to start from Zextras Backup’s Backup Path and move the entire folder tree recursively. Mapfiles and server configuration backups are included here.
- Make that the filesystem at the destination respects case, just as Backup NG’s Backup Path must.
- Make sure that the zimbra user on your server has read and write access on the transmitted data if you intend to restore directly from the distant location.
- If your transfer speed is significantly higher than your storage throughput (or vice versa), you should prepare for slowdown.
Command Execution in a Multistore Environment, Zextras Backup in a Multistore Environment, and Multistore Information
The Network Administration Zimlet makes managing several servers easier: Even if you are signed into the Zimbra Administration Console of another server, you may choose a server from the Zextras Backup tab and carry out all backup procedures on that server.
The following specific variations exist between Singlestore and Multistore environments:
- Restore on New Account actions in a multistore system MUST ALWAYS generate the new account on the mailbox server for the Source account.
- On the target server rather than the server that initiated the process, all actions are recorded.
- Zimbra will automatically forward a request for an action to the correct server if the incorrect destination server is selected.
Restore and Backup
- On a single server, using the Administration Zimlet, or on a number of servers, using the CLI, smartscans may be run.
- The Accounts tab in the Zimbra Admin Console, the Server tab in the Zextras Backup menu of the Administration Zimlet, or the CLI may all be used to launch restores. These techniques vary in the following ways:
both import and export
The Operation Queue of Zextras Backup and Queue Management
- outside backup
- Every restoration procedure
- SmartScan
Operating Queue Control
- All accounts in the COS will be disregarded by the Real Time Scanner.
- Accounts in the COS WILL NOT BE EXPORTED via the Export Backup procedure.
- The backup system will regard accounts in the COS as deleted. This indicates that all data for those accounts will be deleted from the backup repository after the data retention term has passed. This will be reset if the backup for a Class of Service is enabled again.