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 Whonix-Gateway™, after HDD/SSD failure, etc. Follow the instructions below to find its location; root permission is required to access it.
{{{private_key_file}}}
The following example shows how to copy the {{{private_key_file}}} from the sys-whonix VM to the vault VM (which should be started beforehand) using qvm-copy![]()
. A dialog will appear asking for the destination VM.
sudo qvm-copy {{{private_key_file}}}
When the dialog appears asking to confirm, select vault. This copies the Tor onion service private key file to the QubesIncoming folder of the vault VM.
/home/user/QubesIncoming/sys-whonix/{{{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.
See also:
- file manager Thunar with Administrator Rights

- File Transfer