If replication is enabled and a changelog is configured backup fails
[28/Jul/2017:12:09:00.566037827 +0200] - ERR - dblayer_copy_directory - Backend instance "changelogdb" does not exist; Instance path /var/lib/dirsrv/slapd-s1/changelogdb could be invalid. [28/Jul/2017:12:09:00.572168833 +0200] - ERR - dblayer_backup - Error in copying directory (/var/lib/dirsrv/slapd-s1/changelogdb -> /var/lib/dirsrv/slapd-s1/bak/s1-2017_07_28_12_08_59/.repl_changelog_backup): err=-1
and the backup is incomplete
The reason is that in the patch for changing logging the flags passed to dblayer_copy_directory() were changed.
The attache patch reverses this:
<img alt="0001-Ticket-49334-fix-backup-restore-if-changelog-exists.patch" src="/389-ds-base/issue/raw/files/ce2d76220df07c7142ec745496ebb763f28e174f5a698f4948f770b6417c1ae8-0001-Ticket-49334-fix-backup-restore-if-changelog-exists.patch" />
Metadata Update from @lkrispen: - Custom field component adjusted to None - Custom field origin adjusted to None - Custom field reviewstatus adjusted to None - Custom field type adjusted to None - Custom field version adjusted to None
Metadata Update from @firstyear: - Custom field reviewstatus adjusted to ack (was: None)
master:
commit fd851b3
1.3.6:
commit c903f66
Metadata Update from @lkrispen: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/2393
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: fixed)
Log in to comment on this ticket.