backup Zimbra account pakai zmmailbox

Zmmailbox dapat digunakan Untuk membackup user account di zimbra mail server. Berikut adalah contoh untuk pemaikaian backup user menggunakan zmmailbox :

/opt/zimbra/bin/zmmailbox -z -m getRestURL “//?fmt=tgz” > /tmp/account.tgz

misalkan user accountnya maka perintahnya menjadi :

/opt/zimbra/bin/zmmailbox -z -m getRestURL “//?fmt=tgz” > /tmp/joseph23.tgz

Sedangkan perintah untuk merestorenya adalah sebagai berikut :

/opt/zimbra/bin/zmmailbox -z -m postRestURL “//?fmt=tgz&resolve=reset” /tmp/account.tgz

selain “reset” parameter yang lainnya adalah :

  • “skip” ignores duplicates of old items, it’s also the default conflict-resolution.
  • “modify” changes old items.
  • “reset” will delete the old subfolder (or entire mailbox if /).
  • “replace” will delete and re-enter them.


reff :


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: