[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Backing up critical data ((was Re: Please help: Accidentally wiped off the whole hard disk!!!)



Marty wrote:
> Along the general lines of backing up systems and critical data,
> there's also the dpkg (or apt) option to produce a list of packages
> that can be used to reproduce a complete debian installation.
> (I don't have it at my fingertips.  Can anyone refresh my memory?)

Here it is, 
dpkg --get-selections '*' > pkg.lst
To restore, use 
dpkg --set-selections < pkg.lst

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

Attachment: signature.asc
Description: Digital signature


Reply to: