Re: [gentoo-dev] backups: remove Portage cruft?

2006-06-14 Thread Mike Frysinger
On Monday 12 June 2006 19:28, Alec Warner wrote:
 Joerg Plate wrote:
 Do make sure you back up the base /var/cache/edb/
 
  Why? Anything in /var/cache doesn't need to be in a backup,
  because it can be generated when necessary (in theory...)

 in theory, yes;

in practice, this needs to be a yes too

 in practice there are a couple of files you may not want 
 to destroy (mtimedb, counter)

those files are very helpful sure, but portage needs to be able to sanely 
recover if they go bye bye
-mike


pgpaF7y79APCR.pgp
Description: PGP signature


Re: [gentoo-dev] backups: remove Portage cruft?

2006-06-13 Thread Chris Gianelloni
On Mon, 2006-06-12 at 22:36 +0200, Molle Bestefich wrote:
 Hi
 
 Portage takes up a lot of space and time when doing server backups.
 
 How much of Portage needs to be backup up?
 Any large parts of the tree that I can just dump?

You don't need to backup any of it.  Everything under /usr/portage can
be regained with an emerge --sync except distfiles, and those are
redownloaded the next time you merge a package that requires it.

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux


signature.asc
Description: This is a digitally signed message part


[gentoo-dev] backups: remove Portage cruft?

2006-06-12 Thread Molle Bestefich

Hi

Portage takes up a lot of space and time when doing server backups.

How much of Portage needs to be backup up?
Any large parts of the tree that I can just dump?

Thanks!

CC appreciated :).
--
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] backups: remove Portage cruft?

2006-06-12 Thread Mike Doty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Molle Bestefich wrote:
 Hi
 
 Portage takes up a lot of space and time when doing server backups.
 
 How much of Portage needs to be backup up?
 Any large parts of the tree that I can just dump?
 
 Thanks!
 
 CC appreciated :).
anything in /usr/portage can be regenerated by syncing.  /var/tmp can be
dumped too.

That should be most of the space portage takes

- --
===
Mike Doty  kingtaco -at- gentoo.org
Gentoo/AMD64 Strategic Lead
Gentoo Developer Relations
Gentoo Recruitment Lead
Gentoo Infrastructure
GPG: 0094 7F06 913E 78D6 F1BB  06BA D0AD D125 A797 C7A7
===
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEjdGU0K3RJaeXx6cRAjoXAKDJW9YZ5gax+Vrb/y7kiCr2VomgfwCfSe89
0QkLcHEXzZ9FChQe1/Vk8HM=
=8YZx
-END PGP SIGNATURE-
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] backups: remove Portage cruft?

2006-06-12 Thread Robin H. Johnson
On Mon, Jun 12, 2006 at 03:41:56PM -0500, Mike Doty wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Molle Bestefich wrote:
  Hi
  
  Portage takes up a lot of space and time when doing server backups.
  
  How much of Portage needs to be backup up?
  Any large parts of the tree that I can just dump?
  
  Thanks!
  
  CC appreciated :).
 anything in /usr/portage can be regenerated by syncing.  /var/tmp can be
 dumped too.
 
 That should be most of the space portage takes
You should also be able to ditch /var/cache/edb/dep/ safely.
Do make sure you back up the base /var/cache/edb/ and /var/lib/portage/

-- 
Robin Hugh Johnson
E-Mail : [EMAIL PROTECTED]
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85


pgpSV5aJN7sxd.pgp
Description: PGP signature


Re: [gentoo-dev] backups: remove Portage cruft?

2006-06-12 Thread Joerg Plate

 Do make sure you back up the base /var/cache/edb/
Why? Anything in /var/cache doesn't need to be in a backup,
because it can be generated when necessary (in theory...)
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] backups: remove Portage cruft?

2006-06-12 Thread Marius Mauch
On Mon, 12 Jun 2006 14:06:01 -0700
Robin H. Johnson [EMAIL PROTECTED] wrote:

 On Mon, Jun 12, 2006 at 03:41:56PM -0500, Mike Doty wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Molle Bestefich wrote:
   Hi
   
   Portage takes up a lot of space and time when doing server
   backups.
   
   How much of Portage needs to be backup up?
   Any large parts of the tree that I can just dump?
   
   Thanks!
   
   CC appreciated :).
  anything in /usr/portage can be regenerated by syncing.  /var/tmp
  can be dumped too.
  
  That should be most of the space portage takes
 You should also be able to ditch /var/cache/edb/dep/ safely.
 Do make sure you back up the base /var/cache/edb/
 and /var/lib/portage/

Don't forget the most important thing: /var/db/pkg. Other things worth
saving are /var/log/emerge.log (serveral tools use this) and of course
any portage related files in /etc.

Marius

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.


signature.asc
Description: PGP signature