The transfer service stores files that control and monitor the operation of the transfer service in the Transfers space in the Data Dictionary.
You can add transfer targets by creating new transfer folders.
In the source repository, create a new folder in Company Home > Data
Dictionary > Transfers > Transfer Target Groups > Default Group.
In the New Folder window specify a name, for
example, Replica. You can add a title and
description, if you wish.
A rule defined on the Default Group folder specializes the type of any folder created in it.
The type is set automatically by the folder rule to trx:transferTarget. This allows you add the required properties to define the replication target through the user interface.
Manually change the type of the folder. In the Folder Details page,
select Change Type, and then choose
File Transfer Target for this new type.
This allows you to also set a Root Folder that's required by the File System Transfer Receiver system.
- Click Edit Properties on your new folder (Replica).
Specify the required properties:
- Specify the Endpoint Host, Endpoint Port, Username and Password.
- Specify the rest of the properties to point to the FSTR server
that you've setup using Start File System Transfer Receiver.Note: Here, you have the option to select the Root folder. Browse and select a sub-folder of the Document Library in the site from which you plan to transfer the files. For example, if you want to transfer some files from a folder called folder1 in a site called site1, select that folder1 as the Root Folder in the properties window.
- Click Enabled and Save.
Enable the replication service in your
replication.enabled=trueand restart the source repository.
- In the New Folder window specify a name, for example, Replica. You can add a title and description, if you wish.
In the target repository, enable the replication server and content receiver in
the alfresco-global.properties file:
replication.enabled=true transferservice.receiver.enabled=trueand restart the target repository.
On the source repository, create a replication job to test the target
- From the toolbar, click Admin Tools and select Replication Jobs from the menu.
- Click Create Job.
Specify properties for Name,
Name is a new folder name; for example, Replication Job. Payload is the source content directory, and Transfer Target is the folder name that you set up in step 1 (Replica).
- Click Enabled.
- Click Create Job.
- Refresh the screen after a few minutes to see a status change.
Verify the replication job.
Log in to Alfresco Share on the target repository, select a transferred file and click Open in Source Repository to check that content has replicated.