[GH-ISSUE #181] Restore backup to a clean installation #143

Open
opened 2026-02-27 08:14:35 +03:00 by kerem · 1 comment
Owner

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

  • Zmbackup Version: 1.2.6
  • Zimbra Version: Release 8.8.15_GA_3869.RHEL7_64_20190917004220 RHEL7_64 FOSS edition, Patch 8.8.15_P36
  • Linux Distribution & Version: Linux version 3.10.0-1160.83.1.el7.x86_64

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?

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 - Zmbackup Version: 1.2.6 - Zimbra Version: Release 8.8.15_GA_3869.RHEL7_64_20190917004220 RHEL7_64 FOSS edition, Patch 8.8.15_P36 - Linux Distribution & Version: Linux version 3.10.0-1160.83.1.el7.x86_64 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?
Author
Owner

@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.

<!-- gh-comment-id:3920933874 --> @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.
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#143
No description provided.