[GH-ISSUE #134] restore/import backup to another server #105

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

Originally created by @asep008 on GitHub (Sep 6, 2019).
Original GitHub issue: https://github.com/lucascbeyeler/zmbackup/issues/134

Originally assigned to: @lucascbeyeler on GitHub.

ISSUE TYPE
  • Question
ENVIRONMENT VERSION
  • Zmbackup Version: 1.2.3
  • Zimbra Version: Release 8.8.6_GA_1906.RHEL7_64_20171130041047 RHEL7_64 FOSS edition.
  • Linux Distribution & Version: Release 8.8.6_GA_1906.RHEL7_64_20171130041047 RHEL7_64 FOSS edition.
SUMMARY

i want to restore my backup to another server with different hostname server.

STEPS TO REPRODUCE

on the source server i am using this command to backup

zmbackup -f -d my.domain.com

and then i mount my backup directory to server restore and use this command to restore.

zmbackup -r full-20190906155310
ACTUAL RESULTS
Restore LDAP process with session full-20190906155310 started at Fri Sep  6 16:27:36 WIB 2019
Error during the restore process for account user@my.domain.com. Error message below:
user@my.domain.com: ldap_add: No such object (32)
        matched DN: dc=x,dc=y,dc=x
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
  InsecureRequestWarning)

http: warning: HTTP 404 no such item
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 no such item</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /service/home/user@my.domain.com/. Reason:
<pre>    no such item</pre></p>
</body>

and then i try to create an object for that user@my.domain.com the result for restore like this

Error during the restore process for account user@my.domain.com. Error message below:user@my.domain.com: /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
  InsecureRequestWarning)

and if i open zimbra admin the use accounhave asterisk symbol "*" with description "this mail account uses external transport"

Originally created by @asep008 on GitHub (Sep 6, 2019). Original GitHub issue: https://github.com/lucascbeyeler/zmbackup/issues/134 Originally assigned to: @lucascbeyeler on GitHub. <!-- Before open an issue, please remember to check our Google Group (link in README.md) and the other issues. Maybe what you want is already answered. You don't need to answer all the questions below, just answer what is pertinent to what you want (You don't need to explain the steps to reproduce and the results if your issue is about the documentation) --> <!-- ISSUE TYPE: Inform what kind of issue we are talking about. Choose only one option. --> ##### ISSUE TYPE - Question <!-- ENVIRONMENT VERSION: Describe the environment you are using the Zmbackup and its version. --> ##### ENVIRONMENT VERSION - Zmbackup Version: 1.2.3 - Zimbra Version: Release 8.8.6_GA_1906.RHEL7_64_20171130041047 RHEL7_64 FOSS edition. - Linux Distribution & Version: Release 8.8.6_GA_1906.RHEL7_64_20171130041047 RHEL7_64 FOSS edition. <!-- SUMMARY: Describe your issue in this field. The more detailed you gave us, more easy and fast will be for us to debug and fix the software. --> ##### SUMMARY i want to restore my backup to another server with different hostname server. <!--- SUMMARY:For bugs, show exactly how to reproduce the problem, using a minimal test-case. For new features, show how the feature would be used. --> ##### STEPS TO REPRODUCE on the source server i am using this command to backup ``` zmbackup -f -d my.domain.com ``` and then i mount my backup directory to server restore and use this command to restore. ``` zmbackup -r full-20190906155310 ``` <!-- ACTUAL RESULTS: What happened when you did the steps before. --> ##### ACTUAL RESULTS ``` Restore LDAP process with session full-20190906155310 started at Fri Sep 6 16:27:36 WIB 2019 Error during the restore process for account user@my.domain.com. Error message below: user@my.domain.com: ldap_add: No such object (32) matched DN: dc=x,dc=y,dc=x /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning) http: warning: HTTP 404 no such item <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 404 no such item</title> </head> <body><h2>HTTP ERROR 404</h2> <p>Problem accessing /service/home/user@my.domain.com/. Reason: <pre> no such item</pre></p> </body> ``` and then i try to create an object for that user@my.domain.com the result for restore like this ``` Error during the restore process for account user@my.domain.com. Error message below:user@my.domain.com: /usr/lib/python2.7/site-packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning) ``` and if i open zimbra admin the use accounhave asterisk symbol **"*"** with description "this mail account uses external transport"
kerem 2026-02-27 08:14:22 +03:00
Author
Owner

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

Fixed in 1.2.5

<!-- gh-comment-id:740664703 --> @lucascbeyeler commented on GitHub (Dec 8, 2020): Fixed in 1.2.5
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#105
No description provided.