This file explains how to do a simple installation of Paranoid Backup. This
assumes that you install Paranoid Backup to the directory
/root/Paranoidbackup, you have one configuration, the configuration
directory is /root/Paranoidbackup/all, kxarc is used to make the archives,
the mdti directory is /root/Paranoidbackup/all/mdti, you use the default
names for all the files, you do not repeat backups, you are not using an
mdti server other than the two in Paranoid Backup, etc. Note that this is
not the only way to install Paranoid Backup.


First, you should have been logged in as root and the current directory
should have been /root when you unarchived Paranoid Backup, and it should
have created a directory named /root/Paranoidbackup and put the files there.
If not, delete the files you unarchived and unarchive it again.

Check the configuration file /root/Paranoidbackup/all/config; this is
explained in the file /root/Paranoidbackup/paranoidbackup.text under
CONFIGURATION. Also check the files /root/Paranoidbackup/all/include_exclude
and /root/Paranoidbackup/all/directory_exclude; these two files control
which files are backed up and which are not, and are explained in the file
/root/Paranoidbackup/CompareFileLists.text. The configuration files
included in the archive are the configuration files which I actually use,
which may may or may not be what you want.

cd to directory /root/Paranoidbackup/all/mdti. It is already configured to
use the tape server. If you want to use the tape server, check the
configuration file 'config', which is explained in the file
/root/Paranoidbackup/mdti.tapes.text. If you want to use the disk server,
edit the file 'start' and change 'mdti.tapes.pl' to 'mdti.mdisks.pl', delete
file 'config', rename file 'config.disk' to 'config', and check 'config' as
explained at the end of file /root/Paranoidbackup/mdti.mdisks.pl.

cd to directory /root/Paranoidbackup and run 'testpb'. This runs a short
backup and compare, which should tell you if Paranoid Backup is working. The
output is saved to the file /root/Paranoidbackup/output, so if the error
messages scroll off the display too fast to read, read the file
/root/Paranoidbackup/output. If it did not work, find the problem and
fix it, and run 'testpb' again until it works.

Copy (or move or link) the file 'pbui' to somewhere in the path (or add
/root/Paranoidbackup to the path). I put pbui in /usr/P; /usr/bin would be
good too. You may want to make some changes to pbui; edit pbui with a text
editor and read the comments at the end.

Now Paranoid Backup is configured. If your hard drive crashes and you try to
do a restore, you will have to reinstall and reconfigure Paranoid Backup
before you can restore. You should copy the configuration files to a floppy
disk now; and then if your hard drive crashes, you can copy the
configuration files back to your hard drive; this will be less work than
reconfiguring Paranoid Backup. You can backup and restore the configuration
files from the main menu of pbui, but you need to edit the file
backup_config_files first to control which configuration files are backed
up, and what floppy disk the files are backed up to; this is explained at
the end of the file backup_config_files.

Next you have to make the first virtual restore list. See the file
/root/Paranoidbackup/paranoidbackup.text where it explains
--make-virtual-restore-list. To make the virtual restore list,
run pbui and select make virtual restore list

Now you are ready to use Paranoid Backup. To make a backup, run pbui and
select backup. You probably should use options --check-control-file and
--verify-backup for your first backups, until you are sure Paranoid Backup
is doing what you want.

If you want to set a cron task to do backups at a certain time, perhaps you
want to do unattended backups in the middle of the night; then you might
want to make a shell script for doing a backup, and tell cron to run the
shell script. You could copy the short old version of pbui, which is at the
end of the comments at the end of pbui, and use that as a template for your
shell script. You could look through the file 'output' and find the complete
paranoidbackup.pl command generated by pbui for your previous backups, and
copy the command to your shell script.

If your hard drive crashes and you need to restore: reinstall the operating
system, reinstall Paranoid Backup, reinstall the Paranoid Backup
configuration files, run pbui, select rebuild tape index, and then select
restore. (Except if you are using the disk server instead of the tape
server, skip the step about rebuilding the tape index.)
