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 of the new folder, 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.
- Click Edit Properties on your new folder (Replica).
Specify the required properties:
- Specify the Endpoint Host, Endpoint Port, Username and Password.
- 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 of the new folder, 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.