aboutsummaryrefslogtreecommitdiff
path: root/examples/example.rsync
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-09-20 13:44:11 -0400
committerMicah Anderson <micah@riseup.net>2013-09-20 13:44:11 -0400
commit0df3c9939da0132f82af2ba806d070c37b7bfe8c (patch)
tree61ac4bce706afad2fa3fe91ad60b2c52d9f337d2 /examples/example.rsync
parentf623fce574ec827f29b5741782c99c39e91b222d (diff)
downloadbackupninja-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 'examples/example.rsync')
0 files changed, 0 insertions, 0 deletions