[Bug 269810] ports-mgmt/pkg: how to restore pkg database

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 23 Mar 2026 09:37:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269810

--- Comment #9 from Torsten Zuehlsdorff <tz@freebsd.org> ---
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 remaining
documentation gap (FreeBSD Handbook) is tracked separately via the needs-patch
keyword.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.