diff options
author | Micah Anderson <micah@riseup.net> | 2008-06-24 18:57:39 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-06-24 18:57:39 +0000 |
commit | 33ff4f7506fcaab09fd7ad898507f37b7777ba8f (patch) | |
tree | 56b429f5b7dcfd2a1a7cccacacfd4dd46d7012ae /examples/example.sys | |
parent | ca12e5617b1c7a600324e2c6437444627720c62c (diff) | |
download | backupninja-33ff4f7506fcaab09fd7ad898507f37b7777ba8f.tar.gz backupninja-33ff4f7506fcaab09fd7ad898507f37b7777ba8f.tar.bz2 |
add the ability to save the debconf package selection states in the sys handler, which aides in restoring installed packages with the right choices made
Diffstat (limited to 'examples/example.sys')
-rw-r--r-- | examples/example.sys | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/examples/example.sys b/examples/example.sys index 2a6bf0f..af28fd6 100644 --- a/examples/example.sys +++ b/examples/example.sys @@ -2,20 +2,27 @@ # this config file will save various reports of vital system information. # by default, all the reports are enabled and are saved in /var/backups. # -# requires dpkg, sfdisk, and hwinfo +# requires dpkg, debconf-utils, sfdisk, and hwinfo # -# (1) a list of all the packages installed and removed. +# (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. # this file can be used to restore the state of installed packages -# by running "dpkg --set-selections < dpkg-selections.txt +# 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. # -# (2) the partition table of all disks. +# (3) the partition table of all disks. # 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!!!) # -# (3) hardware information. +# (4) hardware information. # detailed information on most important aspects of the hardware. # @@ -25,6 +32,7 @@ # parentdir = /var/backups # packages = yes # packagesfile = /var/backups/dpkg-selections.txt +# selectionsfile = /var/backups/debconfsel.txt # partitions = yes # NOTE: the __star__ below will be replaced by the disks found on the |