Forum Home
Press F1
 
Thread ID: 120208 2011-08-29 22:14:00 Updating one text file from remote sites Delerium (15349) Press F1
Post ID Timestamp Content User
1227008 2011-08-29 22:14:00 Morning all,
I dont know much about scripting, but is it possible to write a script that will allow multiple remote sites to update a single text file at an office. For example, when a back up has been completed successfully, the site name, time and date the back up was completed will be added to the file stored at the office in order to create an audit trail?

Cheers.
Delerium (15349)
1227009 2011-08-29 22:20:00 An SSH server in your central office would make it pretty trivial to do.
By email may be another option, remote site backup script uses command line mailer to send results, filter in office triggers on incoming mail and appends data to file.

A bit more detail about the environment would be helpful.
fred_fish (15241)
1227010 2011-08-29 22:46:00 Thanks for that,
that answered my question beautifully. I know it was a bit vague, I just didnt want to release too many details into the big wide yonder.

Cheers.
Delerium (15349)
1