Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2014 12:48:50 +0200
From:      Kurt Jaeger <lists@opsec.eu>
To:        Anton Shterenlikht <mexas@bris.ac.uk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: restore from /var/backup/pkgng.db
Message-ID:  <20140514104850.GS2341@home.opsec.eu>
In-Reply-To: <201405141031.s4EAV0Y4003755@mech-cluster241.men.bris.ac.uk>
References:  <201405141031.s4EAV0Y4003755@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> What program produces /var/backup/pkgng.db and pkgdb.bak.tbz?

/var/backup/pkgng.db comes from:

/usr/local/etc/periodic/daily/411.pkg-backup

> How can these files be used if the pkg database is corrupted?

pkg backup -r /var/backups/pkgng.db

should work.

> If I manually run pkg backup -d somefile, is somefile
> identical to /var/backup/pkgng.db?

I think so, yes.

-- 
pi@opsec.eu            +49 171 3101372                         6 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140514104850.GS2341>