summaryrefslogtreecommitdiffstats
path: root/etc/defaults/periodic.conf
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-03-26 03:01:48 +0000
committerdougb <dougb@FreeBSD.org>2011-03-26 03:01:48 +0000
commit4eab0bcd9d53bb5c86710b319487ea4842ac1fd7 (patch)
treee0024489f4c1946c17d21985748c1949a8b69922 /etc/defaults/periodic.conf
parent272da29f27c14c3f8374a54da951c5713883c82a (diff)
downloadFreeBSD-src-4eab0bcd9d53bb5c86710b319487ea4842ac1fd7.zip
FreeBSD-src-4eab0bcd9d53bb5c86710b319487ea4842ac1fd7.tar.gz
Add a daily period script to back up /var/db/pkg
The final product contains work from the originator, and Florent Thoumie <florent.thoumie@gmail.com>. The final product contains considerable re-working by me, so all responsibility for bugs rests under my pointy hat. PR: ports/145957 Submitted by: Eitan Adler <EitanAdlerList@gmail.com>
Diffstat (limited to 'etc/defaults/periodic.conf')
-rw-r--r--etc/defaults/periodic.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/defaults/periodic.conf b/etc/defaults/periodic.conf
index 3959e3b..f6c42df47 100644
--- a/etc/defaults/periodic.conf
+++ b/etc/defaults/periodic.conf
@@ -74,6 +74,10 @@ daily_backup_passwd_enable="YES" # Backup passwd & group
# 210.backup-aliases
daily_backup_aliases_enable="YES" # Backup mail aliases
+# 220.backup-pkgdb
+daily_backup_pkgdb_enable="YES" # Backup /var/db/pkg
+daily_backup_pkgdb_dir="/var/backups"
+
# 300.calendar
daily_calendar_enable="NO" # Run calendar -a
OpenPOWER on IntegriCloud