On 4/22/2010 6:44 AM, Diane Bruce wrote:
> 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

pkg_info -o -a would probably be more useful from the standpoint of
rebuilding ports after a lost /var/db/pkg. For portmaster users
'portmaster --list-origins' would give you a list that you could then do
'portmaster `cat list`' to rebuild everything for you.


hth,

Doug

-- 

        ... and that's just a little bit of history repeating.
                        -- Propellerheads

        Improve the effectiveness of your Internet presence with
        a domain name makeover!    http://SupersetSolutions.com/

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to