Staging & Synchronization
You can use Sitefinity to synchronize data between different environments. For example, you can synchronize all of the newly edited news from your work environment with your production server. You do this by using Sitefinity to publish items from your work environment to your production environment. For more information and prerequisites, see Syncing of data and Site synchronization key.
Common server settings
Ensure that the Staging and Syncing module is installed and enabled on both the source and target servers. For more information about modules, see Activating and deactivating modules.
Source server settings
To configure the target servers, where synchronization data will be send to, perform the following:
- In the main menu, click Administration » Settings.
The Basic settings page appears. - Click Staging & Synchronization.
In Server(s) where to send data section a list of all added servers, if any, appears. - Click Add a server.
- Enter the URL or the IP of the server where data will be sent.
- Enter username and password. These are the credentials of a user that exists on the server which you are going to synchronize with.
In order for site synchronization to work, you must have created a special user on the server that you are going to sync data to. This user must be administrator, but also must be different then the default admin user. During synchronization, this user must not be logged in. As username and password, enter the credential of this user. For example, on the server you are going to sync to, create a user named sync and assign it to the administration role. During synchronization, make sure this user is logged out. - Click Save.
- To edit the address of the server or the credentials, click Edit.
- To delete a server, click Remove.
- When finished adding servers, click Save changes.
Target server settings
- In the main menu, click Administration » Settings.
The Basic settings page appears. - Click Staging & Synchronization.
- In section Synchronization settings for this site select Allow content from other sites to be published to this site checkbox.
- In Site key field, enter a number from 1 to 100 that is unique among all (both source and target) servers that participate in the synchronization.