git: 54c0945f7d - main - Handbook - ports: Remove pkg backup from ports chapter

Sergio Carlavilla Delgado <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=54c0945f7dab278705311e5be394347b3d629b58

commit 54c0945f7dab278705311e5be394347b3d629b58
Author:     Sergio Carlavilla Delgado <[email protected]>
AuthorDate: 2023-07-17 15:51:49 +0000
Commit:     Sergio Carlavilla Delgado <[email protected]>
CommitDate: 2023-07-17 15:51:49 +0000

    Handbook - ports: Remove pkg backup from ports chapter
    
    pkg backup command was remove in [1]
    
    PR:                     271534
    Submitted by:           Aaron Lopez <[email protected]>
    
    [1] https://github.com/freebsd/pkg/commit/eea1a990eb1187a408811534a5060e58074a9044
---
 .../content/en/books/handbook/ports/_index.adoc    | 32 ----------------------
 1 file changed, 32 deletions(-)

diff --git a/documentation/content/en/books/handbook/ports/_index.adoc b/documentation/content/en/books/handbook/ports/_index.adoc
index f8916d98c6..02be6d1168 100644
--- a/documentation/content/en/books/handbook/ports/_index.adoc
+++ b/documentation/content/en/books/handbook/ports/_index.adoc
@@ -559,38 +559,6 @@ Marking an installed package as _not_ automatic can be done using:
 # pkg set -A 0 devel/cmake
 ....
 
-[[pkgng-backup]]
-=== Restoring the Package Database
-
-Unlike the traditional package management system, pkg includes its own package database backup mechanism.
-This functionality is enabled by default.
-
-[TIP]
-====
-To disable the periodic script from backing up the package database, set `daily_backup_pkgdb_enable="NO"` in man:periodic.conf[5].
-====
-
-To restore the contents of a previous package database backup,
-run the following command replacing _/path/to/pkg.sql_ with the location of the backup:
-
-[source,shell]
-....
-# pkg backup -r /path/to/pkg.sql
-....
-
-[NOTE]
-====
-If restoring a backup taken by the periodic script, it must be decompressed prior to being restored.
-====
-
-To run a manual backup of the pkg database, run the following command,
-replacing _/path/to/pkg.sql_ with a suitable file name and location:
-
-[source,shell]
-....
-# pkg backup -d /path/to/pkg.sql
-....
-
 [[pkgng-clean]]
 === Removing Stale Packages
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.