From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 0950664236 for ; Sat, 18 Jul 2020 19:50:58 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E60D923569 for ; Sat, 18 Jul 2020 19:50:27 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id E68FD2355E for ; Sat, 18 Jul 2020 19:50:26 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id A33A34318A; Sat, 18 Jul 2020 19:50:26 +0200 (CEST) To: Eneko Lacunza , Proxmox VE user list References: <4da35950-a20f-f42d-db14-afc1df926183@binovo.es> From: Thomas Lamprecht Message-ID: Date: Sat, 18 Jul 2020 19:50:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Thunderbird/79.0 MIME-Version: 1.0 In-Reply-To: <4da35950-a20f-f42d-db14-afc1df926183@binovo.es> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL 0.008 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -0.001 Looks like a legit reply (A) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com] Subject: Re: [PVE-User] PBS beta - encrypted PVE integrated backups X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jul 2020 17:50:58 -0000 On 16.07.20 13:57, Eneko Lacunza wrote: > Found the answer in the forum: > https://forum.proxmox.com/threads/how-to-do-encrypted-backups.72868/ FYI, if you're updated to libpvestorage-perl version 6.2-5 doing the foll= owing also works: # pvesm set --encryption-key autogen Editing the storage.cfg cannot work because we do not save the file there= as it is readable for all usesrs in the www-data group. We save it to the /etc/pve/priv/storage directory which is root only. cheers, Thomas >=20 > As Wolfgang said: >=20 > the file has to be manually created via > `proxmox-backup-client key create --kdf=3Dnone /etc/pve/priv/storage/ST= ORAGENAME.enc` >=20 > Thanks > Eneko >=20 > El 16/7/20 a las 13:09, Eneko Lacunza escribi=C3=B3: >> Hi, >> >> I'm playing a bit with PBS Beta, found some quirks (reported to bugzil= la) but basic setup with PVE integration has been quite pleasant. >> >> I'm trying to setup encryption, but can't figure exactly how. Tried se= tting "encryption-key autogen" in storage.cfg of PVE, and creating key pa= ir and importing the pub key with "proxmox-backup-client" in PVE node, bu= t doesn't seem to encrypt the backups. >> >> Is there any doc or example for this? >> >> Thanks a lot >> Eneko >> >=20 >=20