diff options
author | Florian Pritz <bluewind@xinu.at> | 2020-01-19 22:39:33 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2020-01-19 22:39:44 +0100 |
commit | f8f9662cc38c6f973ce06643051c2a1359c2a885 (patch) | |
tree | 9d0d914887625f794ede92298aa81532a56394e9 | |
parent | 281417b03bb92754340d41f620b70a8270120980 (diff) | |
download | bin-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-x | backup.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |