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 three 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. Check the files /root/Paranoidbackup/all/include_exclude and
/root/Paranoidbackup/all/directory_include_exclude. These two files control
which files are backed up and which are not. include_exclude is explained
in the file /root/Paranoidbackup/CompareFileLists.text.
directory_include_exclude is explained in /root/Paranoidbackup/lsincexc.pl.
The configuration files included in the archive are the configuration
files which I actually use, which is probably different from what you want.

Decide if you want to use the tape server mdti.tapes.pl, the
multiple disks server mdti.mdisks.pl, or the drive server mdti.drive.pl.
cd to directory /root/Paranoidbackup/all/mdti. edit the file 'start'.
Make sure start runs the server you have chosen. You
need a configuration file named 'config' for the
mdti server. There are three sample configuration files named config.tape,
config.mdisks, and config.drive. Rename the sample configuration
file for your server to 'config'. Edit config. The configuration
file for the tape server is explained in
/root/Paranoidbackup/mdti.tapes.text. The configuration file for the
multiple disks server is explained at the end of
/root/Paranoidbackup/mdti.mdisks.pl. The configuration
file for the drive server is explained at the end of
/root/Paranoidbackup/mdti.drive.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 if you are using the
tape server, and then select restore.

