@ -1,5 +1,7 @@
#!/bin/bash
set -e
echo "[+] Finding latest snapshot..."
latest_snapshot=$(ls /media/storage/backup/snapshots | sort | tail -n1)
passphrase=$(rage -d -i /media/storage/backup/static-passphrase-key /dev/shm/backup-passphrase)