home *** CD-ROM | disk | FTP | other *** search
- Other matters
- =============
-
- In this section matters which are relevant to both programs, and of
- a more general nature are discussed.
-
- Note that in this section, when something applies to both Backup
- and Restore, HardBack is used to mean either Backup or Restore.
-
- Memory management
- -----------------
-
- To operate, a backup or restore operation needs a block of memory
- to read data into and output from. Basically, the more memory
- HardBack has access to, the faster it goes. For this reason it is
- recommended that you allocate as much memory as possible to
- whichever part of HardBack is running. This is possible in two
- ways. Firstly, you can set the buffer size directly within Backup’s
- options window - this will only be used if it is a sensible amount.
- Secondly, both programs have a red draggable bar in the Task
- Manager, which allows you to alter the memory dynamically. If
- you drag this bar to the right, you will increase the memory
- supplied to HardBack, while dragging it to the left reduces it. You
- cannot drag it to zero, because some space has to be left for the
- program itself.
-
- You can alter the memory allocation at any time, even when a
- backup or restore operation is in progress. This means that you
- could temporarily borrow some memory from HardBack to do
- something, and then give it back after you have finished. The only
- disadvantage would be that HardBack slows down while it has less
- memory.
-
- You can alter the memory permanently by changing the value of
- HardBackD$Slot in the !Run file of Backup. This value needs a
- little explaining:
-
- Memory in HardBack is allocated in two blocks, with the sizes
- independently controlled. The first area contains the program code
- itself plus internal workspace and other variables, and the length of
- this is controlled by the Wimpslot command in the !Run file.
- There is no need for this to be changed since increasing it serves no
- purpose, and decreasing it means HardBack will not work properly.
- The second area is controlled by HardBackD$Slot, and forms the
- file buffer. This is the area which can be changed in size from the
- Task Manager. HardBackD$Slot contains the default setting for
- the length of the memory taken up by both blocks combined, in
- kilobytes. If HardBackD$Slot is out of range it will simply be
- ignored. Currently in the !Run file it is set to 400k
-
- Default script file
- -------------------
-
- If you want to keep a default script file that it not in the !Backup
- directory, perhaps if it is stored on a read only filing system, simply
- set the system variable HardBackD$Default to the name of the file
- before you load !Backup. For example:
-
- Set HardBackD$Default SCSI::HardDisc5.$.Utils.HardBack.Prefs
-
- Risc OS 2
- ---------
-
- Throughout the development of HardBack, every effort has been
- made to ensure that nothing is used which will make it
- incompatible with Risc OS 2. This has largely meant that
- HardBack will run on Risc OS 2 machines without problems.
- However, there are a number of points to consider.
-
- Firstly, to run HardBack, you will need the MessageTrans module,
- which I cannot supply for copyright reasons. This should be
- available from Acorn and is also available with many other
- packages.
-
- While most of HardBack is compatible with Risc OS 2, the
- program is forced to do things a little differently, some using
- slightly illegal methods. For example, the Incremental On/At
- setting has to write to the Real Time Clock. The old time is
- restored afterwards, so the time loss is minimal, but if you do it
- several hundred times you may lose a second or so.
-
- Also please note that the testing on Risc OS 2 was performed some
- time ago, so some of the newer features have not been tested. This
- is simply because I have not had access to a Risc OS 2 machine for
- a while. Any new information would be greatly appreciated.
-
- Command line
- Backup can also be called from the command line to backup the
- options set in a particular script file. A number of switches have
- been included to control features of Backup which allow it to be
- run without human assistance, for example from Risc OS 3 Alarm
- in the middle of the night.
-
- -read <filename>
- If this command is present HardBack will load the script file
- specified, enter the details into the options window and leave this
- window open. It will not proceed with the backup operation. If a
- filename is passed to HardBack without either -read or -execute,
- then it is assumed that it began with -read and will behave as
- above.
-
- -execute <filename>
- This command has the same effect as double clicking on a script
- file - HardBack loads the script file and begins the backup
- operation. Together with the three options below, it can be used to
- perform a backup operation without any human input while it is
- proceeding. If both -execute and -read are present then the -read
- command will be ignored and HardBack will load and carry out the
- file named after -execute.
-
- -autodisc
- This prevents messages such as ‘Insert archive disc ..’ for disc 1
- only. This is useful because the computer can perform a backup
- completely unattended - for example backing up to a second hard
- drive in the middle of the night. However, if more than one disc is
- required or something else goes wrong then the program will
- display a prompt box, since there is nothing it can do about the
- situation without human assistance.
-
- -wipe
- This is useful for situations when -autodisc is used. It tells
- HardBack to wipe the destination disc before it begins the backup
- operation, in the same way that this would occur if the user agreed
- to it via a prompt box. If it is not set then the contents of the
- destination disc remain intact, although files named Backup and
- Keyfile in the destination directory will be overwritten.
-
- -quit
- This option tells HardBack, in conjunction with -autodisc, to quit
- itself after a backup operation has finished. If any errors occurred
- during the operation, then HardBack will stay in memory to warn
- that the backup failed in some way.
-
- Using these options in conjunction with Andreas Barth’s PD
- !iicAlarm, it is possible to have your computer turn on at a certain
- time, do a backup, and then turn itself off again without any human
- assistance.
-
- History
- -------
-
- Backup
- v0.010 - v0.575 Development versions
- v1.576 - v1.631 Demo versions
- v2.576 - v2.647 Registered versions
-
- Restore
- v0.010 - v0.367 Development versions
- v1.368 - v1.390 Demo versions
- v2.368 - v2.481 Registered versions
-