Bugzilla – Bug 164
Initial Planning Guide / Recommendations for Backup Initialization / Testing
Last modified: 2015-11-03 12:04:30 CET
Either a new section added to the following or a dedicated wiki page :
Customers with large mailstores will need extra guidance when planning to deploy zxbackup. A common questions/concerns are:
1. How much space will I need for the initial backup scan/initialization?
2. What will be the size increase to the backup directory over time after the backup initialization?
3. How long might will the first backup initialization take?
4. How long will the 'second' backup take then?
One recommendation we might offer for point 3 is using rsync as a test.
Find a user that has 500MB's or more in their mailbox on the primary volume.
Default for primary volume path is /opt/zimbra/store
$ du -sh /opt/zimbra/store/0/2
Then using rsync, copy the data to your dedicated backup partition :
rsync -avzH --stats /opt/zimbra/store/0/2 /opt/zimbra/local-backup/
rsync -avzH --stats /opt/zimbra/store/0/2 /opt/zimbra/nfs-backup/
If your using a network partition, you might want to compare it also to a local partition.
Rsync will output at the bottom your stats for the copy. Save them.
Now, remove the copied data from your backup partition path.
To test the zxbackup initialization performance, you'll now want to put the same user you tested above in a specific COS so you can then select this COS ONLY in the zxbackup admin panel. Once you have done this, you can then initialize your first backup. The report will also output the stats you need to now compare to the rsync tests.
Rsync might not be a perfect comparison tool, but it should give you a good ballpark of your disk i/o limitations and how zxbackup will perform during your first zxbackup initialization.
Note - using /opt/zimbra/store/[users data] is a preferred example to test with since it should be populated with many small files etc. Just doing a large 500MB file copy [rsync] will not give a realistic comparison of what zxbackup will end up doing on the initial scan.
Copyright © 2016 ZeXtras, All rights reserved.
Zimbra is a trademark of Zimbra Software, LLC.
ActiveSync is a registered Trademark of Microsoft Corporation