ODSEE - "dsadm restore" Outputs Error - "Failed to restore data: err=13"
(Doc ID 1446193.1)
Last updated on APRIL 18, 2022
Applies to:Oracle Directory Server Enterprise Edition - Version 6.0 and later
Information in this document applies to any platform.
When attempting to restore from binary backup using dsadm restore,
the following error occurs.
/<DS_INSTALL_ROOT>/dsee7/lib/64/ns-slapd archive2db -D /<DS_INSTALL_ROOT>/dsee7/<DS_INSTANCE> -a /<BACKUP_DIR>/ failed: err=13
Failed to restore data: err=13
The issue can be reproduced at will with the following steps:
1. Directory server instance is 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
Due to this issue, users cannot log into apps because user entries can not be restored from backup.
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