Template:Backups Tor Onion Service private key

From Whonix
Revision as of 10:01, 4 March 2024 by Patrick (talk | contribs) (Text replacement - "[[Qubes|{{non_q" to "[[Non-Qubes-Whonix|{{non_q")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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}}}

Qubes-Whonix

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-copyarchive.org iconarchive.today icon. 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.

Non-Qubes-Whonix

See also:

Documentation for this is incomplete. Contributions are happily considered! See this for potential alternatives.