Hi,
Since the backup needs an appVM, I’m thinking about creating one (i.e: qubes-backup-sys, or any kind of qubes-usb-proxy) and attach an external USB HDD to it.
Is that a good idea, or even recommended, or useless?
Hi,
Since the backup needs an appVM, I’m thinking about creating one (i.e: qubes-backup-sys, or any kind of qubes-usb-proxy) and attach an external USB HDD to it.
Is that a good idea, or even recommended, or useless?
My way of doing it is I have a DispVM named backup
and I’ve configured it to automatically decrypt and mount /dev/xvdi
when it’s attached (so an external HDD). I’ve configured it using vm.config
, I’m going to write a guide for that later.
You may find this useful for achieving your goal: Qubes User Data - utilize `vm.config` to execute scripts at Qube launch, even in DispVMs
Hi,
TY for the suggestion !
Using executing a script (sh scipt.sh) is something I can do,
writing one and then encoding one is … well, I’m not there yet
This script may help:
mkdir -p /mnt/backup && while [ ! -e /dev/xvdi ]; do sleep 1; done; echo "pass" | cryptsetup luksOpen /dev/xvdi backup && mount /dev/mapper/backup /mnt/backup
Again, TY very much !
I’ll see if I understood it … when I will manage to reinstall Qubes, as I just “lost” my two main NVMe