[clug] A "How to" SSH question: copy file (scp/sftp) to remote system, then trigger a handler on remote.
clug at christophersmart.com
Thu Jan 21 11:21:54 UTC 2016
On 21/01/16 21:41, steve jenkin wrote:
> Did not know about this rsync option.
> Will reliably do the sort of thing I need, and across multiple systems.
> There are two situations which require difference acquittals of transactions on originator:
> - real-time processing allows a local script to run, and the ‘remove source’ option works.
> - batch or serialised (due to load/performance issues). Needs a queue handler and another
Just keep in mind rsync is not encrypted, so you'd need to set up an ssh
tunnel first or something, if the data is sensitive.
More information about the linux