zimbra backup? (solved)

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
killmasta93
Posts: 24
Joined: Tue Oct 04, 2016 9:54 pm

zimbra backup? (solved)

Postby killmasta93 » Fri Jan 03, 2020 9:26 pm

Hi,
I was wondering what do people use to backup zimbra? Currently been trying to use https://github.com/Zmbackup/zmbackup
but the issue with this does not let me save on another storage device, and cannot seem to edit the times when to run it, as also i only need to backup 2 or 3 mailboxes not everything

Thank you
Last edited by killmasta93 on Sat Jan 04, 2020 4:30 pm, edited 1 time in total.


User avatar
fs.schmidt
Advanced member
Advanced member
Posts: 186
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: zimbra backup?

Postby fs.schmidt » Fri Jan 03, 2020 11:32 pm

Hi,

If you only need to backup 2 or 3 accounts you could write a simple script and schedule it to export with zmmaibox (native zimbra command):

https://wiki.zimbra.com/wiki/Zmmailbox#Export.2Fimport_an_entire_account
killmasta93
Posts: 24
Joined: Tue Oct 04, 2016 9:54 pm

Re: zimbra backup?

Postby killmasta93 » Sat Jan 04, 2020 4:30 pm

Thanks for the reply, your right that did the trick as for the restore if anyone needs the command its

Code: Select all

su - zimbra -c "zmmailbox -z -m email@mydomain.com postRestURL '//?fmt=tgz&resolve=skip' /media/zmbrbckp-2020-01-03/email@mydomain.com.tgz";

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 8 guests