I’d like to use Wyng, I’m basically a noob, so I’d like to run some questions by @tasket about how to do so. The reason that I’m switching to Wyng from the official tool is that the latter is too slow.
My Qubes install is standard, which I understand to mean that I’m using thin LVM. From reading the README for wyng-util-qubes and wyng-backup, this is what I understand I need to do (please correct if it could be improved):
Set up:
- Verify with git and then copy both folders to dom0
- Plug in my external SSD, and in (disposable) sys-usb, decrypt the LUKS volume.
- In dom0, create a config file at /etc/wyng/wyng.ini
[var-global-default]
dedup = 1
authmin = 10
dest = qubes://sys-usb/media/user/VOLUME-NAME/backups/laptop.backup
- Create the fresh archive:
sudo wyng arch-init
Prune, backup, then verify
Every time I want to do a backup:
- Prune. I usually keep my last four backups, and make a backup approximately each week. The closest I have come to this goal is for no backups older than 60 days to be kept, and for any backups older than a week, there’s only 1 per week (though I don’t understand how
autoprune
could fit into this):
sudo wyng-util-qubes prune --apdays=60:7:7:1
- Backup of every qube configued to be backed up by default:
sudo wyng-util-qubes backup --includes
- Verify the session you just made:
sudo wyng-util-qubes verify --session=YYYYMMDD-HHMMSS
Remaining questions:
- What is the practical difference between
verify
andarch-check
for this use case? Is it sufficient to just verify the session you just made as described above, or is there something else that should be done occassionally or regularly? - To restore the qube “personal” without overwriting the current one, is the best way to do this to simply rename the current “personal” qube prior to restore? I like to do occassional test restores for a sanity check, but don’t actually want to overwrite the current qube.
- I don’t understand the point about
lvextend
, is it applicable to my use case? If so, what is the command I should run? - Is there any concievable way that running either of the two tools from dom0 could break the Qubes OS installation? (If the dest is always in an App qube and not local to dom0, as described above, so it’s not adding space to the dom0 filesystem)
I plan to make a community guide called “Wyng for noobs” once these questions are answered, for this simple use case.