Re: Restore from Backup Fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Remove "-n userRoot" from the restore script, this "false option" was

Removing this option from 'bak2db' fixed issue 1) however, 'bak2db.pl' still causes ns-slapd to crash.


> Was the backup from a different
> instance/server?
> 
> Looks like it's a bad backup but hard to say.  You could run dbverify on 
> your backup directory to see if it complains about anything:

The backup was made from the same server, running 'dbverify' didn't find any issues in the backup. 


> This launches a task to perform the backup but the script returns before 
> the task is even started, then below you are doing db2ldif's.  Potential 
> race condition.   I'm not sure if that could be causing an issue, but 
> the db2ldif should be done after the backup (db2bak) is complete.  
> Ideally this should all be done while the server is stopped, but it's 
> not a requirement.

We will look into this changes in more detail to make see if this is causing the issues.

Thanks Mark for the prompt reply, it has helped us a lot to better understand the backup and restore scripts.

Elena

_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux