Re: Da woody a sarge con backup
gio 25 agosto 2005, alle 14:57 (GMT+0200), Lucio Crusca ha scritto:
> [...]
> Dubbio:
> mi piacerebbe evitare di fare il backup dei binari (/usr, /bin, /sbin, ...),
> ma in questo modo dovrei backupparmi la lista dei pacchetti installati in
> modo da poterla poi dare in pasto ad apt-get in fase di restore. Io pensavo
> ad un
> $ dpkg -l | grep ^ii | cut -d\ -f3 > elenco.txt
dpkg --get-selections > elenco.txt
> Se poi devo fare il restore pensavo ad un
> # apt-get -qq -m install `cat elenco.txt`
cat elenco.txt | dpkg --set-selections
apt-get install
--
Ave Johan Haggi
ante diem octavum Kalendas Septembres MMDCCLVIII ab Urbe condita
**NEW** GnuPG key-id: 0x398F1A73 (available on http://keyserver.linux.it)
Fingerprint: 75D4 86D5 B795 BD31 4BD2 2354 9206 CB42 398F 1A73
Reply to: