2a6bf0f303cd5b836b5c5d7ad72b62499d5a9032
[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 enabled and are saved in /var/backups.
4 #
5 # requires dpkg, sfdisk, and hwinfo
6 #
7 # (1) a list of all the packages installed and removed.
8 #     this file can be used to restore the state of installed packages
9 #     by running "dpkg --set-selections < dpkg-selections.txt
10
11 # (2) the partition table of all disks. 
12 #     this partition table can be used to format another disk of
13 #     the same size. this can be handy if using software raid and 
14 #     you have a disk go bad. just replace the disk and partition it
15 #     by running "sfdisk /dev/sdb < partitions.sdb.txt"
16 #     (MAKE SURE YOU PARTITION THE CORRECT DISK!!!)
17 #
18 # (3) hardware information. 
19 #     detailed information on most important aspects of the hardware.
20 #
21
22 # here are the defaults, commented out:
23
24 # The output from the sys handler will be placed in $parentdir
25 # parentdir = /var/backups
26 # packages = yes
27 # packagesfile = /var/backups/dpkg-selections.txt
28
29 # partitions = yes
30 # NOTE: the __star__ below will be replaced by the disks found on the
31 # system (e.g. partitions.sda.txt, partitions.sdb.txt). If you change 
32 # the partitionsfile default below, be sure to include the __star__ 
33 # replacement in the filename, or you will get one file for only one disk, 
34 # the others being written to the same file, and then overwritten by the next.
35 # partitionsfile = /var/backups/partitions.__star__.txt
36 # dosfdisk = yes
37
38 # hardware = yes
39 # hardwarefile = /var/backups/hardware.txt
40 # dohwinfo = yes
41
42 # If vservers = yes in /etc/backupninja.conf then the following variables can
43 # be used:
44 # vsnames = all | <vserver1> <vserver2> ... (default = all)