    #
    # Leave this part alone!
    #
if (! defined($hostname)) {
    open(HOST, "/bin/hostname |") || die "can't get the hostname";
    chop($hostname=<HOST>);
    close(HOST);
}

    #
    # Where are the database files located at?
    #
$db_dir =		"/n/cheops/1/backup-db";

    #
    # default values for things
    #
$backup_dir =		"/n/pun/0/backups";

    #
    # Locations of programs and libraries and stuff...
    #
$bdir =			"/usr/local/utils/nbu";

    #
    # Per host list of what to backup...
    #
$backup_file =		"/etc/backups";

    #
    # Mode and umask to use for just about everything.
    #
$db_mode =		0660;
umask(007);

    #
    # I suggest leaving these alone.  These are the names of the 
    # files that comprise the database...they ought to be in $db_dir.
    #
$backup_config =	"$db_dir/backup.config";

$run_sequence =		"$db_dir/run-id";
$backup_sequence =	"$db_dir/backup-id.";
$tape_sequence =	"$db_dir/tape-id";

$tape_db_file =		"$db_dir/tape.db";
$run_db_file =		"$db_dir/run.db";
$run_host_file =	"$db_dir/run.db.";
$backup_host_file =	"$db_dir/backup.db.";

$file_dir =		"$db_dir/files";
$error_dir =		"$db_dir/errors";
$lock_dir =		"$db_dir/locks";

    #
    # These are the names of the programs used in the backup system.  
    #
$all_backup_prog =	"$bdir/all-backups";
$backend_prog =		"$bdir/backend";
$do_backup_prog =	"$bdir/do-backups";
$backup_prog =		"$bdir/backup";
$lock_prog =		"$bdir/lock";
$fake_prog =		"$bdir/fake";

    #
    # Name of the library that gets loaded into almost everything.
    #
$backuplib_file =	"backuplib.perl";

    #
    # Things that are specific to various archive types
    #
$tarlib_file =		"tarlib.perl";
$tar_prog =		"/usr/local/bin/gtar";
$tardates =		"/etc/tardates";
$exclude_string =	"-X $db_dir/exclude";

$unctime_file =		"unctime.perl";
$dumplib_file =		"dumplib.perl";
$dump_prog =		"/usr/etc/dump";
$dump_lock =		"/tmp/dumpdates";

    #
    # Magic string to use in tape labels
    #
$tape_magic =		"xyZZy";

1;
