mirror of
https://github.com/lucascbeyeler/zmbackup.git
synced 2026-04-24 22:55:56 +03:00
[GH-ISSUE #155] restoring issue #122
Labels
No labels
Bug Report
Enhancement
Enhancement
Feature Idea
Feature Idea
Not Implemented
Question
Question
Task
Wontfix
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/zmbackup#122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @killmasta93 on GitHub (Jan 16, 2021).
Original GitHub issue: https://github.com/lucascbeyeler/zmbackup/issues/155
Hi
currently trying to restore a full backup but it says restore completed but does not restore
Then i tried to restore with this option but screwd my zimbra server, i had to restore from backup
@lucascbeyeler commented on GitHub (Jan 16, 2021):
Hi, which version?
@killmasta93 commented on GitHub (Jan 16, 2021):
thanks for the reply running 1.2.5
@lucascbeyeler commented on GitHub (Jan 18, 2021):
That's probably Zimbra - their API is broken for backing and restoring data for a long time.
@killmasta93 commented on GitHub (Jan 18, 2021):
thanks for the reply, so im able to restoring running this command
su - zimbra -c "zmmailbox -z -m sistemas@mydomain.com postRestURL '//?fmt=tgz&resolve=skip' /mnt/full-20210110013003/sistemas@mydomain.com.tgz";@lucascbeyeler commented on GitHub (Jan 18, 2021):
possible - give it a try. Worst case scenario I change the code to use this CLI command instead
@killmasta93 commented on GitHub (Jan 18, 2021):
so the above command works to restore, but the zmbackup command line does not
@HcKTR commented on GitHub (Jan 19, 2021):
Hello, thank you for your return. I haven't tried it yet. I took note of this command.
@killmasta93 commented on GitHub (Feb 1, 2021):
yeah thats why for now only restoring mailbox using the command, waiting till the new update to fix this issue
su - zimbra -c "zmmailbox -z -m sistemas@mydomain.com postRestURL '//?fmt=tgz&resolve=skip' /mnt/full-20210110013003/sistemas@mydomain.com.tgz";@lucascbeyeler commented on GitHub (Feb 6, 2021):
Hi,
I did not release yet a new version but for the latest commit I'm using zmmailbox. Could you please try again with that version and see if the problem persists?
@killmasta93 commented on GitHub (Feb 8, 2021):
thanks for the reply, should i update it? and retry this command?
zimbra@mail:/root$ zmbackup -r -m full-20210110013003 sistemas@mydomain.com@lucascbeyeler commented on GitHub (Feb 8, 2021):
yes, please
@killmasta93 commented on GitHub (Feb 9, 2021):
so i tried the following updated to 1.2.6 and restored another mailbox but i got this
i checked the size
Thank you
@lucascbeyeler commented on GitHub (Feb 10, 2021):
zimbra@mail:/root/zmbackup$ zmbackup -r -m full-20210207013003 contabilidad@mydomain.com
@lucascbeyeler commented on GitHub (Mar 14, 2021):
Closing the ticket because of inactivity - if the problem persists please feel free to reopen.
@killmasta93 commented on GitHub (Mar 17, 2021):
thanks for the reply, and sorry for the late reply, so i retied and got this error
@lucascbeyeler commented on GitHub (Apr 4, 2021):
You are using -m option for an account that does not exist. That´s the issue
@killmasta93 commented on GitHub (Apr 4, 2021):
Thanks for the reply. it says the account does not exist but it does, i tried another account to see what happens, whats odd is that not sure why it shows like n/gky
-rwxr-xr-x 1 zimbra zimbra 1.3K Apr 3 01:34 sky@mydomain.com.co.tgzThank you
@lucascbeyeler commented on GitHub (Apr 5, 2021):
I mean not the file, I mean the account inside zimbra server... -m is just to restore the e-mails and nothing more. And that´s not Zmbackup error - that´s your mailserver error
@killmasta93 commented on GitHub (Apr 7, 2021):
thanks for the reply, but the account sky@mydomain.com.co does exist
@wh4u commented on GitHub (Apr 14, 2021):
The same behavior occurred to me also
@killmasta93 commented on GitHub (Apr 25, 2021):
any updates?
@killmasta93 commented on GitHub (May 17, 2021):
bump?
@tofuSCHNITZEL commented on GitHub (Aug 30, 2022):
this is fixed here:
github.com/tofuSCHNITZEL/zmbackup@d5028344fethe bash replacement was not working as intended