[Bug 271534] "4.4.11. Restoring the Package Database" from the FreeBSD handbook is outdated

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 20 May 2023 16:17:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271534

            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 handbook
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

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