Archiving or Unarchiving Files
You can use File Processor Connector to archive and un-archive local files. Use the FileArchive object to archive and the FileUnarchive object to un-archive the local files. File Processor Connector supports tar format to archive and un-archive local files.
Archiving or Unarchiving Files Example
You are a system administrator and want to archive files present in the local file system.
Perform the following steps to create a Data Synchronization task to archive files present in local file system:
1. To create a Data Synchronization task, click Task Wizards > Data Synchronization, and then click New.
2. In the Definition page, configure the following fields:
Field | Description |
---|
Task Name | Name of the Data Synchronization task. For example: File_Process_TAR_Archive_LRT |
Description | Description of the Data Synchronization task. Maximum length is 255 characters. |
Task Operation | Select Insert. |
3. Click Next.
4. In the Source page, configure the following fields:
Field | Description |
---|
Connection | Select the connection you created. For example: File_Process_TAR_Archive_all |
Source Type | Select Single. |
Source Object | Select FileArchive. |
5. Click Next.
6. In the Target page, configure the following fields:
Field | Description |
---|
Connection | Select the flat file connection. |
Target Object | Click Create Target. |
7. Click Next.
8. In the Data Filters page, create a new filter, and filter by the required field as shown in the following image:
9. Click Next.
10. In the Field Mapping page, click Automatch.
11. Click Validate Mapping.
12. Save and run the Data Synchronization task.