From nobody Mon Mar 23 09:37:09 2026 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 4ffSkF4gR3z6Vj30 for ; Mon, 23 Mar 2026 09:37:09 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ffSkF1Jnjz46SF for ; Mon, 23 Mar 2026 09:37:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774258629; 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=pCUgkNjhHDd97HE1rSi2Mv1MEkjtlnoWzqoH5OC27wA=; b=lTmobOxobGhyA05Srbho7p0G8v5Ujm9CLldAZSeglFrTO5jWJxPANmbCD6tgZvJMQ6oiE9 Tnwumx3/9Dqg++NFaMk0cGxUlQfd5WJNrZWTZwD1juWNPyQdoaBSgekaIDmr5F7fmpOQN6 I8CG9iax5uH2JLdVe2EMFoO7A0Qm29JhlmgdjqVDkEhC8G7YyRvYICuKEJfmTO77cfy9zW kamLnq7HdoxFhUqvRf1Hxx1H/TvJmUQV4XemsEnlazZzEMbMziGDU8ZGuhzgq9nlip4AP6 ZaT/d6DSl+/ehFFtHYilJSLE6zzftI+KVaEc+jqbWb3+oG0cVpb8/KCQyhCOVg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1774258629; a=rsa-sha256; cv=none; b=HcLKTPNEeSVVhGRBcnHA6RTcFHIwHvgRqE3usjFEfNjQrv61bxrYLpgqbTMQYi3FYX8VbI eP4iFnuLtEbeOtoMAtxPnYZj3rQirxG4FJcILIQpgMIC1SC7vHCnUidwkxEChSs1YbZrf2 RbhqO3avt10mU2HEPLMX/CruzwFGlWFTNTyrIRGohYIJIMmjuszrnhRz9YP0Zy6KiLu7n8 GjPQVDmjuuiVV5Dq8I2i7RZjSEeNvLxaqhQQ+R5pVg//Uwd6zOtGZGKBmN84nRc0Pw3wEL /n515zxGBYrdR4Wery/2o1wtp2Cg3y1B85wQMOWP95E8HNUOEYba2yw9710Qqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774258629; 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=pCUgkNjhHDd97HE1rSi2Mv1MEkjtlnoWzqoH5OC27wA=; b=XsfUqrx26d/bOfzHua4kH0jpp55ZpklNqYmFA5DTAi1xKdQ03qJe97Sv42Bfciseoy0OaH iRIiFFxnS53OXlChk6GFPkH/O7YuFMe/AHJM8TiJY+MyDRf6/f6d+39AzNJnLsgzTAVDzl bIx2CmbDkxXCfQb0Xo3DGxm3SBHdbVQF1KNeYO3NDN35k4Avi3n4QkMFrvbHq54zlZZFv/ xJqHBaCeKM2FJvQf/nkQqeddpuMkl5DOOvJdZaaICDxH4IkBZqE+L2notyAwb9T14dtXB3 1d6xF+SRyuprQOG1VB01ygszO1EASCMkQ2MXALjtUu+07Crd0gRdTeTZnYmu5g== 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 4ffSkF08vjzj6y for ; Mon, 23 Mar 2026 09:37:08 +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 62N9b8o3025458 for ; Mon, 23 Mar 2026 09:37:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 62N9b8Ox025457 for pkg@FreeBSD.org; Mon, 23 Mar 2026 09:37:08 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 269810] ports-mgmt/pkg: how to restore pkg database Date: Mon, 23 Mar 2026 09:37:09 +0000 X-Bugzilla-Reason: AssignedTo CC 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: needs-patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tz@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not Accepted 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269810 --- Comment #9 from Torsten Zuehlsdorff --- I'm closing this as bapt answered the original question: the correct way to restore the pkg database is `xzcat /var/backups/pkg.sql.xz | pkg shell`. The smaller database size after restore is expected (vacuum effect). The remain= ing documentation gap (FreeBSD Handbook) is tracked separately via the needs-pa= tch keyword. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=