Pages

Thursday, March 19, 2015

System Folder Delete And Recover Artifacts ( DataSource , Repository URLS)

This post talks about how to take backup of configured datasources and repository (SVN) connection.

Follow these steps :

STEP 1 :
Take a back up of below files before you delete the old system folder
  • SYSTEM_FOLDER\DefaultDomain\config\config.xml
  • SYSTEM_FOLDER\DefaultDomain\config\jdbc
Folder
  • SYSTEM_FOLDER\o.jdeveloper.subversion\repositories.xml
STEP 2 :

Now delete the systemFolder

STEP 3:

Restore configurations

Copy the jdbc-system-resource elements into config.xml from the backup config.xml
Copy the contents of jdbc from the back up into the new jdbc folder
Create a dummy repository connection and Copy the svn-repository elements from the back up repositories.xml

Note that these steps only restore the SVN repositories and data sources.


Unfortunately all the encrypted passwords got corrupted.
So had to clear the password save and reset the passwords.

Enjoy!!!