How to do Qubes OS backups in command line

Hello,

How can I do backup without using the graphical interface but only using command line ? I can’t find anything on internet, is this even possible to do it ?

qvm-backup as stated in the docs.

2 Likes

aaaahh I already saw it, but I was typing qubes-backup instead of qvm-backup, my bad :see_no_evil:

1 Like

Yes. I also make this mistake sometimes. In general qubes-* commandline tools apply to the system and qvm-* are applied to a particular qube.

2 Likes

Because there is no example on the documentation, I’m putting some here if someone need it :

qvm-backup --no-compress --yes --dest-vm vault /path/of/my/folder

qvm-backup --verbose --no-compress --yes --dest-vm vault /path/of/my/folder

qvm-backup --compress --yes --dest-vm vault /path/of/my/folder

2 Likes