bggo / Zmbkpose

The zmbkpose tool is a shell script that does hot backup and hot restore of ZCS Opensource accounts, GPL(OPENSOURCE). It can run from any host in the net, which means that it can be set on a backup server already existent.
http://wiki.zimbra.com/wiki/HOT_Backup_and_HOT_Restore
GNU General Public License v3.0
79 stars 56 forks source link

zmbkpose backups apparently only Inbox Sent Trash and Junk folders #29

Closed sctt closed 11 years ago

sctt commented 11 years ago

Hello,

i have never used zmbkpose but i took a look at the src code cause i needed some tips for my scripts.

i noticed that yours queries to the zimbra mailbox are those three:

https://$MAILHOST:7071/home/$MAIL/?fmt=tgz https://$MAILHOST:7071/home/$MAIL/Junk?fmt=tgz https://$MAILHOST:7071/home/$MAIL/Trash?fmt=tgz

the first one export only Sent and Inbox, the last two Junk and Trash. so what about Drafts folder? and every custom folder which could be created?

that can be solved with only one query query instead of four or one for each custom folder, here it is:

https://$MAILHOST:7071/home/$MAIL/Trash?fmt=tgz%20is:anywhere

hope that helped.

liandros commented 11 years ago

2013/2/5 sctt notifications@github.com

Hello,

i have never used zmbkpose but i took a look at the src code cause i needed some tips for my scripts.

i noticed that yours queries to the zimbra mailbox are those three:

https://$MAILHOST:7071/home/$MAIL/?fmt=tgz https://$MAILHOST:7071/home/$MAIL/Junk?fmt=tgz https://$MAILHOST:7071/home/$MAIL/Trash?fmt=tgz

the first one export only Sent and Inbox, the last two Junk and Trash. so what about Drafts folder? and every custom folder which could be created?

that can be solved with only one query query instead of four or one for each custom folder, here it is:

https://$MAILHOST:7071/home/$MAIL/Trash?fmt=tgz%20is:anywhere

hope that helped.

— Reply to this email directly or view it on GitHubhttps://github.com/bggo/Zmbkpose/issues/29.

Please, try the "rewrite_proposal_v2.0" branch code.