Click Edit in the Export Query Content section. Select a metadata field from the Field list. Select an Operator from the list. Enter the criteria in the Value field. Click Add.

8-28 Oracle Fusion Middleware System Administrators Guide for Oracle Content Server ■ Section 8.4.2.5, Editing the Archive Properties of a Table ■ Section 8.4.2.6, Creating a Table Export Query ■ Section 8.4.2.7, Setting Export Options ■ Section 8.4.2.8, Initiating the Export

8.4.2.1 Manually Exporting

To export content manually:

1. Create an archive where the exported Oracle Content Server data will be stored.

See Section 8.3.2.1, Creating a New Archive.

2. In the Current Archives list, select the archive.

3. Create an export query. See

Section 8.4.2.2, Creating a Content Item Export Query.

4. Set configuration information export options. See

Section 8.4.2.3, Exporting Configuration Information.

5. Set the general export options. See

Section 8.4.2.7, Setting Export Options.

6. Initiate the export. See

Section 8.4.2.8, Initiating the Export.

8.4.2.2 Creating a Content Item Export Query

Export queries define which revisions will be exported. Follow these steps to create an export query: 1. Open the archive collection. See Section 8.3.3.1, Opening a Collection. 2. Select the archive in the Current Archives list. 3. Click the Main Archiver Export Screen .

4. Click Edit in the Export Query Content section.

The Edit Export Query Content Screen is displayed.

5. Select a metadata field from the Field list.

6. Select an Operator from the list.

■ The available operators depend on which Field is selected. ■ The available operators map to basic SQL query operators. To use other SQL query operators, create a basic expression and then edit it in the Custom Query Expression box see step 10.

7. Enter the criteria in the Value field.

Depending on the option selected in the Field list, you can enter text directly, click the Select button and select from the available values, or select directly from a list of the available values.

8. Click Add.

The query expression is added to the Query Expression box, and the SQL version of the query expression is displayed in the Custom Query Expression box. 9. To add to the query expression, repeat steps 5 through 8. By default, each part of the expression is added using an AND operator. Managing System Migration and Archiving 8-29 To update an existing query, select the line to be changed in the Query Expression box and edit the Field, Operator, and Value fields as necessary. Click Update. The specified query expression replaces the selected line. To delete a line from the query expression, select the line to be deleted in the Query Expression box. Click Delete. The selected line is deleted. 10. To edit the SQL expression directly:

a. Select Custom Query Expression.

b. Edit the text in the Custom Query Expression box. You can use Idoc Script in the query expression. For example, to archive content more than one year old, you could use dateCurrent-365 as the Release Date value. See the Oracle Fusion Middleware Idoc Script Reference Guide for more information. 11. Specify whether to export revisions based on the last export date: ■ To export only revisions that have been released since the last export, select Export Revisions with Release Date later than most recent Export Date . ■ To export all revisions, deselect Export Revisions with Release Date later than most recent Export Date . 12. Specify whether to export revisions that were published to the Oracle Content Server instance by Oracle Content Publisher: ■ To export published revisions, select Allow Export of Published Revisions. ■ To export only unpublished revisions, deselect Allow Export of Published Revisions . 13. Specify which revisions to export: ■ To export all revisions of each content item, select the All Selected Revisions option. ■ To export only the latest revision of each content item, select the Latest Revisions option. ■ To export all revisions except the most recent, select the Not Latest Revisions option. ■ To export the most recent revision that matches the query, select the Single Revision Replication option. For details about how this option affects the replication process, see Section 8.7.1.1, Single Revision Replications.

14. Click OK.

The export query is displayed in the Export Query box on the Content tab. Caution: If you deselect the Custom Query Expression checkbox, the query expression reverts to its original definition; all modifications will be lost. Caution: Do not use the Latest Revision option and automatic replication. These options, used in conjunction, can cause unpredictable archive behavior. For more details about automatic replication, see Section 8.7, Replicating Files.