Hi,
I would like to execute backup of every account on my Zimbra server (ZCS 7.1.0_GA_3140.RHEL5_64.20110329150833) on CentOS.

For now, the bash script is:

Code:
/opt/zimbra/bin/zmprov -l gaa > /root/accounts.txt
(get a complete list of account)

Code:
for i in `cat /root/accounts.txt`; do
        /opt/zimbra/bin/zmmailbox -z -m $i getRestURL "//?fmt=tgz" > /var/backups/$i.tgz
        /opt/zimbra/bin/zmprov ga $i zimbraMailSieveScript > /var/backups/$i-sieve.rules
        /opt/zimbra/bin/zmmailbox -z -m $i getRestURL "/Contacts?fmt=csv" > /var/backups/$i.csv
done
(take a backup of messages, filter rules and contacts).

How can I backup of calendar, too?

Thank you very much