Template:Backups Tor Onion Service private key
Reminder: Always backup the onion service key. This is necessary in order to restore it on another machine, on a newer Kicksecure, after HDD/SSD failure, etc. Follow the instructions below to find its location; root permission is required to access it.
{{{private_key_file}}}
Use the usual Qubes tools. The following example shows how to copy the {{{private_key_file}}} from the kicksecure VM to the vault VM (which should be started beforehand) using qvm-copy-to-vm.
sudo qvm-copy-to-vm vault {{{private_key_file}}}
The above step copies the Tor onion service private key file to the QubesIncoming folder of the vault VM.
/home/user/QubesIncoming/kicksecure/{{{file_name}}}
Consider moving the file from the QubesIncoming folder to another preferred location.
Qubes VM Manager can be used to conveniently backup the vault and/or other VMs. Please refer to the Qubes backups documentation for necessary steps to accomplish that.
TODO document
Also see: File Transfer.