Hi list, It took some time, but it's here. The "save_all.sh" script is now available as version 2.0 on the Cassandra archive Thanks Duc for letting us in once more. Since we had a little discussion here last week (and before) on possible dangers when running things automatically. When using these kind of tools: please inform you staff on what is running in the background, if it where only the protect yourself from you own safety works. When running save_alls with a script or even accessing a station through the ICC api, the system will take all measures to lock files and sessions etc, as if you where actually using the ICC itself. When you receive a warning for a locked database: be alarmed and investigate. Especially if you are the only one on site! It has turned out to be worth the effort. Ok where was I... This version 2.0 was based on the "Foxboro version 1.3.2" that was sent to Cassandra way back last century somewhere. This means that some of the enhancements you people have made are NOT in the new version. What IS in there now: - The same functions there where in Foxboro version 1.3.2 AND: - the upload feature by Duc M. Do and Stan Brown is in. The parameter -u will ENABLE uploads. - With the -h option you can select one ore more hosts to save_all's for - Sequence include files are now backed up automatically. Since the include files are not part of Foxboro standard save_all's they are stored in a separate directory. - An external configuration file is now supported. An example file (save_all.rel) is provided with all the supported user variables in it. Rename this file to save_all.cfg and the script will use the values in this file. What is NOT in: Compression other than "compress". This is not standard Foxboro. We can not test it properly. I do not have much against it though, unless you want to send this stuff to Foxboro for analasis. Some other things that I overlooked (OK that is an easy way out, but it will have to do) So here is the usage information: Save-all backup script version: 2.0 / April 2001 ----------------------------------------------------- Usage: save_all.sh -s string [[string] [string] [...]] [-h string [string] [...] ] [-u][-b backups] save_all.sh all [-b backups] [-h string1 string2] [-u] Use regular expression similar to grep ( no * ): Where: -u = force upload first -s string = [part of] station letterbug -b digit = number of backup's to be maintained -h string = [part of] host letterbug Example: save_all.sh all Make a save_all for ALL stations by ALL hosts in /opt/SAVALLS, maintaining 10 backups. Example: save_all.sh -s P30 -b 4 -u Do an upload and make a save_all for stations: CP3011, MGCP30, ACP30A, ..., in /opt/SA/een/twee/drie, maintaining 4 backups: Example: save_all.sh -h 1AWB11 all will make a save_all for all stations hosted by 1AWB11 in /opt/SAVEALLS maintain 10 backups. (the "all" parameter is optional ) We hope you will have a use for it and as usual: feedback is welcome Regards Marco de Waal / Ron Deen Foxboro Nederland N.V. ----------------------------------------------------------------------- This list is neither sponsored nor endorsed by the Foxboro Company. All postings from this list are the work of list subscribers and no warranty is made or implied as to the accuracy of any information disseminated through this medium. By subscribing to this list you agree to hold the list sponsor(s) blameless for any and all mishaps which might occur due to your application of information received from this mailing list. To be removed from this list, send mail to [EMAIL PROTECTED] with "unsubscribe foxboro" in the Subject. Or, send any mail to [EMAIL PROTECTED]