a4bffc455eb152c2aa89c044e307089cb40a84d9
[matthijs/upstream/backupninja.git] / examples / example.sys
1 #
2 # this config file will save various reports of vital system information.
3 # by default, all the reports are saved in /var/backups.
4 #
5 # requires dpkg, debconf-utils, sfdisk, and hwinfo
6 #
7 # (1) a capture of the debconf package selection states. This file
8 #     can be used to restore the answers to debconf questions for
9 #     packages that you will be installing through (2) below. To
10 #     do this, run: "debconf-set-selections < debconfsel.txt"
11 #
12 # (2) a list of all the packages installed and removed.
13 #     this file can be used to restore the state of installed packages
14 #     by running "dpkg --set-selections < dpkg-selections.txt and
15 #     then run "apt-get -u dselect-upgrade". If you have the 
16 #     debconf-set-selections file from (1), you should restore those first.
17
18 # (3) the partition table of all disks. 
19 #     this partition table can be used to format another disk of
20 #     the same size. this can be handy if using software raid and 
21 #     you have a disk go bad. just replace the disk and partition it
22 #     by running "sfdisk /dev/sdb < partitions.sdb.txt"
23 #     (MAKE SURE YOU PARTITION THE CORRECT DISK!!!)
24 #
25 # (4) hardware information. 
26 #     detailed information on most important aspects of the hardware.
27 #
28 # (5) the Luks header of every Luks block device, if option luksheaders
29 #     is enabled.
30 #     in case you (have to) scramble such a Luks header (for some time),
31 #     and restore it later by running "dd if=luksheader.sda2.bin of=/dev/sda2"
32 #     (MAKE SURE YOU PASS THE CORRECT DEVICE AS of= !!!)
33 #
34
35 # here are the defaults, commented out:
36
37 # The output from the sys handler will be placed in $parentdir
38 # parentdir = /var/backups
39 # packages = yes
40 # packagesfile = /var/backups/dpkg-selections.txt
41 # selectionsfile = /var/backups/debconfsel.txt
42
43 # partitions = yes
44 # NOTE: the __star__ below will be replaced by the disks found on the
45 # system (e.g. partitions.sda.txt, partitions.sdb.txt). If you change 
46 # the partitionsfile default below, be sure to include the __star__ 
47 # replacement in the filename, or you will get one file for only one disk, 
48 # the others being written to the same file, and then overwritten by the next.
49 # partitionsfile = /var/backups/partitions.__star__.txt
50 # dosfdisk = yes
51
52 # hardware = yes
53 # hardwarefile = /var/backups/hardware.txt
54 # dohwinfo = yes
55
56 # luksheaders = no
57 # NOTE: the __star__ below will be replaced by the Luks partitions found on the
58 # system (e.g. luksheader.sda2.bin, luksheader.sdb3.bin). If you change 
59 # the luksheadersfile default below, be sure to include the __star__ 
60 # replacement in the filename, or you will get one file for only one partition,
61 # the others being written to the same file, and then overwritten by the next.
62 # luksheadersfile = /var/backups/luksheader.__star__.bin
63
64 # If vservers = yes in /etc/backupninja.conf then the following variables can
65 # be used:
66 # vsnames = all | <vserver1> <vserver2> ... (default = all)