summaryrefslogtreecommitdiffstats
path: root/backup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backup.sh')
-rwxr-xr-xbackup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/backup.sh b/backup.sh
index dd30db3..00431a0 100755
--- a/backup.sh
+++ b/backup.sh
@@ -104,6 +104,8 @@ pre_backup() {
lvdisplay > "$backupDataDir/lvdisplay"
df -a > "$backupDataDir/df"
findmnt -l > "$backupDataDir/findmnt"
+ mdadm --detail --scan > "$backupDataDir/mdadm"
+ vgcfgbackup --file "$backupDataDir/vgcfgbackup"
# If you wish to use snapshots, create them here