aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-09-20 16:36:09 -0400
committerMicah Anderson <micah@riseup.net>2013-09-20 16:48:13 -0400
commit54ec07be55b8bc151983e9648c4bdf3e0f7baa34 (patch)
tree432bc454c14b40ec114a48d7c978911fe78b3d98 /examples
parent373c6bcced00b8b61e4eadae99c5d4f8ec6439b2 (diff)
downloadbackupninja-54ec07be55b8bc151983e9648c4bdf3e0f7baa34.tar.gz
backupninja-54ec07be55b8bc151983e9648c4bdf3e0f7baa34.tar.bz2
add additional sys backup options to provide the ability to backup the MBR for every device found, and to backup the BIOS (if the flashrom program is installed, and the mainboard is supported)
Diffstat (limited to 'examples')
-rw-r--r--examples/example.sys15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/example.sys b/examples/example.sys
index fe34646..39d70bd 100644
--- a/examples/example.sys
+++ b/examples/example.sys
@@ -33,6 +33,15 @@
#
# (6) LVM metadata for every detected volume group, if "lvm = yes"
#
+# (7) a copy of each device's MBR, if "mbr = yes". A master boot record
+# (MBR) is the 512-byte boot sector that is the first sector of a
+# partitioned data storage device of a hard disk. To restore the MBR
+# one could do something like: dd if=sda.mbr of=/dev/sda
+# (MAKE SURE YOU PASS THE CORRECT DEVICE AS of= !!!)
+# WARNING: Restoring the MBR with a mismatching partition table will
+# make your data unreadable and nearly impossible to recover
+#
+# (8) a copy of the BIOS, if "bios = yes" and flashrom is installed
# here are the defaults, commented out:
@@ -65,6 +74,12 @@
# lvm = no
+# mbr = no
+
+# note: to backup your BIOS, you need the program 'flashrom' installed, and your
+# mainboard needs to be supported, see http://flashrom.org/Supported_hardware#Supported_mainboards
+# bios = no
+
# If vservers = yes in /etc/backupninja.conf then the following variables can
# be used:
# vsnames = all | <vserver1> <vserver2> ... (default = all)