2004-12-23 03:54:53 +01:00
|
|
|
#
|
|
|
|
# this config file will save various reports of vital system information.
|
|
|
|
# by default, all the reports are enabled and are saved in /var/backups.
|
|
|
|
#
|
2008-06-24 20:57:39 +02:00
|
|
|
# requires dpkg, debconf-utils, sfdisk, and hwinfo
|
2005-03-14 22:49:29 +01:00
|
|
|
#
|
2008-06-24 20:57:39 +02:00
|
|
|
# (1) a capture of the debconf package selection states. This file
|
|
|
|
# can be used to restore the answers to debconf questions for
|
|
|
|
# packages that you will be installing through (2) below. To
|
|
|
|
# do this, run: "debconf-set-selections < debconfsel.txt"
|
|
|
|
#
|
|
|
|
# (2) a list of all the packages installed and removed.
|
2004-12-23 03:54:53 +01:00
|
|
|
# this file can be used to restore the state of installed packages
|
2008-06-24 20:57:39 +02:00
|
|
|
# by running "dpkg --set-selections < dpkg-selections.txt and
|
|
|
|
# then run "apt-get -u dselect-upgrade". If you have the
|
|
|
|
# debconf-set-selections file from (1), you should restore those first.
|
2004-12-23 03:54:53 +01:00
|
|
|
#
|
2008-06-24 20:57:39 +02:00
|
|
|
# (3) the partition table of all disks.
|
2004-12-23 03:54:53 +01:00
|
|
|
# this partition table can be used to format another disk of
|
|
|
|
# the same size. this can be handy if using software raid and
|
|
|
|
# you have a disk go bad. just replace the disk and partition it
|
|
|
|
# by running "sfdisk /dev/sdb < partitions.sdb.txt"
|
|
|
|
# (MAKE SURE YOU PARTITION THE CORRECT DISK!!!)
|
|
|
|
#
|
2008-06-24 20:57:39 +02:00
|
|
|
# (4) hardware information.
|
2005-03-14 22:49:29 +01:00
|
|
|
# detailed information on most important aspects of the hardware.
|
2004-12-23 03:54:53 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# here are the defaults, commented out:
|
|
|
|
|
2007-11-24 22:32:30 +01:00
|
|
|
# The output from the sys handler will be placed in $parentdir
|
|
|
|
# parentdir = /var/backups
|
2004-12-23 03:54:53 +01:00
|
|
|
# packages = yes
|
|
|
|
# packagesfile = /var/backups/dpkg-selections.txt
|
2008-06-24 20:57:39 +02:00
|
|
|
# selectionsfile = /var/backups/debconfsel.txt
|
2004-12-23 03:54:53 +01:00
|
|
|
|
|
|
|
# partitions = yes
|
2007-03-04 11:48:24 +01:00
|
|
|
# NOTE: the __star__ below will be replaced by the disks found on the
|
|
|
|
# system (e.g. partitions.sda.txt, partitions.sdb.txt). If you change
|
|
|
|
# the partitionsfile default below, be sure to include the __star__
|
|
|
|
# replacement in the filename, or you will get one file for only one disk,
|
|
|
|
# the others being written to the same file, and then overwritten by the next.
|
|
|
|
# partitionsfile = /var/backups/partitions.__star__.txt
|
2007-03-04 11:29:26 +01:00
|
|
|
# dosfdisk = yes
|
2004-12-23 03:54:53 +01:00
|
|
|
|
|
|
|
# hardware = yes
|
|
|
|
# hardwarefile = /var/backups/hardware.txt
|
2007-03-04 11:29:26 +01:00
|
|
|
# dohwinfo = yes
|
2004-12-23 03:54:53 +01:00
|
|
|
|
2008-06-24 18:05:44 +02:00
|
|
|
# If vservers = yes in /etc/backupninja.conf then the following variables can
|
|
|
|
# be used:
|
|
|
|
# vsnames = all | <vserver1> <vserver2> ... (default = all)
|