+++ This bug was initially created as a clone of Bug #1098653 +++
This bug is created as a clone of upstream ticket:
We are backing up our database daily with db2bak.pl, and have started to notice the following messages:
[13/May/2014:03:59:08 -0600] - Backend instance "changelogdb" does not exist; Instance path /var/lib/dirsrv/slapd-cora/changelogdb could be invalid.
[13/May/2014:03:59:08 -0600] - Backup: error in copying directory (/var/lib/dirsrv/slapd-cora/changelogdb -> /var/lib/dirsrv/slapd-cora/bak/cora-2014_05_13_03_59_08/.repl_changelog_backup): err=-1
# ls -l /var/lib/dirsrv/slapd-cora/changelogdb
-rw-------. 1 dirsrv dirsrv 2859008 May 14 13:22 dab99282-1dd111b2-84f8fd5b-e7890000_4e7cb85b000000010000.db4
-rw-rw-r--. 1 dirsrv dirsrv 0 May 12 14:30 dab99282-1dd111b2-84f8fd5b-e7890000.sema
-rw-------. 1 dirsrv dirsrv 30 Dec 9 2012 DBVERSION
Noriko reproduced with master as well.
Steps to reproduce:
1. set up MMR
2. run some modify operations to generate a change log db
3. stop a server
4-2. /path/to/db2bak -D 'cn=directory manager' -w <pw>
5-1. restore from 4-1.
5-2. start the server and verify the server is healthy.
5-3. stop the server.
6-1. restore from 4-2.
6-2. start the server and verify the server is healthy.
I followed the steps to backup and restore using db2bak.pl and db2bak script files, its completed successfully. Hence, marking the bug as Verified.
Build tested: 389-ds-base-184.108.40.206-11
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.