aboutsummaryrefslogtreecommitdiff
path: root/handlers/dup.in
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-10-01 18:09:43 -0400
committerMicah Anderson <micah@riseup.net>2010-10-12 11:48:50 -0400
commit9271e58a24a80b00ec57e9f4ed99ddd2ed80e3e0 (patch)
tree93eff843130859d5495a0d9a8887c26ee459c460 /handlers/dup.in
parenta80d6f4a0cc96ebd4125ccc016d7dbb256ba992d (diff)
downloadbackupninja-9271e58a24a80b00ec57e9f4ed99ddd2ed80e3e0.tar.gz
backupninja-9271e58a24a80b00ec57e9f4ed99ddd2ed80e3e0.tar.bz2
older versions (lenny) of lvm2 have a bug in vgcfgbackup that makes it so when you specify multiple volume groups to backup, it gives an error, saying you must set the %s template for the name. We are doing that, it just cannot handle it properly.
This change routes around this issue, which has been fixed in later lvm2 releases, by passing only one argument to vgcfgbackup by taking all the volume groups that are found and running them through a for loop
Diffstat (limited to 'handlers/dup.in')
0 files changed, 0 insertions, 0 deletions