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

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

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

Postby ikaragoz » Fri Aug 28, 2020 12:45 pm

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 677 times


ikaragoz
Posts: 2
Joined: Fri Aug 28, 2020 12:37 pm

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

Postby ikaragoz » Mon Aug 31, 2020 7:50 am

any idea????????????????????????
User avatar
DualBoot
Elite member
Elite member
Posts: 1321
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"

Postby DualBoot » Mon Aug 31, 2020 8:44 am

Hello,

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

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

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

Postby jeastman » Mon Aug 31, 2020 2:13 pm

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

Return to “Administrators”

Who is online

Users browsing this forum: JDunphy and 15 guests