How To Backup And Restore Emails of a Specific Account on Zimbra

Backup And Restore Emails of a Specific Account

Zimbra Mailbox Backup and Restore Is Very importance because Backups can help save time and money if these failures occur.

To get the full list of accounts in ZIMBRA server

sudo -u zimbra /opt/zimbra/bin/zmprov -l gaa 

Backup any mailbox

Run as root user

vk@norditpa.tk is email account . you replace with your account

/srv/backup/021222/ this is my backup folder.

sudo -u zimbra /opt/zimbra/bin/zmmailbox -z -m vkttech@norditpl.gq getRestURL "//?fmt=tgz" > /srv/backup/021222/vkttech@norditpl.gq.tgz

Restore mailbox

su - zimbra -c "zmmailbox -z -m vkttech@norditpl.gq postRestURL '//?fmt=tgz&resolve=skip' /srv/backup/021222/vkttech@norditpl.gq.tgz";
Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply Cancel reply