Home > Data Miner 4.0.1 > Oracle Data Mining Applicat... > Install Prerequisites and O... > Installation Strategy > Overview of Installation Sc... > Backup and Restore Oracle D...
It is important to backup the Data Miner Repository (ODMRSYS schema) prior to either upgrading the repository or performing a database upgrade.
Having a backup allows an appropriate recovery operation to be conducted. Due to limitations of Oracle Database 11.2.0.1 through Oracle Database 11.2.0.3 database releases which affect XMLDB OR tables, there are some restrictions on what backup strategies can be utilized specifically for the ODMRSYS schema.
The following strategies can be used for backup and restore:
For Oracle Database 11.2.0.1 to 11.2.0.3: Do a full backup and restore using Oracle RMAN.
For Oracle Database Version 11.2.0.4 and above: Perform an ODMRSYS and user account backup using Data Pump to ensure that there is a complete backup for ODMRSYS and associated user account objects. Only user accounts that are granted access to Data Miner and have created workflows are required to be part of the backup.
Backup Workflows only using createxmlworkflowsbackup2.sql. This scripts backs up all workflows in the Data Miner Repository (ODMRSYS schema). Use restorexmlworkflowfrombackup2.sql to restore the workflows.
In a workflow only backup, only workflow meta data is backed up and not the objects produced by the workflows. Workflow only backup is a simplified backup strategy that safeguards the workflow specifications. With this approach, a user who accidentally deleted a workflow could make a request to restore just that specific workflow from the backup. The user would still have to rerun the workflow to ensure that all the underlying objects generated by the workflow are recreated in the user's account.
For detailed information about these strategies and examples, see SQLDevHome\sqldeveloper\dataminer\scripts\install_scripts_readme.html, where SQLDevHome is the directory where you installed SQL Developer.