From nobody Wed Mar 23 18:39:56 2022 X-Original-To: pkg@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 40F5B1A34961 for ; Wed, 23 Mar 2022 18:39:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KNxwq6S6jz3p6s for ; Wed, 23 Mar 2022 18:39:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BD654AB5 for ; Wed, 23 Mar 2022 18:39:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 22NIdtt6004735 for ; Wed, 23 Mar 2022 18:39:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22NIdtZ8004734 for pkg@FreeBSD.org; Wed, 23 Mar 2022 18:39:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 262337] ports-mgmt/pkg restore fails when created by periodic in /var/backups Date: Wed, 23 Mar 2022 18:39:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rosenke@dssgmbh.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648060795; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r3CThQrKGE1HVDw9/hnvn/j+aXu8yS7D39x6lw49Dl4=; b=N6tW4xpHExzNhDpmXqI4oC5wDOkFJn1YYiIvlkHfFEtO4SjBpAgNu0W24+0Cn7DvoStMeL kmaD4/lnBOOkuhjWoljkb2yt+jafS9DbO9FMpv49NevA8KUQrHIow+BdDPRrrvcIGGQCMU V6s9PO7fMRQreXxTMNkoUWrJOi6CDCE+5jFE6q6E7YkZp3cDJfxc5nEs+1KFR/mSxjq05U O4ONKj/Igvh/CiNIgBy9uwmxskEBmuekWxewk3lRxds5v7LI2s9OF0djqk6UUckFp3RR04 QvmedTZRM2PGRYP2WBYIfzgFBAVG+pmVp0wUF3LN+ZLEQuaour1/F95v/VSn6w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648060795; a=rsa-sha256; cv=none; b=yWZchRYrbp1fXsqP8hRW5ou70nLnu+ku5z5U5GD/5Ff6rt3yxSLskwSQFT8q5SfnIOk8c1 h+ic88U1Lhm28z559c5bslf4+2yU2KdLbr0HmlGSB7rvlkn7YLkobpGzbcwtSy64wmHNGT 6pbbn7MthZM2QgZturCTqGyEAk3nuVe+7aq03vo/fzEiliGs9LQILjsCGYtbJBMjDaLpNP cdmfk8qDhwcHhMrW4exnY5nO/YZ5ufJCsAszspRZ5PTBbRZ/ia+FHiYot6iZoDA8Bz9qvy Vv8kldLfQcPX+o4wdO/h+zmbJY7Qc3us91j9zZcrylZeyIKk6lWXtiFPgFwGiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262337 --- Comment #1 from Henrik Rosenke --- This couldnt work this way as i noticed now.=20 The 'pkg backup' command and the 411.pkg-backup script produce 2 different backup archives. The right way to restore a backup from the periodic is: rm /var/db/pkg/local_sqlite xzcat /var/backup/pkg.sql.xz | pkg shell=20 I cant find these documented anywhere, this should be noted in either 411.pkg-backup or the pkg-backup manpage. --=20 You are receiving this mail because: You are the assignee for the bug.=