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)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 2A0216971A for ; Wed, 24 Feb 2021 11:35:06 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 1827628858 for ; Wed, 24 Feb 2021 11:34:36 +0100 (CET) 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)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id E50852884C for ; Wed, 24 Feb 2021 11:34:34 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id A5F8944804; Wed, 24 Feb 2021 11:34:34 +0100 (CET) To: Eneko Lacunza , pve-user@lists.proxmox.com References: From: Stefan Reiter Message-ID: <748aba12-573f-0bc8-17d7-b94b9b9b8cef@proxmox.com> Date: Wed, 24 Feb 2021 11:34:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.025 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 Subject: Re: [PVE-User] PBS backup/restore issue 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: Wed, 24 Feb 2021 10:35:06 -0000 On 2/23/21 8:46 AM, Eneko Lacunza wrote: > Hi all, > > Yesterday I hit a problem with PBS. My sequence of actions was: > > 1.a Install debian 10 VM (updated to latest, only system utilities and > SSH server) > 1.b Add SSH access key to root > 1.c Shutdown VM > 1.d Backup to PBS and to NFS vía regular backup. > 1.e Start VM and install various packages - all OK. > 1.f Stop VM > > 2.a Restore VM from PBS backup > 2.b Start VM and install various packages - apt complains about no > newline in linux-image-amd64 file manifest, can't install new packages. > 2.c Stop VM > > 3.a Restore VM from NFS regular backup > 3.b Start VM and install various packages - all OK. > Hi, I tried to replicate your problem by following pretty much the exact steps you mention above, but to no avail. Fresh Debian 10 VM, PBS backup + VMA to local disk, restored both and both work. I compared the disk images of the restored VMs with md5sum and the hashes matched, as expected. Tested with the latest package versions, though using QEMU 5.2.0, but the backup and restore functionality shouldn't have changed there. Could you try to see what the difference is between the restored disks from the VMA and the PBS backups (if there is any)? I.e. restore them both to seperate VMIDs and then compare hashes and/or run (v)bindiff on the disk images (best restore to a directory storage in 'raw' mode) to see where they differ - of course, this only makes sense if the backups are created when the VM was shut down. Potentially something about your NFS/PBS setup is corrupting data? You mentioned in another mail that they "are the same disks", how is that configured? Also please post the exact error messages APT is giving you, and your VM config. > I hit the issue 3 times, and tried creating a new VM and a new Debian > installation each time. > > Any ideas? I have the "broken" PBS backups saved. > > VM node: > # pveversion -v [...] > > PBS node: > # pveversion -v [...] FYI, the more useful command for PBS would be: proxmox-backup-manager versions --verbose