Empty Mailbox Exporting - getRestURL "//?fmt=tgz"

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
ikaragoz
Posts: 2
Joined: Fri Aug 28, 2020 12:37 pm

Empty Mailbox Exporting - getRestURL "//?fmt=tgz"

Post by ikaragoz »

i have a question about of zimbra user mailbox export. Yesterday i backup 200 users mailbox successfly. Today when i continue mailbox's size is 0kb i see. I try both old script and new script getting same problem. Have any idea about that.?

command: /opt/zimbra/bin/zmmailbox -z -m xxx.xxx@xxx.com getRestURL "//?fmt=tgz" > /tmp/account.tgz

screen shot has ath.

Ps: No any error from CLI screen.
Attachments
zimbra.jpg
zimbra.jpg (52.65 KiB) Viewed 2341 times
ikaragoz
Posts: 2
Joined: Fri Aug 28, 2020 12:37 pm

Re: Empty Mailbox Exporting - getRestURL "//?fmt=tgz"

Post by ikaragoz »

any idea????????????????????????
User avatar
DualBoot
Elite member
Elite member
Posts: 1326
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Empty Mailbox Exporting - getRestURL "//?fmt=tgz"

Post by DualBoot »

Hello,

did you try a verbose or debug mode ? Did you check the log ?

Regards,
User avatar
jeastman
Zimbra Employee
Zimbra Employee
Posts: 88
Joined: Tue Mar 29, 2016 1:36 pm

Re: Empty Mailbox Exporting - getRestURL "//?fmt=tgz"

Post by jeastman »

You should definitely check the log for errors.

The archive formatter (tar formatter) is streaming in nature, so it is not possible for it to return an error. Instead, it will simply truncate the archive. This has been the source of trouble and confusion for quite some time. Check your logs and you should find an error reported for the export.
John Eastman
Post Reply