[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-user
Subject:    Re: Creating a backup of the system
From:       Shaun Jackman <sjackman () telus ! net>
Date:       2004-06-18 4:37:40
Message-ID: 200406172137.40179.sjackman () telus ! net
[Download RAW message or body]

To save and restore the list of installed packages use
	dpkg --get-selections
	dpkg --set-selections
The man page for dpkg will be useful here. From a console run 
'man dpkg', or from KDE point Konqueror to '#dpkg'.

To clear /var/cache/apt/archives run
	apt-get clean
Again, here the man page for apt-get will be useful.

Cheers,
Shaun


On Thu June 17, 2004 19h59, Joćo Silva wrote:
> Hi all,
>
> how can I create a backup of the system? What I mean is, I
> have lots of packages installed; is there a way to save the
> list of packages that are installed, and then use that list
> in another computer to create a system similar to mine?
>
> I know there is /var/lib/dpkg/status; is there a way to
> install all the packages listed there in a freshly new
> installed debian system (already configured to use apt-get)?
>
> Also, /var/cache/apt/archives is using a lot of disk space;
> can I delete all the files? Or is there any way to clear this
> cache?
>
> Thanks for your time,
>
> Joćo


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic