Gentoo Archives: gentoo-user

From: Jerry McBride <mcbrides9@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Backups
Date: Sun, 30 Sep 2007 22:34:29
Message-Id: 200709301820.01084.mcbrides9@comcast.net
In Reply to: Re: [gentoo-user] Backups by Neil Bothwick
1 On Sunday 30 September 2007 06:02:30 pm Neil Bothwick wrote:
2 > Hello Jerry McBride,
3 >
4 > > Just my two cents worth here. Often I find a need to generate a
5 > > duplicate of an existing gentoo installation and to ease the build
6 > > process I run this script via cron...
7 > >
8 > > #!/bin/sh
9 > >
10 > > rm /portage.list/*.*
11 > >
12 > > emerge -pe --color=n system > /portage.list/system.list
13 > > emerge -pe --color=n world > /portage.list/world.list
14 > >
15 > > Basicly it generates a list of installed ebuilds for both the system
16 > > and world model.
17 >
18 > Why not just backup the world list itself, /var/lib/portage/world? Your
19 > method doesn't distinguish between packages in world and their
20 > dependencies, emerging from this would result in a screwed world file.
21 >
22
23 It doesn't have too. The files I listed plus a backup of /etc is all you
24 need...
25
26 > The system list is contained in your profile, so you just need a note of
27 > where /etc/make.profile points, which you will already have is you
28 > backup /etc.
29
30
31
32 --
33
34
35 From the Desk of: Jerome D. McBride
36 --
37 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Backups Neil Bothwick <neil@××××××××××.uk>