My Oracle Support Banner

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.

Symptoms


On : 11.1.1.3.0 version, Administration

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

ERROR
-----------------------
[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



STEPS
-----------------------
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

BUSINESS IMPACT
-----------------------
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.

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.