ODSEE - "dsadm restore" Outputs Error - "Failed to restore data: err=13"

(Doc ID 1446193.1)

Last updated on FEBRUARY 23, 2017

Applies to:

Oracle Directory Server Enterprise Edition - Version 6.0 and later
Information in this document applies to any platform.


On : version, Administration

When attempting to restore from binary backup using dsadm restore,
the following error occurs.

[01/Apr/2012:08:52:49 -0700] - DEBUG - conn=-1 op=-1 msgId=-1 - restore: source directory /bkups/bkupTest3/ is not a complete backup
/DS11gR1/ODSEE_ZIP_Distribution/dsee7/lib/64/ns-slapd archive2db -D /DS11gR1/ODSEE_ZIP_Distribution/dsee7/13389 -a /bkups/bkupTest3/ failed: err=13
Failed to restore data: err=13

The issue can be reproduced at will with the following steps:
1. For a Directory server instance running as a non-root user, run dsadm backup
2. Run chown -R to make backup directory owned by a different non-root user
3. Run dsadm restore as root

The issue has the following business impact:
Due to this issue, users cannot log into apps because user entries can not be restored from backup.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms