DataKeeper - Alpha Version 0.5 All Rights reserved.
A program to give users a chance to back-up file systems even those on the network thru the FSbrowser .
Developed under NS release 2.1, as well as 3.0 ! :)
Warranty: This program is distributed "as-is" with no warranty whatsoever -- use it at your own risk.
Notes: This program is intended to demonstrate what the DataKeeper product will do and
become in the near future. THE ONLY DEVICE CURRENTLY DEFINED IS "/dev/(n)rst0. I know it
is a serious limitation, but the dead-line was too short to patch anything...sorry.
The upper left pop-up menu is not functional, idem with the "Hanoi" choice.
ABOUT INSTALL: DataKeeper use the Berkeley version of "df".
1/ install the scripts " rdf" and "script_df" in the /usr/bin directory, or at a place that can be found easily like /bin. ensure that that directory path appeas in the .cshrc
or .profile file (look at the "path" variable).
2/ create a file named DKHosts in /etc, and fill it with name of hosts you want to back up. Exampe:
dakar # <--- this is the name of the localhost you re running DataKeeper on
alger # all the others are remote machines.
tunis # use preferably host name instead of full ip address since the latest case
tripoli # has not been tested yet.
koweit
3/ You must include in each of these machine defined in the DKHosts file, an access right
for root from you current machine (ie: suppose you are running DataKeeper on host "dakar"
then you MUST set the .rhosts file or hosts.equiv in order to give DataKeeper root access on remote machines. The format of the .rhosts file (which must be located in the home dir of each machine) is the following:
# .rhosts file example
alger root
alger phil
tripoli root
dakar root
lome root
tunis root
koweit root
rabat root
4/ that is it !
Remarks: If you work, or address a computer that does not use the Berkeley version as defaut command, it is up to you to modify the rdf and script_df script file to obtai the proper result. A Berkeley df prints the information this way:
Filesystem kbytes used avail capacity Mounted on
/dev/sd0a 402253 363145 0 100% /
alger:/src 146618 83798 48158 64% /Sources
koweit:/disque 456300 215635 195035 53% /disque
tunis:/Next 344803 206296 104026 66% /stuff
What the rdf and script_df files do is to format the above results to obtain something like:
# note that the first (title) line no more exist -
/dev/sd0a 363145 /
alger:/src 83798 /Sources
So if you can't get the Berkeley df command on your system, rearrange the script to get those informaion in the right order. Note that some systems have the -B option to get a Berkeley output.
Tips to remains: Be sure to write down the Tape name before executing the dump. This will ive you the opportunity to keep a nice & useful dump history. Also, be sure to install the rdf andscript_df file in /usr/bin.
NOTES: DO TRY TO make multi-volume backup, the current alpha version will get lost.
Also if you do back-up of remote hosts, it should be a good idea to ensure everything
has been done right since this version doesn't use a interactive rsh, althought this
feature will be present in the commercial product. An HISTORY file is generated ala
dumpdates, and is located in /private/adm/, and named DKTraces. Note however that when a
problem occurs during back-up, the record is store in the file. This is a known bug.
We already use this app to do our back-ups even of remote hosts without any problems yet, taking into account restrictions i ve pointed above.
Possible improvements would include Restore operations, gnu tar, automatic scripts broadcast (rdf and scipt_df) over the net, Hanoi toack-up sequence, and much much more.... I hope you will enjoy this small utility.
THE TARGET PRICE MAY BE 80 or 90 $. Let me know what you think of it.
IF you encounter problems with the installation, please mail me.