Re: Full System Restore with tar: Reminder!
csj <csj@mindgate.net> writes:
> >
> > dpkg --get-selections > filename
> > dpkg --set-selections < filename
> >
> > Bob
>
> Yes, but where would dpkg fetch those files? Can it fetch it, say,
> from my local mirror?
No. It gets the information from /var/lib/dpkg/status. You
should run dpkg --get-selections periodically, and keep it on a
separate partition, a floppy, or some other safe place.
Once your /var is hosed, it's too late to do it. But it's a lot
quicker and easier to run dpkg --get-selections than to make a full
backup.
Bob
--
_
|_) _ |_ Robert D. Hilliard <hilliard@debian.org>
|_) (_) |_) 1294 S.W. Seagull Way <bob@bobhilliard.net>
Palm City, FL USA GPG Key ID: 390D6559
PGP Key ID: A8E40EB9
Reply to: