Making Qubes OS backups more efficient

Hi, I wrote a guide explaining how to backup Qubes through restic or borg. I hope sending links to my blog is allowed :thinking: I didn’t find anything in the community rules that would forbid doing so, but if I’m wrong, please tell me so I can delete my post :+1:


It’s a bit unfortunate that qvm-backup MUST encrypt backups, otherwise restic/borg would really benefit from deduplication.

The qubes backup tools isn’t great for doing hourly backups, it doesn’t back up the state of running VMs. If you want to use it for hourly backup, you need to restart the qubes before every back up.

I like the qubes backups for disaster recovery, for me it can’t replace frequent file level backups.

1 Like

I made a slight change to the script (using restic as it supports multiple hosts) on my system. It’s installed in a template, and I’m running it manually from AppVm where I want to backup home.

Restic is able to prune per host, so in a single repository you can manage multiple AppVm easily. With the split SSH, I’m asked when restic is doing something on the remote repository. Works well in addition to occasional full backups, which suites more dom0 or templates than AppVM with data in it.