Corin's backup scripts

This commit is contained in:
haydn committed 2025-03-10 19:28:44 +10:30
1 parent 41d987cae6
commit 78286622a8
4 files changed
+76

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
# /usr/local/bin/
# remount-all by htrigg
#
# mount and decrypt all drives after a power outage
#
# v1.0 released 05/01/2020
# v2.0 released 02/06/2022
# v3.0 released 10/03/2025 - moved to sdb1
echo "Mounting Coriakin..."
mount /media/coriakin
echo "Opening the crypt..."
cryptsetup luksOpen /dev/sdb1 corin
echo "Mounting Corin..."
mount /dev/mapper/corin /media/corin
df -h | awk '$6 ~ "media"'
ls -latr /media/corin/BACKUP