Skip to content
Violet edited this page Nov 2, 2010 · 2 revisions

SyncTarget

This option is used by Publish Queue to specify a machine you would like to publish files to. If you wish to publish, or rsync files to multiple servers you can include multiple SyncTarget directives within config.cgi. For example, to sync published files from the system on which Melody is installed to the same filesystem path on web01.somedomain.com and web02.somedomain.com, then you would add the following to your config.cgi file:

SyncTarget  web01.somedomain.com
SyncTarget  web02.somedomain.com

Note: This functionality is currently limited to syncing files via the same filesystem path, on the other servers and you cannot use HOST:/PATH syntax provided through the rsync command line tool because MT uses the --relative and --files-from options which change rsync's default behaviors. Please see the rsync man page for more details if you are unfamiliar with these options.'

See Also

Clone this wiki locally