aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2023-07-17 15:51:49 +0000
committerSergio Carlavilla Delgado <carlavilla@FreeBSD.org>2023-07-17 15:51:49 +0000
commit54c0945f7dab278705311e5be394347b3d629b58 (patch)
tree6ca25d15652f8edd86e41b9465214cff1ae6fe3b
parent60592bf0d41883b034ece49506ac2625888625dc (diff)
downloaddoc-54c0945f7dab278705311e5be394347b3d629b58.tar.gz
doc-54c0945f7dab278705311e5be394347b3d629b58.zip
Handbook - ports: Remove pkg backup from ports chapter
pkg backup command was remove in [1] PR: 271534 Submitted by: Aaron Lopez <vieroninfo@gmail.com> [1] https://github.com/freebsd/pkg/commit/eea1a990eb1187a408811534a5060e58074a9044
-rw-r--r--documentation/content/en/books/handbook/ports/_index.adoc32
1 files changed, 0 insertions, 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