summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2020-01-19 22:39:33 +0100
committerFlorian Pritz <bluewind@xinu.at>2020-01-19 22:39:44 +0100
commitf8f9662cc38c6f973ce06643051c2a1359c2a885 (patch)
tree9d0d914887625f794ede92298aa81532a56394e9
parent281417b03bb92754340d41f620b70a8270120980 (diff)
downloadbin-f8f9662cc38c6f973ce06643051c2a1359c2a885.tar.gz
bin-f8f9662cc38c6f973ce06643051c2a1359c2a885.tar.xz
backup.sh: Add mdadm and vgcfgbackup to backup-data
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-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