diff options
author | Micah Anderson <micah@riseup.net> | 2013-09-20 13:44:11 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2013-09-20 13:44:11 -0400 |
commit | 0df3c9939da0132f82af2ba806d070c37b7bfe8c (patch) | |
tree | 61ac4bce706afad2fa3fe91ad60b2c52d9f337d2 /etc/cron.d/backupninja.in | |
parent | f623fce574ec827f29b5741782c99c39e91b222d (diff) | |
download | backupninja-0df3c9939da0132f82af2ba806d070c37b7bfe8c.tar.gz backupninja-0df3c9939da0132f82af2ba806d070c37b7bfe8c.tar.bz2 |
fix luks header backup to properly detect partitions
previously the code was modeled off of the partition backup methodology, this resulted in the code only attempting to detect luks on actual devices, and not on partitions. The code would step through every disk on the system (sda, sdb, etc.) and do a 'cryptsetup isLuks' on that device, and then based on that output save the luks header for any device that had one. Unfortunately, in many cases, luks headers are found on the partitions of those disks. So we were failing to detect any luks partitions and thus failing to backup their luks headers.
this commit changes that, it now will look for luks headers on the devices themselves (for cases where a full disk is used without partitions), and on any partitions that are detected
Diffstat (limited to 'etc/cron.d/backupninja.in')
0 files changed, 0 insertions, 0 deletions