Bug 2147446
| Summary: | RFE - Add backup task that collects more instance items | ||
|---|---|---|---|
| Product: | Red Hat Directory Server | Reporter: | mreynolds |
| Component: | 389-ds-base | Assignee: | mreynolds |
| Status: | CLOSED ERRATA | QA Contact: | LDAP QA Team <idm-ds-qe-bugs> |
| Severity: | unspecified | Docs Contact: | Evgenia Martynyuk <emartyny> |
| Priority: | high | ||
| Version: | 12.2 | CC: | bsmejkal, emartyny, eresnick, idm-ds-dev-bugs, pasik, pdoiphod, rakkumar, spichugi, vashirov |
| Target Milestone: | DS12.3 | Keywords: | FutureFeature, Triaged |
| Target Release: | dirsrv-12.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | sync-to-jira | ||
| Fixed In Version: | redhat-ds-12-9030020230711000312-1674d57 | Doc Type: | Enhancement |
| Doc Text: |
.Directory Server now backs up configuration files, the certificate database, and custom schema files
Previously, Directory Server backed up only databases. With this update, when you run `dsconf backup create` or `dsctl db2bak` commands, Directory Server also backs up configuration files, the certificate database, and custom schema files that are stored in the `/etc/dirsrv/slapd-__instance_name__/` directory to the backup default directory `/var/lib/dirsrv/slapd-__instance_name__/bak/config_files/`.
Directory Server also backs up these files when you perform the backup by using the web console.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-11-21 15:13:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
mreynolds
2022-11-23 21:56:34 UTC
Upstream ticket: https://github.com/389ds/389-ds-base/issues/2562 See customer case https://access.redhat.com/support/cases/#/case/03369816 Specifically - useful to export the site specific data that are not past of the standard DS installation. I just tried restoring using ldapadd an instance from a backed up LDIF made by dsconf backend export. The ACIs are not added. This backup/restore facility should be able to create and restore an instance in a single command. Here is the design doc for this new feature: https://www.port389.org/docs/389ds/design/expanded-backup-design.html ============================================================================================================ test session starts =============================================================================================================
platform linux -- Python 3.9.17, pytest-7.4.1, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.9.17', 'Platform': 'Linux-5.14.0-362.1.1.el9_3.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '7.4.1', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '3.0.0', 'html': '4.0.0', 'libfaketime': '0.1.2', 'flaky': '3.7.0'}}
389-ds-base: 2.3.5-1.module+el9dsrv+19320+04706864
nss: 3.90.0-3.el9_2
nspr: 4.35.0-3.el9_2
openldap: 2.6.3-1.el9
cyrus-sasl: 2.1.27-21.el9
FIPS: disabled
rootdir: /mnt/tests/rhds/tests/upstream/ds/dirsrvtests
configfile: pytest.ini
plugins: metadata-3.0.0, html-4.0.0, libfaketime-0.1.2, flaky-3.7.0
collected 1 item
dirsrvtests/tests/suites/basic/basic_test.py::test_basic_backup PASSED [100%]
====================================================================================================== 1 passed, 20 warnings in 41.21s =======================================================================================================
Marking as VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (redhat-ds:12 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2023:7429 |