Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2023 00:38:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269810] ports-mgmt/pkg: how to restore pkg database
Message-ID:  <bug-269810-7788-lRL5H6WS5D@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269810-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269810-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269810

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:=20

xzcat /var/backups/pkg.sql.xz | pkg shell

pkg-shell(8)
<https://man.freebsd.org/cgi/man.cgi?query=3Dpkg-shell&sektion=3D8&manpath=
=3Dfreebsd-ports>

> =E2=80=A6 Extreme care should be taken when using this command. =E2=80=A6

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269810-7788-lRL5H6WS5D>