Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2023 16:17:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 271534] "4.4.11. Restoring the Package Database" from the FreeBSD handbook is outdated
Message-ID:  <bug-271534-9@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 271534
           Summary: "4.4.11. Restoring the Package Database" from the
                    FreeBSD handbook is outdated
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Website
          Assignee: doc@FreeBSD.org
          Reporter: vieroninfo@gmail.com

Hi guys,
apparently "4.4.11. Restoring the Package Database" from the FreeBSD handbo=
ok
is outdated. As pointed out to me, the "pkg backup" command was removed with
the following commit in "https://github.com/freebsd/pkg" which also contains
the reason for its removal. So I guess that section should be removed or
updated.

-----------------------------
commit eea1a990eb1187a408811534a5060e58074a9044
Author: Baptiste Daroussin <bapt@FreeBSD.org>
Date:   Tue Oct 4 17:02:13 2022 +0200

    backup: remove the backup command which was confusing

    backup and backup -r was basically replicating the db, while we now
    prefer a real sql dump.

    with the backup command backuping a corrupted db will succesfully
    backup it and pkg backup -r will sucessfully restore a corrupted db.
    Making its usage quite useless.
-----------------------------


Thank you for your attention.
Kind regards

--=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-271534-9>