short : Backup important CNet system files ... uploader : marlin cnet577 cts com type : comm/cnet architecture : m68k-amigaos Filetype : application/x-lzh-compressed Size : 19.87K Date : 10-Jul-94 Download : 💾
Long: ============================================================================ CNet Amiga BackUp, v2.0 README! File by Dotoran of Frontiers! ============================================================================ What is it? ~~~~~~~~~~~ This utility was written as a means of safeguarding CNet Amiga's more volatile information files, like "bbs.udata", "bbs.sdata", etc, although it has undergone numerous changes and has proven to be QUITE powerful! System Requirements: ~~~~~~~~~~~~~~~~~~~ In order to use this program, you MUST have the following: CNet Amiga, v3.0 or later. Arexx, v1.14 or higher. Arexx "rexxsupport.library". LHA, v1.40 or higher. (MUST be Named LHA & be present SOMEWHERE in your PATH, preferably in C:) And these DOS commands, located in your C: directory: Copy Delete Filenote Format MakeDir Protect Rename Sort The following calls are made using the "rexxsupport.library": SHOWDIR() SHOWLIST() STATEF() If you are lacking any of the above files, then you will NOT be able to use this program. None of these files are "out of the ordinary" which means you should already have these programs and files if you are running CNet to it's fullest potential. WARNING: ~~~~~~~ This program has the potential to be VERY DANGEROUS if used by one who does not know what they are doing, or one who shouldn't be using it anyways, so please SAFEGUARD this program in a directory available only to YOU in your PFILES: area, or better yet, don't add this file to your PFILES: at all... Instead, add it as a SysOp Only Command which is only known to YOU and those you trust. The old saying, "Out of sight, out of mind" is worth NOTING (REMEMBERING) where this program is concerned! It is also recommended that you NOT allow this file to be used REMOTELY, as their ARE possibilities something unforseen may need your attention, like running out of memory, etc. For this reason, I did NOT include any Loss of Carrier checks in either routine. Perhaps if you come home someday to see the port hanging, because someone used it remotely and lost carrier that you will REMEMBER to NOT allow users to use this from remote. OK, So How Do I Use It? ~~~~~~~~~~~~~~~~~~~~~~ Well, to start with, you should have two Arexx files in this archive: CNetBackUp - The SysOp Maint Module. CNetBackUpA - The AutoMaint Module. You should place both of these somewhere in your PFILES: partition. I have mine in the "PFILES:Maintenance/" directory, but you can have yours wherever you wish. You should then add the "CNetBackUpA" file as an EVENT that will be RUN every night. Settings might look like these: - Checkmark ALL SEVEN DAYS. - For Port(s), use your LOCAL Port. Mine's "0". - Event Time : "300" (3 AM) - Valid For : "100" (1 Hour) - Interval : "0" - Iterations : "1" - Command: "RunARexx" - Args: "pfiles:maintenance/CNetBackUpA" - Type: "Immediate--Force System Idle" You should now make a means for using the other file, "CNetBackUp". You can do this in one of two ways(or both if you prefer). You can either add it as an exclusive use only Arexx command file, or add it to your BBSMENU file as an item under Menu # 1, Maintenance Menu: CNB, CNet Backup | {#1pfiles:maintenance/CNetBackUp} ^ `---------. Control-Q | Exclusive Use ARexx PFile Lastly, it is also suggested that you create a directory INSIDE your CNET: directory called "BackUp". This is a TEMPORARY directory, which should remain EMPTY at all times. You can choose to use ANY directory as this TEMP directory, but if using the "BackUp" suggestion, you'll be less likely to store files here, that will be deleted the next time "CNetBackUpA" Backs Up your system. OK, Using CNetBackUp: ~~~~~~~~~~~~~~~~~~~~ When you first run the "CNetBackUp" file, you'll see a little message about the CONFIG file not being present in your SysData: path. This is only temporary as it will be created soon. Just press any key to enter the file. On the MAIN Menu of the program, you'll see seven choices: Edit File Parameters - Lets you modify several items of data which define how your BackUp File will operate. (More on this in a bit) Modify File Lists - Lets you modify the list of files that will be Backed Up when this BackUp File is used. Each data item consists of both the PATH and FILENAME of the file to be Backed Up. Add a BackUp File - Lets you add a NEW BackUp File to those that already exist. If this is your first time using CNetBackUp, pressing either "E" or "M" above will both have the same affect as this option. Kill a BackUp File - Allows you to remove a BackUp File you will no longer be using. This is quite helpful when using this program as an easy CNet LHA Packer, which is discussed later on in this file. (see "Extended Uses") Floppy Drives (DF0: DF1:, etc.) - This program will allow you to FORMAT a floppy disk that may be used as the DESTINATION for your BackUp file, but in order to do this, the program needs to know WHICH & HOW MANY floppy drives your system has. Pressing "F" will read the currently defined floppy drives for your system. The program will NOT let you choose FORMAT unless your designated DESTINATION is the same as one of the drives listed here. BackUp CNet Now - Will allow you to activate one of the BackUp Files, without having to wait for the "CNetBackUpA" file to do it. You'll be asked which BackUp File you wish to use, then the BackUp will begin. Upon completion, the BackUp File START DATE will also be updated, so the "CNetBackUpA" file doesn't repeat what you just did, until the interval has elapsed. [Q] Quit CNet BackUp - Does precisely that, no questions asked! (Pressing RETURN/ENTER will also activate the QUIT function). Some of the above menu items take you to other screens that contain even MORE data items. These "extended" screens are described below: Add/Edit File Parameters: ~~~~~~~~~~~~~~~~~~~~~~~~ Both of these items use a similar screen, which contains the following: File Extension - This is an extension from 1 to 3 characters that will be used to name the BackUp file. The format for a BackUp filename is: - CNetBackUp.??? <--- Where the ??? is your chosen EXTENSION. - This file is stored in your "SysData:" directory. - The extension "CFG" is reserved for the CNetBackUp CONFIG file. - The actual LHA'ed BackUp file will ALSO follow a similar format: - CNetBackUp_???.LHA <--- Where ??? is your EXTENSION. - Pressing ENTER/RETURN with nothing in the string gadget will use "BAK" as the default extension. BackUp Description - This text is simply used as a description for this BackUp File. It is only used by the program as a means of describing which File is being used for any given action. No filenames are based on this name. - Pressing ENTER/RETURN when empty here will use text of the format: "BackUp File # ???" where ??? will be the next numbered file. TEMP/WORK Path - This should be the location of a FIXED, EMPTY directory. By FIXED, I mean this should be a directory which will never be deleted. By EMPTY, I mean you should NEVER store any of your OTHER files in this directory, as the BackUp program will DELETE all the contents of this directory upon the completion of any BackUp task. It was suggested above that you create a directory called "BackUp" inside your CNET: path just for this purpose... It is NOT a good idea to use a directory in RAM:, as you may find you do not have enough RAM to store all the files you wish to back up! - If you press ENTER/RETURN in this string gadget when empty, and if the "cnet:backup/" directory exists, that will be the default used. DESTINATION Path - This is the location where the LHA packed BackUp file will be placed after it has been created. It was suggested above that you place this file on a FLOPPY disk, in the event you have a Hard Drive Crash, which might take out your ENTIRE partition. This way, at least you'll have your data on FLOPPY to help in your rebuilding! - NOTE: For both the TEMP/WORK Path, and the DESTINATION Path, it is not absolutely necessary to end each entry with a /. Your system will be scanned to see if a directory by this name actually exists, and if so, the "/" will be appended automatically, however if the program cannot locate the stated path, you'll be told this! If, however, you'll be using an ASSIGN that ENDS with a COLON, you MUST supply the COLON or the program will attempt to locate a file by this name. - Pressing ENTER/RETURN when the gadget is empty will use the first drive found on your system(as shown in the Floppy Drives section on the Main Menu) Interval in Days - This is the number of days between individual BackUps of data housed within this file. Set to "1" and this data will be Backed Up every night. Set to "7" and the data is Backed Up every week, etc. - The value of "1" will be used if ENTER/RETURN is pressed when the string gadget is empty. Format Dest Path - Provided you defined your DESTINATION PATH above as a FLOPPY DRIVE, you can have the "CNetBackUp" program FORMAT the Floppy Drive BEFORE the packed file is copied to it. This allows you to make sure the disk has enough room in which to store the BackUp. - If you specify YES, you'll then additionally be asked if you wish the disk to be FULLY formatted or QUICK formatted. The QUICK format will only be successfull on a disk that has been previously formatted. - Pressing ENTER/RETURN here will NOT format the disk. On the "Edit File Parameters" screen, on the top line, you'll be shown both the FILENAME of the Config File, as well as the date the AMAINT Module last backed this file up. Last BackUp Date - Only found on the EDIT screen, this allows you to CHANGE when the "A" module will next backup your info. - If you want to make it backup today, first note the number of interval days, then change this date so that it's that number of days into the past. This file will be used to perform a backup today during AMAINT. Edit File Contents: ~~~~~~~~~~~~~~~~~~ This is the screen where you define WHICH files and at WHICH paths you wish to be Backed Up using this BackUp File. The screen is formatted to only allow 15 items to be shown at one time. A "bar" menu at the bottom of the screen will show you the available commands:

Zum Live Linux: