Re: Debian Backup ?
Alvin Oga wrote:
> On Wed, 7 Apr 2004, Support wrote:
>
>> Hi! Debian Users
>>
>> How to make a hole Debian O/S backup if I don't have any Backup
>> Device..?
>
> you dont need to do a debian os backup
> - its backed up on the internet at gazillion places
> - you can get free *.iso debian images
> - you can get make floppies and cds
> - you can buy deb cd's
>
> but, if you want to save your deb config ( everybody has a spare
> floppy disk )
> to save...
> mount "your floppy disk"
> dpkg --get-selections * > /mnt/floppy/pkg.lst
>
> to restore..
> build a minimally installed deb box from bare metal
>
> mount "your saved floppy"
> dpkg --set-selections < /mnt/floppy/pkg.lst
> apt-get update
> apt-get dist-upgrade
Alvin,
in this case i think one needs "apt-get dselect-upgrade" and not
apt-get dist-upgrade since one changes the status of certain
packages with dpkg --set-selections. To take those in account
you need the apt-get dselect-upgrade.
Or one could install aptitude & then run "aptitude install" instead
of apt-get dselect-upgrade
Benedict
Reply to: