[GH-ISSUE #127] A warning, this backup tool may not be reliable #97

Closed
opened 2026-02-27 08:14:20 +03:00 by kerem · 7 comments
Owner

Originally created by @ghost on GitHub (Feb 7, 2019).
Original GitHub issue: https://github.com/lucascbeyeler/zmbackup/issues/127

Originally assigned to: @lucascbeyeler on GitHub.

Hello All,

It seems this backup tool relies on exporting mailboxes using the Zimbra REST API

https://github.com/Zmbackup/zmbackup/blob/1.2-version/project/lib/bash/ParallelAction.sh#L48

This has been known to be unreliable, and may cause corrupted backups.

https://bugzilla.zimbra.com/show_bug.cgi?id=101760
https://bugzilla.zimbra.com/show_bug.cgi?id=86347

The tgz option shoud be fixed before one can use backup tools like the one in this repo. This has been confirmed by Zimbra staff in the bugzilla reports.

Barry

Originally created by @ghost on GitHub (Feb 7, 2019). Original GitHub issue: https://github.com/lucascbeyeler/zmbackup/issues/127 Originally assigned to: @lucascbeyeler on GitHub. Hello All, It seems this backup tool relies on exporting mailboxes using the Zimbra REST API https://github.com/Zmbackup/zmbackup/blob/1.2-version/project/lib/bash/ParallelAction.sh#L48 This has been known to be unreliable, and may cause corrupted backups. https://bugzilla.zimbra.com/show_bug.cgi?id=101760 https://bugzilla.zimbra.com/show_bug.cgi?id=86347 The tgz option shoud be fixed before one can use backup tools like the one in this repo. This has been confirmed by Zimbra staff in the bugzilla reports. Barry
kerem 2026-02-27 08:14:20 +03:00
Author
Owner

@enribar commented on GitHub (Feb 15, 2019):

Hello All,

It seems this backup tool relies on exporting mailboxes using the Zimbra REST API

https://github.com/Zmbackup/zmbackup/blob/1.2-version/project/lib/bash/ParallelAction.sh#L48

This has been known to be unreliable, and may cause corrupted backups.

https://bugzilla.zimbra.com/show_bug.cgi?id=101760
https://bugzilla.zimbra.com/show_bug.cgi?id=86347

The tgz option shoud be fixed before one can use backup tools like the one in this repo. This has been confirmed by Zimbra staff in the bugzilla reports.

Barry

Hello Barry,
do you know if there are any free backup alternatives other than using Zimbra REST APIs?

<!-- gh-comment-id:463969709 --> @enribar commented on GitHub (Feb 15, 2019): > Hello All, > > It seems this backup tool relies on exporting mailboxes using the Zimbra REST API > > https://github.com/Zmbackup/zmbackup/blob/1.2-version/project/lib/bash/ParallelAction.sh#L48 > > This has been known to be unreliable, and may cause corrupted backups. > > https://bugzilla.zimbra.com/show_bug.cgi?id=101760 > https://bugzilla.zimbra.com/show_bug.cgi?id=86347 > > The tgz option shoud be fixed before one can use backup tools like the one in this repo. This has been confirmed by Zimbra staff in the bugzilla reports. > > Barry Hello Barry, do you know if there are any free backup alternatives other than using Zimbra REST APIs?
Author
Owner

@ghost commented on GitHub (Feb 15, 2019):

Unfortunately I do not think there is one.

Someone should get dirty hands and fix the parts in Zimbra that break the export, I can imagine pathing the java so that it throws an account to a folder instead of a tgz. From there we can have a different process make the tgz.

Then we could debug the import process, I am not 100% sure how broken that is.

So the export, is I think fixable. It just needs someone to put the time in.

<!-- gh-comment-id:463972253 --> @ghost commented on GitHub (Feb 15, 2019): Unfortunately I do not think there is one. Someone should get dirty hands and fix the parts in Zimbra that break the export, I can imagine pathing the java so that it throws an account to a folder instead of a tgz. From there we can have a different process make the tgz. Then we could debug the import process, I am not 100% sure how broken that is. So the export, is I think fixable. It just needs someone to put the time in.
Author
Owner

@vadonka commented on GitHub (Jun 27, 2019):

The project is abandoned? It seems to. No words from the dev?

<!-- gh-comment-id:506336127 --> @vadonka commented on GitHub (Jun 27, 2019): The project is abandoned? It seems to. No words from the dev?
Author
Owner

@ghost commented on GitHub (Jun 27, 2019):

looks like so

<!-- gh-comment-id:506346938 --> @ghost commented on GitHub (Jun 27, 2019): looks like so
Author
Owner

@vadonka commented on GitHub (Jun 27, 2019):

I guess i need to rewrite the backup/restore part to use the zmmailbox api and not the wget/curl method.

<!-- gh-comment-id:506350466 --> @vadonka commented on GitHub (Jun 27, 2019): I guess i need to rewrite the backup/restore part to use the zmmailbox api and not the wget/curl method.
Author
Owner

@ananiasfilho commented on GitHub (Jul 28, 2019):

Hello guys! The project is stoped but not die! Lucas move from Brazil to Ireland and have a lot of things to do before back to zmbackup development. The version 2 will came this year. Im working hard on new zimbra 2 all re-write and using python3.
I will dedicate this week to check issues and feedback all of you. Feel free to fork project and send Pull requests.

<!-- gh-comment-id:515723461 --> @ananiasfilho commented on GitHub (Jul 28, 2019): Hello guys! The project is stoped but not die! Lucas move from Brazil to Ireland and have a lot of things to do before back to zmbackup development. The version 2 will came this year. Im working hard on new zimbra 2 all re-write and using python3. I will dedicate this week to check issues and feedback all of you. Feel free to fork project and send Pull requests.
Author
Owner

@lucascbeyeler commented on GitHub (Dec 8, 2020):

Hi,

Good to know that Zimbra is breaking the backups for no reason. The only solution I can see for this would be reverse engineer Zimbra to generate the tgz files by ourselves. I'm moving this idea to Waddles as I will continue developing Zmbackup as a Python solution.

<!-- gh-comment-id:740653605 --> @lucascbeyeler commented on GitHub (Dec 8, 2020): Hi, Good to know that Zimbra is breaking the backups for no reason. The only solution I can see for this would be reverse engineer Zimbra to generate the tgz files by ourselves. I'm moving this idea to Waddles as I will continue developing Zmbackup as a Python solution.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/zmbackup#97
No description provided.