Reminder: Always backup the onion service key. This is necessary in order to restore it on another machine, on a newer {{project_name_gateway_long}}, after HDD/SSD failure, etc. Follow the instructions below to find its location; root permission is required to access it.

<code>
{{{private_key_file}}}
</code>
{{Box|text=
<u>[[Qubes|{{q_project_name_long}}]]</u>

The following example shows how to copy the {{Code2|{{{private_key_file}}}}} from the {{Code2|{{project_name_gateway_vm}}}} VM to the {{Code2|vault}} VM (which should be started beforehand) using [https://www.qubes-os.org/doc/how-to-copy-and-move-files/ qvm-copy]. A dialog will appear asking for the destination VM.

{{CodeSelect|code=
sudo qvm-copy {{{private_key_file}}}
}}

When the dialog appears asking to confirm, select {{Code2|vault}}. This copies the Tor onion service private key file to the {{Code2|QubesIncoming}} folder of the {{Code2|vault}} VM.

{{CodeSelect|code=
/home/user/QubesIncoming/{{project_name_gateway_vm}}/{{{file_name}}}
}}

Consider moving the file from the {{Code2|QubesIncoming}} folder to another preferred location.

Qubes VM Manager can be used to conveniently backup the {{Code2|vault}} and/or other VMs. Please refer to the Qubes backups documentation for necessary steps to accomplish that.

<u>[[Non-Qubes-Whonix|{{non_q_project_name_short}}]]</u>

See also:

* file manager {{kicksecure_wiki
|wikipage=Software#Thunar_with_Administrator_Rights|Thunar with Administrator Rights
|text=Thunar with Administrator Rights
}}
* [[File Transfer|File Transfer]]

{{stub}}
}}