From: intrigeri Date: Thu, 22 Jan 2009 23:37:50 +0000 (+0000) Subject: sys: backup dmsetup info as well, for easier restoring of Luks headers X-Git-Tag: backupninja-0.9.7~38 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=refs%2Fremotes%2Fpublic%2Fmaster;p=matthijs%2Fupstream%2Fbackupninja.git sys: backup dmsetup info as well, for easier restoring of Luks headers --- diff --git a/ChangeLog b/ChangeLog index 9ab2c9d..f1daeb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23,6 +23,7 @@ version 0.9.7 -- UNRELEASED of every Luks device. . New lvm option (default=disabled) to backup LVM metadata for every detected volume group. + . Backup dmsetup info as well, for easier restoring of Luks headers. version 0.9.6 -- July 21, 2008 backupninja changes diff --git a/handlers/sys.in b/handlers/sys.in index b7e94b0..e6cb273 100755 --- a/handlers/sys.in +++ b/handlers/sys.in @@ -478,6 +478,9 @@ if [ $os = "redhat" ]; then elif [ $os = "debian" ]; then catifexec "/sbin/vgdisplay" "-vv" fi + +STATUS="Collecting device-mapper (dm) information:" +catifexec '/sbin/dmsetup' 'info' STATUS="Collecting SCSI Tape information (/etc/stinit.def)" catiffile "/etc/stinit.def"