aboutsummaryrefslogtreecommitdiff
path: root/etc/backup.d/example.sys
blob: 9ebd4b22e7d635b66b42c372ce09e8a1b5dbeeb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# this config file will save various reports of vital system information.
# by default, all the reports are enabled and are saved in /var/backups.
#
# requires dpkg, sfdisk, and hwinfo
#
# (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. 
#     detailed information on most important aspects of the hardware.
#

# here are the defaults, commented out:

# packages = yes
# packagesfile = /var/backups/dpkg-selections.txt

# partitions = yes
# partitionsfile = /var/backups/partitions.__star__.txt

# hardware = yes
# hardwarefile = /var/backups/hardware.txt