From f8f9662cc38c6f973ce06643051c2a1359c2a885 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 19 Jan 2020 22:39:33 +0100 Subject: backup.sh: Add mdadm and vgcfgbackup to backup-data Signed-off-by: Florian Pritz --- backup.sh | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-24-g4f1b