[Bug 269810] ports-mgmt/pkg: how to restore pkg database
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Feb 2023 00:38:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269810
Graham Perrin <grahamperrin@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|ports-bugs@FreeBSD.org |pkg@FreeBSD.org
URL| |https://docs.freebsd.org/en
| |/books/handbook/book/#pkgng
| |-backup
Severity|Affects Many People |Affects Some People
Summary|How to restore pkg database |ports-mgmt/pkg: how to
| |restore pkg database
Status|New |Open
CC| |doc@FreeBSD.org
Hardware|amd64 |Any
--- Comment #1 from Graham Perrin <grahamperrin@freebsd.org> ---
I'm aware of this:
xzcat /var/backups/pkg.sql.xz | pkg shell
pkg-shell(8)
<https://man.freebsd.org/cgi/man.cgi?query=pkg-shell&sektion=8&manpath=freebsd-ports>
> … Extreme care should be taken when using this command. …
--
You are receiving this mail because:
You are the assignee for the bug.