PDA

View Full Version : Updating one text file from remote sites



Delerium
30-08-2011, 10:14 AM
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.

fred_fish
30-08-2011, 10:20 AM
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.

Delerium
30-08-2011, 10:46 AM
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.