#/etc/backup.d/10.sys.disabled
##### Gav - Disabled as I don't like running sfdisk every back up
##### too easy to partition the disk instead of dumping partition table.
##### See the shell script for dpkg selections and the much safer df.
##### Run only once on a new system/disk after running the other backups first!
# 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
# (1) 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
# (2) 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.
# detailed information on most important aspects of the hardware.
# here the defaults were commented out:
packages = yes
# packagesfile = /var/backups/dpkg-selections.txt
partitions = yes
# partitionsfile = /var/backups/partitions.*.txt
hardware = yes
# hardwarefile = /var/backups/hardware.txt
Bookmark/Search this post with: