diff options
author | Elijah Saxon <elijah@riseup.net> | 2004-12-23 02:54:53 +0000 |
---|---|---|
committer | Elijah Saxon <elijah@riseup.net> | 2004-12-23 02:54:53 +0000 |
commit | f4843b2fd7d4151c6fd34e90b30e1fd3a60be8f0 (patch) | |
tree | 918371f18dc8b7162904288bec8fd47d0bd8d85a /etc/backup.d | |
parent | 2abeb132c1b537098fe9200a45f7195392114e0e (diff) | |
download | backupninja-f4843b2fd7d4151c6fd34e90b30e1fd3a60be8f0.tar.gz backupninja-f4843b2fd7d4151c6fd34e90b30e1fd3a60be8f0.tar.bz2 |
added 'sys' handler.
Diffstat (limited to 'etc/backup.d')
-rw-r--r-- | etc/backup.d/example.sys | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/etc/backup.d/example.sys b/etc/backup.d/example.sys new file mode 100644 index 0000000..4fb231d --- /dev/null +++ b/etc/backup.d/example.sys @@ -0,0 +1,31 @@ +# +# this config file will save various reports of vital system information. +# by default, all the reports are enabled and are saved in /var/backups. +# +# (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. +# a simple report is generated of the kernel modules, the devices, +# and the model of the hardware which 'discover' is able to detect. +# + +# here are the defaults, commented out: + +# packages = yes +# packagesfile = /var/backups/dpkg-selections.txt + +# partitions = yes +# partitionsfile = /var/backups/partitions.*.txt + +# hardware = yes +# hardwarefile = /var/backups/hardware.txt + |