mirror of
https://github.com/lucascbeyeler/zmbackup.git
synced 2026-04-24 22:55:56 +03:00
[GH-ISSUE #181] Restore backup to a clean installation #143
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#143
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 @kfam-marcink on GitHub (Feb 12, 2023).
Original GitHub issue: https://github.com/lucascbeyeler/zmbackup/issues/181
ISSUE TYPE: Question
ENVIRONMENT VERSION
SUMMARY
I have a old server running zimbra OCS and new one in separate location. I would like to create a backup on the new server to have a possibility to quicly restore it in case of emergency. For that I'm using the zmbackup installed on both machines and a nfs share common to the both servers.
After I run the zmbackup -f on the old server the backup creates the files and adds the backup into session file, so when I go to the new machine the server shows the backups and I can list them running the zmbackup -l.
Thus when I try to restore with zmbackup -r full-20230210122125 I receive the following errors:
Restore LDAP process with session full-20230210122125 started at Sun Feb 12 10:11:36 CET 2023
Error during the restore process for account user1@mydomain.pl Error message below:
user1@mydomain.pl: ldap_add: No such object (32)
adding new entry "uid=user1,ou=people,dc=mydomain,dc=pl"
The result of that error is:
Restore mail process with session full-20230210122125 started at Sun Feb 12 10:13:41 CET 2023
Error during the restore process for account user1@mydomain.pl. Error message below:
user1@mydomain.pl: ERROR: account.NO_SUCH_ACCOUNT (no such account: user1@mydomain.pl)
None of the data is restored.
Why the backup is not restoring the accounts and theirs contents?
@FlorianHeigl commented on GitHub (Feb 18, 2026):
try to create the domains in advance, it seems to be that there's some restore methods that won't do it.
still fighting with a similar issue, I'll try to comment once more if i get a good overview.