X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=examples%2Fexample.sys;h=a4bffc455eb152c2aa89c044e307089cb40a84d9;hp=af28fd613ee2ff7404e77b24bb9765d090e5222f;hb=36854a51d46e4e63a663fe3e5fa1c68385984b78;hpb=94861df686d7083675af42890ececb70cb108b67 diff --git a/examples/example.sys b/examples/example.sys index af28fd6..a4bffc4 100644 --- a/examples/example.sys +++ b/examples/example.sys @@ -1,6 +1,6 @@ # # this config file will save various reports of vital system information. -# by default, all the reports are enabled and are saved in /var/backups. +# by default, all the reports are saved in /var/backups. # # requires dpkg, debconf-utils, sfdisk, and hwinfo # @@ -25,6 +25,12 @@ # (4) hardware information. # detailed information on most important aspects of the hardware. # +# (5) the Luks header of every Luks block device, if option luksheaders +# is enabled. +# in case you (have to) scramble such a Luks header (for some time), +# and restore it later by running "dd if=luksheader.sda2.bin of=/dev/sda2" +# (MAKE SURE YOU PASS THE CORRECT DEVICE AS of= !!!) +# # here are the defaults, commented out: @@ -47,6 +53,14 @@ # hardwarefile = /var/backups/hardware.txt # dohwinfo = yes +# luksheaders = no +# NOTE: the __star__ below will be replaced by the Luks partitions found on the +# system (e.g. luksheader.sda2.bin, luksheader.sdb3.bin). If you change +# the luksheadersfile default below, be sure to include the __star__ +# replacement in the filename, or you will get one file for only one partition, +# the others being written to the same file, and then overwritten by the next. +# luksheadersfile = /var/backups/luksheader.__star__.bin + # If vservers = yes in /etc/backupninja.conf then the following variables can # be used: # vsnames = all | ... (default = all)