Knurpht-openSUSE composed on 2019-01-27 11:43 (UTC+0100):
Felix Miata composed:
The cron script cron.daily makes daily copies of the database (packed with gzip) and stores them in /var/adm/backup/rpmdb. The number of copies is controlled by the variable MAX_RPMDB_BACKUPS (default: 5) in /etc/sysconfig/backup. The size of a single backup is approximately 1 MB for 1 GB in /usr.
1-Why 5? 2-What do I loose if if I keep 1 or 2 instead of 5? 3-What do they offer that rpm --rebuilddb doesn't? 4-Why isn't rebuilddb in the rpm manual? 5-Why 30,000k per backup file? (My /usr is typically <3G total, including /usr/local/ which is on a separate filesystem.)
From TW20181124: /var/adm/backup/rpmdb# ls -Ggh total 134M -rw-r--r-- 1 27M Jul 29 06:24 Packages-20180729.gz -rw-r--r-- 1 27M Aug 2 03:50 Packages-20180802.gz -rw-r--r-- 1 27M Sep 30 13:48 Packages-20180930.gz -rw-r--r-- 1 27M Dec 1 20:38 Packages-20181201.gz -rw-r--r-- 1 27M Dec 2 00:04 Packages-20181202.gz -rw-r--r-- 1 36 Dec 2 00:04 rpmdb_recent_md5
First: no need for cron, these days a systemd service takes care of backing up the rpm database.
That paragraph reference to cron is a copy and paste from: https://doc.opensuse.org/documentation/leap/reference/single-html/book.opens... I can imagine generation of those big files surely must play a part in the sluggishness referred to in recent mailing list and forum discussions. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org