diff options
author | Micah Anderson <micah@riseup.net> | 2010-10-01 18:09:43 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-10-29 10:31:43 -0400 |
commit | 5d4e52dfd1211ed3b71778635b7e0da26c00b583 (patch) | |
tree | 82554889ebd182ddf9d385b2895ce107ee93529e /lib | |
parent | f49a612006cf9c0335674879ca39902d9a58d251 (diff) | |
download | backupninja-5d4e52dfd1211ed3b71778635b7e0da26c00b583.tar.gz backupninja-5d4e52dfd1211ed3b71778635b7e0da26c00b583.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 'lib')
0 files changed, 0 insertions, 0 deletions