regenerating /var/db/pkg

Diane Bruce db at db.net
Thu Apr 22 13:44:33 UTC 2010


On Thu, Apr 22, 2010 at 04:12:08PM +0300, Eitan Adler wrote:
> > Hmm, I guess you shouldn't backup /var/foo to /var/bar. If /var is lost,
> > your backup is gone, too.

In your crontab

MAILTO=...
@weekly          /usr/sbin/pkg_info -I -a

Once a week is reasonable.

- Diane
-- 
- db at FreeBSD.org db at db.net http://www.db.net/~db


More information about the freebsd-hackers mailing list