-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 09 January 2004 07:19, Hareesh Nagarajan wrote: > Hi: > > First, let me thank this excellent list, because there is always someone > here who seems to be inadvertently talking about my problems. :) > > Anyway my query goes like this: > What do I have to do to take a backup/snapshot of Portage on my current > Gentoo box? Because if I was to install Gentoo 1.4 on a new box sometime > in the future, I'd love to get Portage to the same state as I have it > now without having to go through the rigmarole of emerge syncing and > fetching the packages again. > > Do I just have to create a copy of the contents of /usr/portage, or are > there other directories as well?
You'd want the contents of /usr/portage (with or without the source tarballs), /etc/make.conf, /var/cache/edb/world, and /var/cache/edb/virtuals If you've got the space setting 'buildpkg' in FEATURES would be a good idea as it will make portage make a binary package for everything you install as you install it. Put /usr/portage and /etc/make.conf on the new machine, install system, then copy the two /var/cache/edb files over and 'emerge world' (Totally untested mind!) - -- Mike Williams -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE//oi/InuLMrk7bIwRAqzrAJ9EZskpXBEbrApvjC+S/H9gvzsx7gCgivDN DXMYMUTnBUVN9xZmifMupLE= =5I8a -----END PGP SIGNATURE----- -- [EMAIL PROTECTED] mailing list