Bug 164 - Initial Planning Guide / Recommendations for Backup Initialization / Testing
Summary: Initial Planning Guide / Recommendations for Backup Initialization / Testing
Alias: None
Product: ZeXtras
Classification: Unclassified
Component: Wiki (show other bugs)
Version: 2.0.4
Hardware: Physical Infrastructure Linux
: Normal enhancement
Assignee: ZeXtras Bugzilla Admin
QA Contact: Cine
Depends on:
Reported: 2015-11-03 11:54 CET by Ajcody
Modified: 2015-11-03 12:04 CET (History)
0 users

See Also:
Browser: ---
Zimlet Chat version: ---
Zimbra Version: ANY


Note You need to log in before you can comment on or make changes to this bug.
Description Ajcody 2015-11-03 11:54:55 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.

For example:

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
2.0G    /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.
Comment 1 Ajcody 2015-11-03 12:04:30 CET
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.