Folder Archive Functions Exporting an Archived Folder Structure Importing an Archived Folder Structure

8-68 Oracle Fusion Middleware System Administrators Guide for Oracle Content Server In addition, you should create an archive for dynamic converter templates and transfer them to the target system before transferring other content. Otherwise an error occurs when a document that is eligible for dynamic conversion is imported. ■ The Configuration Migration Utility is particularly useful for propagating a part of an instance to another. For example, some customization, such as workflows or content profiles, may best be designed and tested on a development instance. After they are tested they can be migrated to your production system. Other development work, such as component development, is probably best done using the Component Wizard and Component Manager for testing and deployment. ■ Problems can occur when importing archives if required fields and validated option lists are not considered. If metadata fields have been changed to be required or if option lists have been altered between one migration and another, it will be difficult to import content into another system with those same metadata field definitions. To avoid this problem, temporarily change required fields to be non-required and change option lists to be non-validated before importing data on a target system. ■ You can use the Configuration Migration Utility with the archiver to create a regular snapshot of your instance.You should also make sure to make appropriate backups of your databases at the same time, to ensure that the entire system stays synchronized. ■ You should create a configuration migration package before creating an archive package to ensure that the appropriate metadata information is available on the importing Oracle Content Server instance. ■ Remember that migration is an additive process. The exporting configuration bundle of metadata information is added to the metadata that currently exists in the importing Oracle Content Server instance. If metadata information currently exists that matches the metadata being imported, and if the Force Overwrite rule has been selected during import, then the metadata on the importing Oracle Content Server instance is overwritten by the metadata from the exported bundle.

8.9 Folder Archiving

This section provides information about folder archiving. ■ Section 8.9.1, Folder Archive Functions ■ Section 8.9.2, Exporting an Archived Folder Structure ■ Section 8.9.3, Importing an Archived Folder Structure

8.9.1 Folder Archive Functions

The Folder Archive is part of the Folders component and has the following functionality: ■ Export a folder hierarchy : Used to assign a filename to an exported archive file and save it in a specified location. ■ Import folder hierarchy : Used to specify the filename of an archive to import. The imported folder structure removes all current folders and replaces them with the folder hierarchy. The Virtual Folder Administration Configuration page is used to export and import folder archives. Managing System Migration and Archiving 8-69 Figure 8–20 Virtual Folder Administration Configuration Page

8.9.2 Exporting an Archived Folder Structure

To export a folder hierarchy as an archive, use the following procedure: 1. Log in to the Oracle Content Server instance as an administrator.

2. Open the Administration tray.

3. Click the Folder Configuration link.

4. Click Export Archive.

A File Download window is displayed.

5. Click Save.

A Save As window is displayed. 6. Navigate to the directory where you want to save the folder archive file. 7. Specify a new file name so that you can easily identify the archive file for example, 041127_CollectionArchive.

8. Click Save.

The folder hierarchy is exported to the specified file. Note: In Windows, if you leave the file type as Text Document, a .txt extension will be appended to the file name for example, CollectionArchive.hda.txt. To save the file with just the .hda extension, select the All Files file type. 8-70 Oracle Fusion Middleware System Administrators Guide for Oracle Content Server

8.9.3 Importing an Archived Folder Structure

Use the following procedure to import an archived folder structure: 1. Log in to the Oracle Content Server instance as an administrator.

2. Open the Administration tray.

3. Click the Folder Configuration link.

4. Click Browse and navigate to the archive file you want to import.

5. Click Open.

The path and file name appear in the field.

6. Click Import Archive.

A confirmation prompt is displayed.

7. Click OK.

The archived folder is imported and re-created. See the Oracle Fusion Middleware Application Administrators Guide for Content Server for details about exporting and importing folders.

8.10 Folder Structure Archiving