Bobcares

Zimbra incremental Backup Script | Guide

by | Apr 12, 2023

Learn how to run the Zimbra incremental backup script. Our Server Management Support team is here to help you with your questions and concerns.

Zimbra Incremental Backup Script | Guide

Zimbra is a well-known email and collaboration platform. It is used by many organizations all over the world. A key task in managing a Zimbra installation is to make sure that the data is backed up regularly to protect against data loss.

This is where an incremental backup comes in handy. This backup method only backs up the data that has changed since the last backup. In other words, it does not back up the entire system each time. This helps us save time and storage space compared to a full backup.

The Zimbra incremental backup script is called “zmbackup”. Furthermore, it can automate the backup process. This script uses the “rsync” tool to transfer only the changed data between the source and destination servers. Additionally, the script uses the Zimbra “backup” command to create a full backup of the configuration and metadata.

Here is an example of a Zimbra incremental backup script:

Zimbra Incremental Backup Script

The above script first checks if a full backup has already been taken earlier by searching for the latest backup file with the name pattern zimbra-full-*.tar.gz in the backup directory. In case it does not find a full backup, the script takes a full backup using zmbackup -f and exits.

However, in case a full backup exists, the script creates a new incremental backup using zmbackup -i and mentions the previous full backup file using the -i flag and the new backup file using the -t flag. Furthermore, the new backup file is named with the current date and time.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

In summary, our Support Techs introduced us to the Zimbra incremental backup script.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.