public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Backups
@ 2005-12-15 13:03 Allan Spagnol Comar
  2005-12-15 16:53 ` Richard Fish
  0 siblings, 1 reply; 83+ messages in thread
From: Allan Spagnol Comar @ 2005-12-15 13:03 UTC (permalink / raw
  To: gentoo-user

Good day Gentoo List !!!

Some one knows where I can find some good material about backuping linux boxes ?

thanks, Allan

--
An application asked:
"Requeires Windows 9x, NT4 or better",
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
@ 2005-12-15 14:32 brettholcomb
  0 siblings, 0 replies; 83+ messages in thread
From: brettholcomb @ 2005-12-15 14:32 UTC (permalink / raw
  To: gentoo-user

There is a book covering backups that is supposed to be the Bible for backups.  Unfortunately, I am not where I can lay hands on it and can't remember the title.

> 
> From: Allan Spagnol Comar <allan.comar@gmail.com>
> Date: 2005/12/15 Thu AM 08:03:34 EST
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] Backups
> 
> Good day Gentoo List !!!
> 
> Some one knows where I can find some good material about backuping linux boxes ?
> 
> thanks, Allan
> 
> --
> An application asked:
> "Requeires Windows 9x, NT4 or better",
> so I´ve installed Linux
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2005-12-15 13:03 Allan Spagnol Comar
@ 2005-12-15 16:53 ` Richard Fish
  2005-12-15 17:27   ` John J. Foster
  2005-12-15 19:15   ` Neil Bothwick
  0 siblings, 2 replies; 83+ messages in thread
From: Richard Fish @ 2005-12-15 16:53 UTC (permalink / raw
  To: gentoo-user

On 12/15/05, Allan Spagnol Comar <allan.comar@gmail.com> wrote:
> Some one knows where I can find some good material about backuping linux boxes ?

If you can give us some more details about what you are looking for
(number of boxes, backup device you want to use, whether you want
simple backup or archiving, etc), you can probably get some better
answers.

My personal favorite for my desktop and laptop is using 'dar' with big
USB hard drives....but that's what works well for me.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2005-12-15 16:53 ` Richard Fish
@ 2005-12-15 17:27   ` John J. Foster
  2005-12-15 19:15   ` Neil Bothwick
  1 sibling, 0 replies; 83+ messages in thread
From: John J. Foster @ 2005-12-15 17:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

On Thu, Dec 15, 2005 at 09:53:27AM -0700, Richard Fish wrote:
> 
> My personal favorite for my desktop and laptop is using 'dar' with big
> USB hard drives....but that's what works well for me.
> 
ditto - very easy, very efficient

John

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2005-12-15 16:53 ` Richard Fish
  2005-12-15 17:27   ` John J. Foster
@ 2005-12-15 19:15   ` Neil Bothwick
  2005-12-15 20:04     ` Richard Fish
  2005-12-22 14:26     ` Michael Kintzios
  1 sibling, 2 replies; 83+ messages in thread
From: Neil Bothwick @ 2005-12-15 19:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

On Thu, 15 Dec 2005 09:53:27 -0700, Richard Fish wrote:

> My personal favorite for my desktop and laptop is using 'dar' with big
> USB hard drives....but that's what works well for me.

I use rdiff-backup, which is ideal for backing up automatically to a
hard drive. I run it from cron, hourly on critical directories, daily on
the rest. I then have a weekly cron script that compresses the backup
directories with squashfs and writes them to ISO images ready for writing
to bootable DVDs. It makes restoring individual files very easy, and a
completely hosed system can be fixed because the DVDs are bootable.


-- 
Neil Bothwick

A day without sunshine is like night.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2005-12-15 19:15   ` Neil Bothwick
@ 2005-12-15 20:04     ` Richard Fish
  2005-12-15 20:26       ` Allan Spagnol Comar
  2005-12-15 21:49       ` Neil Bothwick
  2005-12-22 14:26     ` Michael Kintzios
  1 sibling, 2 replies; 83+ messages in thread
From: Richard Fish @ 2005-12-15 20:04 UTC (permalink / raw
  To: gentoo-user

On 12/15/05, Neil Bothwick <neil@digimed.co.uk> wrote:
> completely hosed system can be fixed because the DVDs are bootable.

So are my USB hard disks.  Nothing against DVD backups though...I just
find them too slow and small for my needs...

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2005-12-15 20:04     ` Richard Fish
@ 2005-12-15 20:26       ` Allan Spagnol Comar
  2005-12-16 13:13         ` Paweł Madej
  2005-12-15 21:49       ` Neil Bothwick
  1 sibling, 1 reply; 83+ messages in thread
From: Allan Spagnol Comar @ 2005-12-15 20:26 UTC (permalink / raw
  To: gentoo-user

Thanks all for the answers until now;

What i am looking for is to backup 3 servers, and a critical issue workstation.

I have a storage working with samba, so my bakups will go to this
samba server. I would like to make some diff bakups to save storage
space ....

:)

thanks again all of you....

got interested on backups on large USB disks too ...

On 12/15/05, Richard Fish <bigfish@asmallpond.org> wrote:
> On 12/15/05, Neil Bothwick <neil@digimed.co.uk> wrote:
> > completely hosed system can be fixed because the DVDs are bootable.
>
> So are my USB hard disks.  Nothing against DVD backups though...I just
> find them too slow and small for my needs...
>
> -Richard
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
An application asked:
"Requeires Windows 9x, NT4 or better",
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2005-12-15 20:04     ` Richard Fish
  2005-12-15 20:26       ` Allan Spagnol Comar
@ 2005-12-15 21:49       ` Neil Bothwick
  1 sibling, 0 replies; 83+ messages in thread
From: Neil Bothwick @ 2005-12-15 21:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 496 bytes --]

On Thu, 15 Dec 2005 13:04:38 -0700, Richard Fish wrote:

> > completely hosed system can be fixed because the DVDs are bootable.
> 
> So are my USB hard disks.  Nothing against DVD backups though...I just
> find them too slow and small for my needs...

A fair point, although it does make keeping spare, off-site backups
rather expensive :(

rdiff-backup should be excellent with a USB hard disk, I may give it a go.


-- 
Neil Bothwick

Jimi Hendrix's modem was a Purple Hayes.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2005-12-15 20:26       ` Allan Spagnol Comar
@ 2005-12-16 13:13         ` Paweł Madej
  2005-12-16 15:20           ` Allan Spagnol Comar
  0 siblings, 1 reply; 83+ messages in thread
From: Paweł Madej @ 2005-12-16 13:13 UTC (permalink / raw
  To: gentoo-user

Allan Spagnol Comar wrote:
> Thanks all for the answers until now;
> 
> What i am looking for is to backup 3 servers, and a critical issue workstation.
> 
I think that you should test Bacula. that is very scalable app to backup 
from different sources to different media.

http://www.bacula.org

Greets
Pawel
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2005-12-16 13:13         ` Paweł Madej
@ 2005-12-16 15:20           ` Allan Spagnol Comar
  0 siblings, 0 replies; 83+ messages in thread
From: Allan Spagnol Comar @ 2005-12-16 15:20 UTC (permalink / raw
  To: gentoo-user

thanks.


On 12/16/05, Paweł Madej <linux@quanteam.info> wrote:
> Allan Spagnol Comar wrote:
> > Thanks all for the answers until now;
> >
> > What i am looking for is to backup 3 servers, and a critical issue workstation.
> >
> I think that you should test Bacula. that is very scalable app to backup
> from different sources to different media.
>
> http://www.bacula.org
>
> Greets
> Pawel
> --
> gentoo-user@gentoo.org mailing list
>
>


--
An application asked:
"Requeires Windows 9x, NT4 or better",
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* RE: [gentoo-user] Backups
  2005-12-15 19:15   ` Neil Bothwick
  2005-12-15 20:04     ` Richard Fish
@ 2005-12-22 14:26     ` Michael Kintzios
  2005-12-22 19:30       ` Neil Bothwick
  1 sibling, 1 reply; 83+ messages in thread
From: Michael Kintzios @ 2005-12-22 14:26 UTC (permalink / raw
  To: gentoo-user



> -----Original Message-----
> From: Neil Bothwick [mailto:neil@digimed.co.uk] 
> Sent: 15 December 2005 19:16
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Backups
> 
> 
> On Thu, 15 Dec 2005 09:53:27 -0700, Richard Fish wrote:
> 
> > My personal favorite for my desktop and laptop is using 
> 'dar' with big
> > USB hard drives....but that's what works well for me.
> 
> I use rdiff-backup, which is ideal for backing up automatically to a
> hard drive. I run it from cron, hourly on critical 
> directories, daily on
> the rest. I then have a weekly cron script that compresses the backup
> directories with squashfs and writes them to ISO images ready 
> for writing
> to bootable DVDs. It makes restoring individual files very easy, and a
> completely hosed system can be fixed because the DVDs are bootable.

If you get a minute, a detailed wiki howto would be useful for some of
us.  :-)
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2005-12-22 14:26     ` Michael Kintzios
@ 2005-12-22 19:30       ` Neil Bothwick
  0 siblings, 0 replies; 83+ messages in thread
From: Neil Bothwick @ 2005-12-22 19:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 304 bytes --]

On Thu, 22 Dec 2005 14:26:56 -0000, Michael Kintzios wrote:

> If you get a minute, a detailed wiki howto would be useful for some of
> us.  :-)

A minute, where can I get one of those? Is it in portage? :-(


-- 
Neil Bothwick

Eagles may soar, but Wombles don't get sucked into jet engines

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* [gentoo-user] Backups
@ 2007-09-29 22:26 Grant
  2007-09-29 23:06 ` Volker Armin Hemmann
                   ` (3 more replies)
  0 siblings, 4 replies; 83+ messages in thread
From: Grant @ 2007-09-29 22:26 UTC (permalink / raw
  To: Gentoo mailing list

Do you back up anything other than /etc and /home on a standard system?

- Grant
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 22:26 Grant
@ 2007-09-29 23:06 ` Volker Armin Hemmann
  2007-09-29 23:28   ` Grant
                     ` (2 more replies)
  2007-09-30  0:08 ` Albert Hopkins
                   ` (2 subsequent siblings)
  3 siblings, 3 replies; 83+ messages in thread
From: Volker Armin Hemmann @ 2007-09-29 23:06 UTC (permalink / raw
  To: gentoo-user

On Sonntag, 30. September 2007, Grant wrote:
> Do you back up anything other than /etc and /home on a standard system?
>
> - Grant

/var because with /var gone its complete-reinstall time.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 23:06 ` Volker Armin Hemmann
@ 2007-09-29 23:28   ` Grant
  2007-09-30  1:22     ` Volker Armin Hemmann
                       ` (2 more replies)
  2007-09-29 23:45   ` Grant
  2007-09-30  7:17   ` Alan McKinnon
  2 siblings, 3 replies; 83+ messages in thread
From: Grant @ 2007-09-29 23:28 UTC (permalink / raw
  To: gentoo-user

> > Do you back up anything other than /etc and /home on a standard system?
> >
> > - Grant
>
> /var because with /var gone its complete-reinstall time.

Do you back up hidden files and directories in the home directory?
There seems to be a lot of junk in there.  Does something like
'--exclude "/home/user/.*"' work with tar?

- Grant
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 23:06 ` Volker Armin Hemmann
  2007-09-29 23:28   ` Grant
@ 2007-09-29 23:45   ` Grant
  2007-09-30  1:24     ` Volker Armin Hemmann
                       ` (2 more replies)
  2007-09-30  7:17   ` Alan McKinnon
  2 siblings, 3 replies; 83+ messages in thread
From: Grant @ 2007-09-29 23:45 UTC (permalink / raw
  To: gentoo-user

> > Do you back up anything other than /etc and /home on a standard system?
> >
> > - Grant
>
> /var because with /var gone its complete-reinstall time.

What about splitting tar.gz files across multiple CDs?  Can that be done?

- Grant
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 22:26 Grant
  2007-09-29 23:06 ` Volker Armin Hemmann
@ 2007-09-30  0:08 ` Albert Hopkins
  2007-09-30  3:38 ` Steen Eugen Poulsen
  2007-10-01  1:09 ` Dan Farrell
  3 siblings, 0 replies; 83+ messages in thread
From: Albert Hopkins @ 2007-09-30  0:08 UTC (permalink / raw
  To: gentoo-user


On Sat, 2007-09-29 at 15:26 -0700, Grant wrote:
> Do you back up anything other than /etc and /home on a standard
> system?

I pretty much back up everything that's not ubiquitous on the Internet
on a on an external drive. Disk space is so cheap these days so I figure
why not.

--
Albert W. Hopkins

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 23:28   ` Grant
@ 2007-09-30  1:22     ` Volker Armin Hemmann
  2007-09-30  1:35     ` Kenneth Prugh
  2007-10-03 13:15     ` Matthias Bethke
  2 siblings, 0 replies; 83+ messages in thread
From: Volker Armin Hemmann @ 2007-09-30  1:22 UTC (permalink / raw
  To: gentoo-user

On Sonntag, 30. September 2007, Grant wrote:
> > > Do you back up anything other than /etc and /home on a standard system?
> > >
> > > - Grant
> >
> > /var because with /var gone its complete-reinstall time.
>
> Do you back up hidden files and directories in the home directory?

yes, they contain settings, pw, all the juicy stuff. I tar everything onto 
tape. 
tar -c -b 128 /home/energyman | mbuffer -m 400M -p 95 -s 65536 > /dev/st0


> There seems to be a lot of junk in there.  Does something like
> '--exclude "/home/user/.*"' work with tar?

don't know, never tried.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 23:45   ` Grant
@ 2007-09-30  1:24     ` Volker Armin Hemmann
  2007-09-30  3:44     ` Mark Shields
  2007-10-05 15:16     ` Joost Roeleveld
  2 siblings, 0 replies; 83+ messages in thread
From: Volker Armin Hemmann @ 2007-09-30  1:24 UTC (permalink / raw
  To: gentoo-user

On Sonntag, 30. September 2007, Grant wrote:
> > > Do you back up anything other than /etc and /home on a standard system?
> > >
> > > - Grant
> >
> > /var because with /var gone its complete-reinstall time.
>
> What about splitting tar.gz files across multiple CDs?  Can that be done?
>
> - Grant
man tar:
 -M, --multi-volume
 -L, --tape-length=
        



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 23:28   ` Grant
  2007-09-30  1:22     ` Volker Armin Hemmann
@ 2007-09-30  1:35     ` Kenneth Prugh
  2007-10-01  0:50       ` Dan Farrell
  2007-10-03 13:15     ` Matthias Bethke
  2 siblings, 1 reply; 83+ messages in thread
From: Kenneth Prugh @ 2007-09-30  1:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

On Sat, 29 Sep 2007 16:28:36 -0700
Grant <emailgrant@gmail.com> wrote:
> Does something like
> '--exclude "/home/user/.*"' work with tar?
> 
> - Grant

Yes you may exclude files from being included. From the tar man page:

--exclude PATTERN	exclude files based upon PATTERN

-X, --exclude-from FILE	exclude files listed in FILE

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 22:26 Grant
  2007-09-29 23:06 ` Volker Armin Hemmann
  2007-09-30  0:08 ` Albert Hopkins
@ 2007-09-30  3:38 ` Steen Eugen Poulsen
  2007-09-30 10:41   ` Florian Philipp
  2007-09-30 15:36   ` Grant
  2007-10-01  1:09 ` Dan Farrell
  3 siblings, 2 replies; 83+ messages in thread
From: Steen Eugen Poulsen @ 2007-09-30  3:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 946 bytes --]

Grant skrev:
> Do you back up anything other than /etc and /home on a standard system?

In a Gentoo system nothing is really standard, so I backup everything
from / and then have a small exclude list with things like:

/dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC.


/var contains the most important files on a Gentoo system, if you loss
the portage installed software information your in a heap of trouble.
Goes both ways though backup of portages var information is less useful
without backup of everything installed.


I'm undecided about /usr/portage, I could save some time backing up
/usr/portage/distfiles, but it is easily generated content.



Minimal backup - if your willing to spend the hours on getting thing
back up and running.

/etc /root /home /usr/local /var

It's possible to make an exclude list for /var as it contains both
variable data thats important to save and dynamic data that will be
generated again.

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3412 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 23:45   ` Grant
  2007-09-30  1:24     ` Volker Armin Hemmann
@ 2007-09-30  3:44     ` Mark Shields
  2007-09-30 15:37       ` Grant
  2007-10-05 15:16     ` Joost Roeleveld
  2 siblings, 1 reply; 83+ messages in thread
From: Mark Shields @ 2007-09-30  3:44 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

On 9/29/07, Grant <emailgrant@gmail.com> wrote:
>
> > > Do you back up anything other than /etc and /home on a standard
> system?
> > >
> > > - Grant
> >
> > /var because with /var gone its complete-reinstall time.
>
> What about splitting tar.gz files across multiple CDs?  Can that be done?
>
> - Grant
> --
> gentoo-user@gentoo.org mailing list
>
>
A lot of things you're asking for can be accomplished with a script I've
used (and successfully recovered with) called a stage 4 backup [1].  It's
just your standard bash script that uses tar, gzip, bzip2, etc. to create
manageable backups.  I have my server set to backup once a month (I don't
make significant changes to it very often).

[1] http://gentoo-wiki.com/HOWTO_Custom_Stage4

-- 
- Mark Shields

[-- Attachment #2: Type: text/html, Size: 1228 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 23:06 ` Volker Armin Hemmann
  2007-09-29 23:28   ` Grant
  2007-09-29 23:45   ` Grant
@ 2007-09-30  7:17   ` Alan McKinnon
  2 siblings, 0 replies; 83+ messages in thread
From: Alan McKinnon @ 2007-09-30  7:17 UTC (permalink / raw
  To: gentoo-user

On Sunday 30 September 2007, Volker Armin Hemmann wrote:
> On Sonntag, 30. September 2007, Grant wrote:
> > Do you back up anything other than /etc and /home on a standard
> > system?
> >
> > - Grant
>
> /var because with /var gone its complete-reinstall time.

/usr/local too, otherwise you get to re-install everything in there as 
well

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30  3:38 ` Steen Eugen Poulsen
@ 2007-09-30 10:41   ` Florian Philipp
  2007-09-30 15:36   ` Grant
  1 sibling, 0 replies; 83+ messages in thread
From: Florian Philipp @ 2007-09-30 10:41 UTC (permalink / raw
  To: gentoo-user

Steen Eugen Poulsen schrieb:
> Grant skrev:
>> Do you back up anything other than /etc and /home on a standard system?
> 
> In a Gentoo system nothing is really standard, so I backup everything
> from / and then have a small exclude list with things like:
> 
> /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC.
> 
> 
> /var contains the most important files on a Gentoo system, if you loss
> the portage installed software information your in a heap of trouble.
> Goes both ways though backup of portages var information is less useful
> without backup of everything installed.
> 

I'd like to know which parts from /var are actually needed. Do we need 
anything more than /var/mail, /var/lib/portage/world and /var/log?

/var/db seems to contain data about installed packages but since we 
don't back up /usr (when doing a minimal backup) we have to reemerge 
everything and these data should be regenerated automatically, don't you 
think?

> 
> Minimal backup - if your willing to spend the hours on getting thing
> back up and running.
> 
> /etc /root /home /usr/local /var

I'd add /proc/config.gz to save the kernel config.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30  3:38 ` Steen Eugen Poulsen
  2007-09-30 10:41   ` Florian Philipp
@ 2007-09-30 15:36   ` Grant
  2007-09-30 15:50     ` Grant
                       ` (2 more replies)
  1 sibling, 3 replies; 83+ messages in thread
From: Grant @ 2007-09-30 15:36 UTC (permalink / raw
  To: gentoo-user

> > Do you back up anything other than /etc and /home on a standard system?
>
> In a Gentoo system nothing is really standard, so I backup everything
> from / and then have a small exclude list with things like:
>
> /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC.
>
>
> /var contains the most important files on a Gentoo system, if you loss
> the portage installed software information your in a heap of trouble.
> Goes both ways though backup of portages var information is less useful
> without backup of everything installed.
>
>
> I'm undecided about /usr/portage, I could save some time backing up
> /usr/portage/distfiles, but it is easily generated content.
>
>
>
> Minimal backup - if your willing to spend the hours on getting thing
> back up and running.
>
> /etc /root /home /usr/local /var

For now I think I'll do /etc, /root, /home, /var/lib/portage/world,
/usr/src/linux/.config, and anything specific I might need in
/usr/local.  What else am I missing out on in /var?  I'm OK with a
full reinstall for now.

- Grant
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30  3:44     ` Mark Shields
@ 2007-09-30 15:37       ` Grant
  0 siblings, 0 replies; 83+ messages in thread
From: Grant @ 2007-09-30 15:37 UTC (permalink / raw
  To: gentoo-user

> > > > Do you back up anything other than /etc and /home on a standard
> system?
> > > >
> > > > - Grant
> > >
> > > /var because with /var gone its complete-reinstall time.
> >
> > What about splitting tar.gz files across multiple CDs?  Can that be done?
> >
> > - Grant
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
> A lot of things you're asking for can be accomplished with a script I've
> used (and successfully recovered with) called a stage 4 backup [1].  It's
> just your standard bash script that uses tar, gzip, bzip2, etc. to create
> manageable backups.  I have my server set to backup once a month (I don't
> make significant changes to it very often).
>
> [1] http://gentoo-wiki.com/HOWTO_Custom_Stage4

That looks pretty slick.  That will have to be the next step.

- Grant
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 15:36   ` Grant
@ 2007-09-30 15:50     ` Grant
  2007-09-30 16:14       ` Dale
  2007-09-30 19:14       ` Neil Bothwick
  2007-09-30 16:33     ` Grant
  2007-09-30 19:15     ` Neil Bothwick
  2 siblings, 2 replies; 83+ messages in thread
From: Grant @ 2007-09-30 15:50 UTC (permalink / raw
  To: gentoo-user

> > > Do you back up anything other than /etc and /home on a standard system?
> >
> > In a Gentoo system nothing is really standard, so I backup everything
> > from / and then have a small exclude list with things like:
> >
> > /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC.
> >
> >
> > /var contains the most important files on a Gentoo system, if you loss
> > the portage installed software information your in a heap of trouble.
> > Goes both ways though backup of portages var information is less useful
> > without backup of everything installed.
> >
> >
> > I'm undecided about /usr/portage, I could save some time backing up
> > /usr/portage/distfiles, but it is easily generated content.
> >
> >
> >
> > Minimal backup - if your willing to spend the hours on getting thing
> > back up and running.
> >
> > /etc /root /home /usr/local /var
>
> For now I think I'll do /etc, /root, /home, /var/lib/portage/world,
> /usr/src/linux/.config, and anything specific I might need in
> /usr/local.  What else am I missing out on in /var?  I'm OK with a
> full reinstall for now.
>
> - Grant

/boot/grub/grub.conf too.  Does anyone leave /boot mounted all the time?

- Grant
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 15:50     ` Grant
@ 2007-09-30 16:14       ` Dale
       [not found]         ` <49bf44f10709300931q5f5cdd29x304755a624e71945@mail.gmail.com>
  2007-09-30 19:14       ` Neil Bothwick
  1 sibling, 1 reply; 83+ messages in thread
From: Dale @ 2007-09-30 16:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1464 bytes --]

Grant wrote:
>>>> Do you back up anything other than /etc and /home on a standard system?
>>>>         
>>> In a Gentoo system nothing is really standard, so I backup everything
>>> from / and then have a small exclude list with things like:
>>>
>>> /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC.
>>>
>>>
>>> /var contains the most important files on a Gentoo system, if you loss
>>> the portage installed software information your in a heap of trouble.
>>> Goes both ways though backup of portages var information is less useful
>>> without backup of everything installed.
>>>
>>>
>>> I'm undecided about /usr/portage, I could save some time backing up
>>> /usr/portage/distfiles, but it is easily generated content.
>>>
>>>
>>>
>>> Minimal backup - if your willing to spend the hours on getting thing
>>> back up and running.
>>>
>>> /etc /root /home /usr/local /var
>>>       
>> For now I think I'll do /etc, /root, /home, /var/lib/portage/world,
>> /usr/src/linux/.config, and anything specific I might need in
>> /usr/local.  What else am I missing out on in /var?  I'm OK with a
>> full reinstall for now.
>>
>> - Grant
>>     
>
> /boot/grub/grub.conf too.  Does anyone leave /boot mounted all the time?
>
> - Grant
>   

I do.  I'm on dial-up so even if they can catch me online, they can't
get anything big.  It's to slow to upload to them and just as slow to
send me something.  26K dial-up sucks but DSL is coming soon.

Dale

:-)  :-) 

[-- Attachment #2: Type: text/html, Size: 1969 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 15:36   ` Grant
  2007-09-30 15:50     ` Grant
@ 2007-09-30 16:33     ` Grant
  2007-09-30 16:51       ` Florian Philipp
                         ` (2 more replies)
  2007-09-30 19:15     ` Neil Bothwick
  2 siblings, 3 replies; 83+ messages in thread
From: Grant @ 2007-09-30 16:33 UTC (permalink / raw
  To: gentoo-user

> > > Do you back up anything other than /etc and /home on a standard system?
> >
> > In a Gentoo system nothing is really standard, so I backup everything
> > from / and then have a small exclude list with things like:
> >
> > /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC.
> >
> >
> > /var contains the most important files on a Gentoo system, if you loss
> > the portage installed software information your in a heap of trouble.
> > Goes both ways though backup of portages var information is less useful
> > without backup of everything installed.
> >
> >
> > I'm undecided about /usr/portage, I could save some time backing up
> > /usr/portage/distfiles, but it is easily generated content.
> >
> >
> >
> > Minimal backup - if your willing to spend the hours on getting thing
> > back up and running.
> >
> > /etc /root /home /usr/local /var
>
> For now I think I'll do /etc, /root, /home, /var/lib/portage/world,
> /usr/src/linux/.config, and anything specific I might need in
> /usr/local.  What else am I missing out on in /var?  I'm OK with a
> full reinstall for now.
>
> - Grant

Where do you guys store your backups?  Leaving backups on a DVD in the
same apartment as the machines doesn't make too much sense to me.
Maybe I should mail em to my parents every week or something?

- Grant
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 16:33     ` Grant
@ 2007-09-30 16:51       ` Florian Philipp
  2007-09-30 17:37         ` Grant
  2007-09-30 18:35       ` Christopher Copeland
  2007-09-30 19:12       ` Neil Bothwick
  2 siblings, 1 reply; 83+ messages in thread
From: Florian Philipp @ 2007-09-30 16:51 UTC (permalink / raw
  To: gentoo-user

Grant schrieb:
>>>> Do you back up anything other than /etc and /home on a standard system?
>>> In a Gentoo system nothing is really standard, so I backup everything
>>> from / and then have a small exclude list with things like:
>>>
>>> /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC.
>>>
>>>
>>> /var contains the most important files on a Gentoo system, if you loss
>>> the portage installed software information your in a heap of trouble.
>>> Goes both ways though backup of portages var information is less useful
>>> without backup of everything installed.
>>>
>>>
>>> I'm undecided about /usr/portage, I could save some time backing up
>>> /usr/portage/distfiles, but it is easily generated content.
>>>
>>>
>>>
>>> Minimal backup - if your willing to spend the hours on getting thing
>>> back up and running.
>>>
>>> /etc /root /home /usr/local /var
>> For now I think I'll do /etc, /root, /home, /var/lib/portage/world,
>> /usr/src/linux/.config, and anything specific I might need in
>> /usr/local.  What else am I missing out on in /var?  I'm OK with a
>> full reinstall for now.
>>
>> - Grant
> 
> Where do you guys store your backups?  Leaving backups on a DVD in the
> same apartment as the machines doesn't make too much sense to me.
> Maybe I should mail em to my parents every week or something?
> 
> - Grant

I keep them on an USB-stick (udf filesystem, with the same settings like 
a CD-RW).

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 16:51       ` Florian Philipp
@ 2007-09-30 17:37         ` Grant
  2007-09-30 18:45           ` Alan McKinnon
  0 siblings, 1 reply; 83+ messages in thread
From: Grant @ 2007-09-30 17:37 UTC (permalink / raw
  To: gentoo-user

> >>>> Do you back up anything other than /etc and /home on a standard system?
> >>> In a Gentoo system nothing is really standard, so I backup everything
> >>> from / and then have a small exclude list with things like:
> >>>
> >>> /dev, /proc, /sys, /exports, /var/cache/squid, /srv/BackupPC.
> >>>
> >>>
> >>> /var contains the most important files on a Gentoo system, if you loss
> >>> the portage installed software information your in a heap of trouble.
> >>> Goes both ways though backup of portages var information is less useful
> >>> without backup of everything installed.
> >>>
> >>>
> >>> I'm undecided about /usr/portage, I could save some time backing up
> >>> /usr/portage/distfiles, but it is easily generated content.
> >>>
> >>>
> >>>
> >>> Minimal backup - if your willing to spend the hours on getting thing
> >>> back up and running.
> >>>
> >>> /etc /root /home /usr/local /var
> >> For now I think I'll do /etc, /root, /home, /var/lib/portage/world,
> >> /usr/src/linux/.config, and anything specific I might need in
> >> /usr/local.  What else am I missing out on in /var?  I'm OK with a
> >> full reinstall for now.
> >>
> >> - Grant
> >
> > Where do you guys store your backups?  Leaving backups on a DVD in the
> > same apartment as the machines doesn't make too much sense to me.
> > Maybe I should mail em to my parents every week or something?
> >
> > - Grant
>
> I keep them on an USB-stick (udf filesystem, with the same settings like
> a CD-RW).

But where do you put the USB stick?  If my apartment building burns to
the ground while I'm away, I'll lose my systems and the backups.

- Grant
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 16:33     ` Grant
  2007-09-30 16:51       ` Florian Philipp
@ 2007-09-30 18:35       ` Christopher Copeland
  2007-09-30 18:46         ` Grant
  2007-09-30 19:12       ` Neil Bothwick
  2 siblings, 1 reply; 83+ messages in thread
From: Christopher Copeland @ 2007-09-30 18:35 UTC (permalink / raw
  To: gentoo-user

On 30 Sep 2007, at 12:33, Grant wrote:

> Where do you guys store your backups?  Leaving backups on a DVD in the
> same apartment as the machines doesn't make too much sense to me.
> Maybe I should mail em to my parents every week or something?
>
> - Grant

Offsite backups are a good idea if your data is important to you. I  
have several servers around the world so setting up rsync mirrors is  
pretty painless. Then I burn to DVD remotely.. (I have trained people  
enough so that when the tray opens they replace the DVD with a blank)

You might want to look at doing a stage 4 backup and then sending  
that file to one of those online storage services. A quick google  
shows there are many out there offering 2-25GB of free storage. There  
are some non-free services designed specifically for backup where you  
don't pay to upload but do pay when you want to get your data (which  
given it is a backup I assume you would be highly motivated to pay if  
a restore is required) A few months back I looked into Amazon's S3 to  
automate offsite storage of backups. I never implemented anything  
though.

I would encrypt anything sent to one of those online storage services.
--
Christopher
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 17:37         ` Grant
@ 2007-09-30 18:45           ` Alan McKinnon
  2007-09-30 18:54             ` Grant
  0 siblings, 1 reply; 83+ messages in thread
From: Alan McKinnon @ 2007-09-30 18:45 UTC (permalink / raw
  To: gentoo-user

On Sunday 30 September 2007, Grant wrote:

> > I keep them on an USB-stick (udf filesystem, with the same settings
> > like a CD-RW).
>
> But where do you put the USB stick?  If my apartment building burns
> to the ground while I'm away, I'll lose my systems and the backups.

I can't believe you actually asked that. Think, man, think. 

Here's some ways to start:

Leave it at your mum's house where you have dinner every second day
Leave it at your girlfriend's house
Leave it in a safety box at the post office/your bank
Leave it at a friend's house
Leave it in the desk drawer at work
Hang it off your keyring so it's always on your person
Mail the data to your gmail account
Upload the data to your off-site web/ftp/whatever server
Store the backups in your car boot

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 18:35       ` Christopher Copeland
@ 2007-09-30 18:46         ` Grant
  0 siblings, 0 replies; 83+ messages in thread
From: Grant @ 2007-09-30 18:46 UTC (permalink / raw
  To: gentoo-user

> > Where do you guys store your backups?  Leaving backups on a DVD in the
> > same apartment as the machines doesn't make too much sense to me.
> > Maybe I should mail em to my parents every week or something?
> >
> > - Grant
>
> Offsite backups are a good idea if your data is important to you. I
> have several servers around the world so setting up rsync mirrors is
> pretty painless. Then I burn to DVD remotely.. (I have trained people
> enough so that when the tray opens they replace the DVD with a blank)
>
> You might want to look at doing a stage 4 backup and then sending
> that file to one of those online storage services. A quick google
> shows there are many out there offering 2-25GB of free storage. There
> are some non-free services designed specifically for backup where you
> don't pay to upload but do pay when you want to get your data (which
> given it is a backup I assume you would be highly motivated to pay if
> a restore is required) A few months back I looked into Amazon's S3 to
> automate offsite storage of backups. I never implemented anything
> though.
>
> I would encrypt anything sent to one of those online storage services.

Encryption yeah.  How do you encrypt your stuff?

- Grant
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 18:45           ` Alan McKinnon
@ 2007-09-30 18:54             ` Grant
  0 siblings, 0 replies; 83+ messages in thread
From: Grant @ 2007-09-30 18:54 UTC (permalink / raw
  To: gentoo-user

> > > I keep them on an USB-stick (udf filesystem, with the same settings
> > > like a CD-RW).
> >
> > But where do you put the USB stick?  If my apartment building burns
> > to the ground while I'm away, I'll lose my systems and the backups.
>
> I can't believe you actually asked that. Think, man, think.

But hindsight is so much clearer than foresight.  Good suggestions BTW.

- Grant


> Here's some ways to start:
>
> Leave it at your mum's house where you have dinner every second day
> Leave it at your girlfriend's house
> Leave it in a safety box at the post office/your bank
> Leave it at a friend's house
> Leave it in the desk drawer at work
> Hang it off your keyring so it's always on your person
> Mail the data to your gmail account
> Upload the data to your off-site web/ftp/whatever server
> Store the backups in your car boot
>
> alan
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 16:33     ` Grant
  2007-09-30 16:51       ` Florian Philipp
  2007-09-30 18:35       ` Christopher Copeland
@ 2007-09-30 19:12       ` Neil Bothwick
  2 siblings, 0 replies; 83+ messages in thread
From: Neil Bothwick @ 2007-09-30 19:12 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

Hello Grant,

> Where do you guys store your backups?  Leaving backups on a DVD in the
> same apartment as the machines doesn't make too much sense to me.
> Maybe I should mail em to my parents every week or something?

I use rsync.net, offsite backups using duplicity for GPG encryption.


-- 
Neil Bothwick

Anything is good and useful if it's made of chocolate.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 15:50     ` Grant
  2007-09-30 16:14       ` Dale
@ 2007-09-30 19:14       ` Neil Bothwick
  1 sibling, 0 replies; 83+ messages in thread
From: Neil Bothwick @ 2007-09-30 19:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

Hello Grant,

> /boot/grub/grub.conf too.  Does anyone leave /boot mounted all the time?

Yes, mounted read-only. It avoids accidentally copying a new kernel
to /boot without mounting it. that's on the machines that have a
separate /boot, something I no longer bother with.


-- 
Neil Bothwick

Cross-country skiing is great in small countries.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 15:36   ` Grant
  2007-09-30 15:50     ` Grant
  2007-09-30 16:33     ` Grant
@ 2007-09-30 19:15     ` Neil Bothwick
  2007-09-30 21:40       ` Steve Dommett
  2007-10-01  1:03       ` Dan Farrell
  2 siblings, 2 replies; 83+ messages in thread
From: Neil Bothwick @ 2007-09-30 19:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

Hello Grant,

> For now I think I'll do /etc, /root, /home, /var/lib/portage/world,
> /usr/src/linux/.config, and anything specific I might need in
> /usr/local.  What else am I missing out on in /var? 

Other data in /var/lib. For example, any databases kept in /var/lib/mysql.


-- 
Neil Bothwick

Every morning is the dawn of a new error...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
       [not found]         ` <49bf44f10709300931q5f5cdd29x304755a624e71945@mail.gmail.com>
@ 2007-09-30 20:16           ` Jerry McBride
  2007-09-30 22:02             ` Neil Bothwick
  0 siblings, 1 reply; 83+ messages in thread
From: Jerry McBride @ 2007-09-30 20:16 UTC (permalink / raw
  To: gentoo-user

On Sunday 30 September 2007 12:31:51 pm Grant wrote:
> >  Do you back up anything other than /etc and /home on a standard system?

snip...

Just my two cents worth here. Often I find a need to generate a duplicate of 
an existing gentoo installation and to ease the build process I run this 
script via cron...

#!/bin/sh

rm  /portage.list/*.*

emerge -pe --color=n system > /portage.list/system.list
emerge -pe --color=n world  > /portage.list/world.list

Basicly it generates a list of installed ebuilds for both the system and world 
model.

In my normal backup routines I add /portage.list... A great way to help 
rebuild an exact duplicate of an existing gentoo box.

Cheers...

-- 


From the Desk of: Jerome D. McBride
--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 19:15     ` Neil Bothwick
@ 2007-09-30 21:40       ` Steve Dommett
  2007-10-01  1:03       ` Dan Farrell
  1 sibling, 0 replies; 83+ messages in thread
From: Steve Dommett @ 2007-09-30 21:40 UTC (permalink / raw
  To: gentoo-user

On Sunday 30 September 2007, Neil Bothwick wrote:
> Other data in /var/lib. For example, any databases kept in /var/lib/mysql.

Rather than backup MySQL's or Postgres' binary storage I prefer to use the 
relevant tool (mysqldump, pgdump[all]) to backup the database 
to /root/backups/ just prior to running the real backup job.  This has the 
advantage that you can generally restore onto any version of the database 
server, rather than the specific version that was running when the backup was 
taken.

I'm not 100% sure but I thought this method of dumping the database is the 
only way to guarantee consistency of the snapshot without having to stop the 
database server for the duration of the backup.  From what I understand when 
backing up a live database Postgres guarantees the consistency using MVCC but 
MySQL may be a little less careful if INSERTs/UPDATEs happen during the 
backup.  For keeping a hot-spare failover database server closely in sync 
with realtime changes I'd suggest Slony1.

Unless the database contains blobs I prefer to dump as plain text INSERTs and 
compress using gzip patched with --rsyncable support which leads me to...

After backing up the database I /always/ backup to a remote machine,  
sometimes two, using rdiff-backup.  It does point-in-time recovery and 
supports ACLs and xattr.  The backup is not in some odd file format; it's 
stored in a subfolder of your filesystem just like any other tree of files so 
it is instantly available.  A subfolder called rdiff-backup-data stores all 
the rollbacks and also all the acl/xattr/other metadata so the destination 
filesystem doesn't need to support them. There was even a GSoC project to 
provide a FUSE interface to mount the backup folder as it appeared at the 
time of some previous backup.  This is all /very/ nice for when used in 
combination with Linux-VServer.  With a little thought about XIDs you can 
start a backed-up VServer on your development box ;-)

This is the essence of what I run in a cron job on the machine needing to be 
backed up:
#!/bin/bash

#/root/backup_mysql.sh
#/root/backup_postgres.sh

mount /boot > /dev/null 2> /dev/null

rdiff-backup --force --remove-older-than 90d  \
 backups@backuphost::~/backups/myhostname/

echo "--------------------"

time rdiff-backup   \
 -v2 --print-statistics \
  --exclude /mnt \
  --exclude /media \
  --exclude /dev \
  --exclude /proc \
  --exclude /tmp \
  --exclude /var/tmp \
  --exclude /var/cache/squid/ \
  --exclude /var/cache/http-replicator/ \
  --exclude /var/lib/mysql/ \
  --exclude /var/lib/postgresql/data/base/ \
  --exclude /var/lib/postgresql/data/global/ \
  --exclude /var/lib/postgresql/data/pg_clog/ \
  --exclude /var/lib/postgresql/data/pg_subtrans/ \
  --exclude /var/lib/postgresql/data/pg_tblspc/ \
  --exclude /var/lib/postgresql/data/pg_xlog/ \
  --exclude /sys/ \
  --exclude /usr/portage/ \
  --exclude /usr/portage/distfiles \
 / backups@backuphost::~/backups/myhostname/

umount /boot > /dev/null 2> /dev/null
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 20:16           ` Jerry McBride
@ 2007-09-30 22:02             ` Neil Bothwick
  2007-09-30 22:20               ` Jerry McBride
  0 siblings, 1 reply; 83+ messages in thread
From: Neil Bothwick @ 2007-09-30 22:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 911 bytes --]

Hello Jerry McBride,

> Just my two cents worth here. Often I find a need to generate a
> duplicate of an existing gentoo installation and to ease the build
> process I run this script via cron...
> 
> #!/bin/sh
> 
> rm  /portage.list/*.*
> 
> emerge -pe --color=n system > /portage.list/system.list
> emerge -pe --color=n world  > /portage.list/world.list
> 
> Basicly it generates a list of installed ebuilds for both the system
> and world model.

Why not just backup the world list itself, /var/lib/portage/world? Your
method doesn't distinguish between packages in world and their
dependencies, emerging from this would result in a screwed world file.

The system list is contained in your profile, so you just need a note of
where /etc/make.profile points, which you will already have is you
backup /etc.


-- 
Neil Bothwick

If you smoke after sex, you're doing it too fast.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 22:02             ` Neil Bothwick
@ 2007-09-30 22:20               ` Jerry McBride
  2007-09-30 22:50                 ` Neil Bothwick
  0 siblings, 1 reply; 83+ messages in thread
From: Jerry McBride @ 2007-09-30 22:20 UTC (permalink / raw
  To: gentoo-user

On Sunday 30 September 2007 06:02:30 pm Neil Bothwick wrote:
> Hello Jerry McBride,
>
> > Just my two cents worth here. Often I find a need to generate a
> > duplicate of an existing gentoo installation and to ease the build
> > process I run this script via cron...
> >
> > #!/bin/sh
> >
> > rm  /portage.list/*.*
> >
> > emerge -pe --color=n system > /portage.list/system.list
> > emerge -pe --color=n world  > /portage.list/world.list
> >
> > Basicly it generates a list of installed ebuilds for both the system
> > and world model.
>
> Why not just backup the world list itself, /var/lib/portage/world? Your
> method doesn't distinguish between packages in world and their
> dependencies, emerging from this would result in a screwed world file.
>

It doesn't have too. The files I listed plus a backup of /etc is all you 
need...

> The system list is contained in your profile, so you just need a note of
> where /etc/make.profile points, which you will already have is you
> backup /etc.



-- 


From the Desk of: Jerome D. McBride
--
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 22:20               ` Jerry McBride
@ 2007-09-30 22:50                 ` Neil Bothwick
  0 siblings, 0 replies; 83+ messages in thread
From: Neil Bothwick @ 2007-09-30 22:50 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

Hello Jerry McBride,

> > Why not just backup the world list itself, /var/lib/portage/world?
> > Your method doesn't distinguish between packages in world and their
> > dependencies, emerging from this would result in a screwed world file.

> It doesn't have too. The files I listed plus a backup of /etc is all
> you need...

So how do you create your world file? And why do you need a list of
system files when you have already backed up /etc?


-- 
Neil Bothwick

Top Oxymorons Number 37: Sanitary landfill

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30  1:35     ` Kenneth Prugh
@ 2007-10-01  0:50       ` Dan Farrell
  0 siblings, 0 replies; 83+ messages in thread
From: Dan Farrell @ 2007-10-01  0:50 UTC (permalink / raw
  To: gentoo-user

On Sat, 29 Sep 2007 21:35:42 -0400
Kenneth Prugh <ken69267@gmail.com> wrote:

> On Sat, 29 Sep 2007 16:28:36 -0700
> Grant <emailgrant@gmail.com> wrote:
> > Does something like
> > '--exclude "/home/user/.*"' work with tar?
> > 
> > - Grant
> 
> Yes you may exclude files from being included. From the tar man page:
> 
> --exclude PATTERN	exclude files based upon PATTERN
> 
> -X, --exclude-from FILE	exclude files listed in FILE

However, don't exclude files you want, such as .bash*, .xsession, and
so on.  Generally these files aren't large and are important to the
private storage of uesr-specific info for many programs.  
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-30 19:15     ` Neil Bothwick
  2007-09-30 21:40       ` Steve Dommett
@ 2007-10-01  1:03       ` Dan Farrell
  1 sibling, 0 replies; 83+ messages in thread
From: Dan Farrell @ 2007-10-01  1:03 UTC (permalink / raw
  To: gentoo-user

On Sun, 30 Sep 2007 20:15:04 +0100
Neil Bothwick <neil@digimed.co.uk> wrote:

> Hello Grant,
> 
> > For now I think I'll do /etc, /root, /home, /var/lib/portage/world,
> > /usr/src/linux/.config, and anything specific I might need in
> > /usr/local.  What else am I missing out on in /var? 
> 
> Other data in /var/lib. For example, any databases kept
> in /var/lib/mysql.
> 
> 
BIND, Apache, various mailing programs, at, Xauth, logs if you want to
know what happened on a particular computer six months from now (hard
to foresee this kind of thing).  I think you can clear out /var/tmp if
you wish.  Also many of the logs can be cleared and such.  After
clearing all the data you don't need (be careful; some data is
important to portage), you shouldn't have too much more than a few
hundred megs, pretty much all highly compressable text.  

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 22:26 Grant
                   ` (2 preceding siblings ...)
  2007-09-30  3:38 ` Steen Eugen Poulsen
@ 2007-10-01  1:09 ` Dan Farrell
  2007-10-01  2:15   ` Mark Kirkwood
  3 siblings, 1 reply; 83+ messages in thread
From: Dan Farrell @ 2007-10-01  1:09 UTC (permalink / raw
  To: gentoo-user

On Sat, 29 Sep 2007 15:26:07 -0700
Grant <emailgrant@gmail.com> wrote:

> Do you back up anything other than /etc and /home on a standard
> system?
> 
> - Grant

Don't forget to back up stuff that can help you rebuild the system
quickly.  Like /proc/config.gz, or better yet just the kernel and
modules you need so you don't have to rebuild at all or generate the
sources.

Another thing that I think is highly valuable to back up, and very
often ignored, is the output of 'fdisk -l'.  If your drive dies it's
very nice to have a reminder of how it was formatted.  

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-10-01  1:09 ` Dan Farrell
@ 2007-10-01  2:15   ` Mark Kirkwood
  0 siblings, 0 replies; 83+ messages in thread
From: Mark Kirkwood @ 2007-10-01  2:15 UTC (permalink / raw
  To: gentoo-user

Dan Farrell wrote:
> On Sat, 29 Sep 2007 15:26:07 -0700
> Grant <emailgrant@gmail.com> wrote:
>
>   
>> Do you back up anything other than /etc and /home on a standard
>> system?
>>
>> - Grant
>>     
>
> Don't forget to back up stuff that can help you rebuild the system
> quickly.  Like /proc/config.gz, or better yet just the kernel and
> modules you need so you don't have to rebuild at all or generate the
> sources.
>
> Another thing that I think is highly valuable to back up, and very
> often ignored, is the output of 'fdisk -l'.  If your drive dies it's
> very nice to have a reminder of how it was formatted.  
>
>   
In order to be able to restore a system (relatively) quickly, I use the 
appropriate fs dump tool (xfsdump in my case) to make level 0 backups of 
/boot, / , /usr, /var after a major configuration change (e.g emerge 
--sync;emerge -u world), along with output from df -m. This does not 
take too long (/usr does take a while), but really speeds up a restore 
(I have sufficient packages installed to make an emerge world take > 10 
hours).

For a modern server with minimal software actually installed, the time 
aspect for this method may not be too different from an install from 
scratch, but it also guarantees that the restored system is the same as 
it was before (modulo last backup obviously), which can save a lot of time!

Cheers

Mark

P.s : Actually rebuilding from these saved dumps requires a little 
thought - I'll post the steps if anyone new to dumps is interested in 
using this method  for themselves.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 23:28   ` Grant
  2007-09-30  1:22     ` Volker Armin Hemmann
  2007-09-30  1:35     ` Kenneth Prugh
@ 2007-10-03 13:15     ` Matthias Bethke
  2 siblings, 0 replies; 83+ messages in thread
From: Matthias Bethke @ 2007-10-03 13:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 649 bytes --]

Hi Grant,
on Saturday, 2007-09-29 at 16:28:36, you wrote:
> Do you back up hidden files and directories in the home directory?
> There seems to be a lot of junk in there.  Does something like
> '--exclude "/home/user/.*"' work with tar?

It certainly does, but I'm quite sure it's not what you want. For me at
least losing all my carefully customized stuff in .mutt, .gnupg,
.bashrc, .vim etc. would suck asinine reproductive glands.
It's usually all text anyway that compresses very well.

cheers,
	Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Backups
  2007-09-29 23:45   ` Grant
  2007-09-30  1:24     ` Volker Armin Hemmann
  2007-09-30  3:44     ` Mark Shields
@ 2007-10-05 15:16     ` Joost Roeleveld
  2 siblings, 0 replies; 83+ messages in thread
From: Joost Roeleveld @ 2007-10-05 15:16 UTC (permalink / raw
  To: gentoo-user

On Sunday 30 September 2007 01:45:41 Grant wrote:
> > > Do you back up anything other than /etc and /home on a standard system?
> > >
> > > - Grant
> >
> > /var because with /var gone its complete-reinstall time.
>
> What about splitting tar.gz files across multiple CDs?  Can that be done?
>
> - Grant

You might also want to have a look at "dar", it will alow you to specify the 
size of every file (and even have a different size for the first file, 
usefull if you want to put a linux rescue install on the first cd)

--
Joost
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 83+ messages in thread

* [gentoo-user] Backups...
@ 2010-02-27 20:02 BRM
  0 siblings, 0 replies; 83+ messages in thread
From: BRM @ 2010-02-27 20:02 UTC (permalink / raw
  To: Users Gentoo

Well, now that I've got my systems cleaned up, and KDE3 removed, I'm tackling another project I've been meaning to do - backups.

Here's my basic plan:
- I've got a directory on my server that I want to synchronize several systems with (some linux, and one Windows).
- I want clients to push the backup; and not the server to pull it.
- Clients may backup more than once a month.
- the server will receive an additional backup itself once a month which includes all the client backups (may be more often, not sure).

At least on the Linux Systems, I've settled to using rsync for the backup - easy enough to do. I'm already running an rsync server for hosting portage, so it's relatively trivial to add another rsync module to support that way, though I'm not sure what the best way is.

rsync in attractive since it will do delta transfers to keep things in sync; though if I could use scp the same way I probably would since I would just have to setup appropriate keys.

Any how...I setup the rsync daemon with a read-write section. Tested it, and it worked. But I'd really like to have it secured - I don't want anyone to be able to read/write to it. So I tried adding the following:

[backup]
     uid = <backup user>
        gid = <backup group>
     path = /path/to/backup/repo
     read only = false
     list = false
     auth users = <user>
     secrets file = /path/to/rsyncd.secrets

The rsyncd.secrets is simple:
<user>:<8 digit password>

If I don't have the last two lines (e.g. auth user, secrets file) then I can write to it.
Otherwise I get an authentication error:

@ERROR: auth failed on module backup
rsync error: error starting client-server protocol (code 5) at main.c(1503) [sender=3.0.6]

I'm uploading via:

rsync -a --password-file=rsync.passwd someTestFile rsync://<user>@host/backup/extra/path/

rsync.passwd contains the same <8 digit password>, nothing else.


I've already checked file permissions - the entire directory structure under /path/to/backup/repo is owned by <backup user>:<backup group>.

What am I doing wrong?
Is there a better approach?

TIA,

Ben




^ permalink raw reply	[flat|nested] 83+ messages in thread

* [gentoo-user] can not compile / emerge
@ 2014-09-09 18:36 Joseph
  2014-09-09 18:45 ` Joseph
                   ` (3 more replies)
  0 siblings, 4 replies; 83+ messages in thread
From: Joseph @ 2014-09-09 18:36 UTC (permalink / raw
  To: gentoo-user

I was installing an application gimp and all of a sudden I got an error:

>>> Emerging (7 of 8) media-gfx/gimp-2.8.10-r1
 * gimp-2.8.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                       [ 
ok ]
 * gimp-2.8.10-freetype251.patch SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                             [ 
ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking gimp-2.8.10.tar.bz2 to /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
>>> Unpacking gimp-2.8.10-freetype251.patch to /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
unpack gimp-2.8.10-freetype251.patch: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
>>> Preparing source in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...
 * Applying gimp-2.7.4-no-deprecation.patch ...                                                                                                                   [ 
ok ]
 * Applying gimp-2.8.10-freetype251.patch ...                                                                                                                     [ 
ok ]
 * Applying gimp-2.8.10-clang.patch ...                                                                                                                           [ 
ok ]
 * Running eautoreconf in '/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10' ...
 * Running glib-gettextize --copy --force ...                                                                                                                     [ 
ok ]
 * Running intltoolize --automake --copy --force ...                                                                                                              [ 
ok ]
 * Skipping 'gtkdocize --copy' due gtkdocize not installed
 * Running libtoolize --install --copy --force --automake ...                                                                                                     [ 
ok ]
 * Running aclocal -I m4macros ...                                                                                                                                [ 
ok ]
 * Running autoconf ...                                                                                                                                           [ 
ok ]
 * Running autoheader ...                                                                                                                                         [ 
ok ]
 * Running automake --add-missing --copy --force-missing ...                                                                                                      [ 
ok ]
 * Running elibtoolize in: gimp-2.8.10/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Fixing OMF Makefiles ...                                                                                                                                       [ 
ok ]
 * Disabling deprecation warnings ...                                                                                                                             [ 
ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...
 * econf: updating gimp-2.8.10/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gimp-2.8.10/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share 
--sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --docdir=/usr/share/doc/gimp-2.8.10-r1 
--disable-maintainer-mode --disable-gtk-doc --enable-default-binary --disable-silent-rules --with-x --without-aa --with-alsa --disable-altivec --with-bzip2 
--without-libcurl --with-dbus --without-gvfs --without-webkit --with-libjpeg --without-libjasper --with-libexif --with-lcms=lcms2 --without-gs --enable-mmx 
--with-libmng --with-poppler --with-libpng --disable-python --disable-mp --enable-sse --with-librsvg --with-libtiff --with-gudev --without-wmf --with-xmc 
--without-libxpm --without-xvfb-run
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
configure: error: C compiler cannot create executables
See `config.log' for more details


Now, emerge / equery  will not even show up on a command line.
Most of the time I'm getting an error:
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Running on my other system I get:
equery b libstdc++.so.6
 * Searching for libstdc++.so.6 ... 
sys-devel/gcc-4.5.4 (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 -> libstdc++.so.6.0.14)

env-update - doesn't work either

-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 18:36 [gentoo-user] can not compile / emerge Joseph
@ 2014-09-09 18:45 ` Joseph
  2014-09-09 18:46 ` Todd Goodman
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 83+ messages in thread
From: Joseph @ 2014-09-09 18:45 UTC (permalink / raw
  To: gentoo-user

On 09/09/14 12:36, Joseph wrote:
>I was installing an application gimp and all of a sudden I got an error:
>
>>>> Emerging (7 of 8) media-gfx/gimp-2.8.10-r1
> * gimp-2.8.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                       [
>ok ]
> * gimp-2.8.10-freetype251.patch SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                             [
>ok ]
>>>> cfg-update-1.8.2-r1: Creating checksum index...
>>>> Unpacking source...
>>>> Unpacking gimp-2.8.10.tar.bz2 to /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
>>>> Unpacking gimp-2.8.10-freetype251.patch to /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
>unpack gimp-2.8.10-freetype251.patch: file format not recognized. Ignoring.
>>>> Source unpacked in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
>>>> Preparing source in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...
> * Applying gimp-2.7.4-no-deprecation.patch ...                                                                                                                   [
>ok ]
> * Applying gimp-2.8.10-freetype251.patch ...                                                                                                                     [
>ok ]
> * Applying gimp-2.8.10-clang.patch ...                                                                                                                           [
>ok ]
> * Running eautoreconf in '/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10' ...
> * Running glib-gettextize --copy --force ...                                                                                                                     [
>ok ]
> * Running intltoolize --automake --copy --force ...                                                                                                              [
>ok ]
> * Skipping 'gtkdocize --copy' due gtkdocize not installed
> * Running libtoolize --install --copy --force --automake ...                                                                                                     [
>ok ]
> * Running aclocal -I m4macros ...                                                                                                                                [
>ok ]
> * Running autoconf ...                                                                                                                                           [
>ok ]
> * Running autoheader ...                                                                                                                                         [
>ok ]
> * Running automake --add-missing --copy --force-missing ...                                                                                                      [
>ok ]
> * Running elibtoolize in: gimp-2.8.10/
> *   Applying portage/1.2.0 patch ...
> *   Applying sed/1.5.6 patch ...
> *   Applying as-needed/2.4.2 patch ...
> *   Applying target-nm/2.4.2 patch ...
> * Fixing OMF Makefiles ...                                                                                                                                       [
>ok ]
> * Disabling deprecation warnings ...                                                                                                                             [
>ok ]
>>>> Source prepared.
>>>> Configuring source in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...
> * econf: updating gimp-2.8.10/config.sub with /usr/share/gnuconfig/config.sub
> * econf: updating gimp-2.8.10/config.guess with /usr/share/gnuconfig/config.guess
>./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
>--sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --docdir=/usr/share/doc/gimp-2.8.10-r1
>--disable-maintainer-mode --disable-gtk-doc --enable-default-binary --disable-silent-rules --with-x --without-aa --with-alsa --disable-altivec --with-bzip2
>--without-libcurl --with-dbus --without-gvfs --without-webkit --with-libjpeg --without-libjasper --with-libexif --with-lcms=lcms2 --without-gs --enable-mmx
>--with-libmng --with-poppler --with-libpng --disable-python --disable-mp --enable-sse --with-librsvg --with-libtiff --with-gudev --without-wmf --with-xmc
>--without-libxpm --without-xvfb-run
>checking for a BSD-compatible install... /usr/bin/install -c
>checking whether build environment is sane... yes
>checking for a thread-safe mkdir -p... /bin/mkdir -p
>checking for gawk... gawk
>checking whether make sets $(MAKE)... yes
>checking whether make supports nested variables... yes
>checking whether make supports nested variables... (cached) yes
>checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
>checking whether the C compiler works... no
>configure: error: in `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
>configure: error: C compiler cannot create executables
>See `config.log' for more details
>
>
>Now, emerge / equery  will not even show up on a command line.
>Most of the time I'm getting an error:
>error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
>
>Running on my other system I get:
>equery b libstdc++.so.6
> * Searching for libstdc++.so.6 ...
>sys-devel/gcc-4.5.4 (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 -> libstdc++.so.6.0.14)
>
>env-update - doesn't work either
>
>-- 
>Joseph

I've tried to bootstrap the system and re-install "gcc" but I can not even do "env-update" after running: chroot /mnt/gentoo /bin/bash

-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 18:36 [gentoo-user] can not compile / emerge Joseph
  2014-09-09 18:45 ` Joseph
@ 2014-09-09 18:46 ` Todd Goodman
  2014-09-09 19:02   ` Joseph
  2014-09-09 19:15   ` Joseph
  2014-09-09 18:49 ` Dale
  2014-09-10  2:59 ` Kerin Millar
  3 siblings, 2 replies; 83+ messages in thread
From: Todd Goodman @ 2014-09-09 18:46 UTC (permalink / raw
  To: gentoo-user

* Joseph <syscon780@gmail.com> [140909 14:37]:
> I was installing an application gimp and all of a sudden I got an error:
[SNIP]
> configure: error: in `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
> configure: error: C compiler cannot create executables
> See `config.log' for more details

What does 'gcc-config -l' show?


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 18:36 [gentoo-user] can not compile / emerge Joseph
  2014-09-09 18:45 ` Joseph
  2014-09-09 18:46 ` Todd Goodman
@ 2014-09-09 18:49 ` Dale
  2014-09-10  2:59 ` Kerin Millar
  3 siblings, 0 replies; 83+ messages in thread
From: Dale @ 2014-09-09 18:49 UTC (permalink / raw
  To: gentoo-user

Joseph wrote:
> I was installing an application gimp and all of a sudden I got an error:
>
>>>> Emerging (7 of 8) media-gfx/gimp-2.8.10-r1
> * gimp-2.8.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-)
> ...                                                                                                      
> [ ok ]
> * gimp-2.8.10-freetype251.patch SHA256 SHA512 WHIRLPOOL size ;-)
> ...                                                                                            
> [ ok ]
>>>> cfg-update-1.8.2-r1: Creating checksum index...
>>>> Unpacking source...
>>>> Unpacking gimp-2.8.10.tar.bz2 to
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
>>>> Unpacking gimp-2.8.10-freetype251.patch to
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
> unpack gimp-2.8.10-freetype251.patch: file format not recognized.
> Ignoring.
>>>> Source unpacked in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
>>>> Preparing source in
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...
> * Applying gimp-2.7.4-no-deprecation.patch
> ...                                                                                                                  
> [ ok ]
> * Applying gimp-2.8.10-freetype251.patch
> ...                                                                                                                    
> [ ok ]
> * Applying gimp-2.8.10-clang.patch
> ...                                                                                                                          
> [ ok ]
> * Running eautoreconf in
> '/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10' ...
> * Running glib-gettextize --copy --force
> ...                                                                                                                    
> [ ok ]
> * Running intltoolize --automake --copy --force
> ...                                                                                                             
> [ ok ]
> * Skipping 'gtkdocize --copy' due gtkdocize not installed
> * Running libtoolize --install --copy --force --automake
> ...                                                                                                    
> [ ok ]
> * Running aclocal -I m4macros
> ...                                                                                                                               
> [ ok ]
> * Running autoconf
> ...                                                                                                                                          
> [ ok ]
> * Running autoheader
> ...                                                                                                                                        
> [ ok ]
> * Running automake --add-missing --copy --force-missing
> ...                                                                                                     
> [ ok ]
> * Running elibtoolize in: gimp-2.8.10/
> *   Applying portage/1.2.0 patch ...
> *   Applying sed/1.5.6 patch ...
> *   Applying as-needed/2.4.2 patch ...
> *   Applying target-nm/2.4.2 patch ...
> * Fixing OMF Makefiles
> ...                                                                                                                                      
> [ ok ]
> * Disabling deprecation warnings
> ...                                                                                                                            
> [ ok ]
>>>> Source prepared.
>>>> Configuring source in
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...
> * econf: updating gimp-2.8.10/config.sub with
> /usr/share/gnuconfig/config.sub
> * econf: updating gimp-2.8.10/config.guess with
> /usr/share/gnuconfig/config.guess
> ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
> --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
> --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
> --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules
> --disable-dependency-tracking --docdir=/usr/share/doc/gimp-2.8.10-r1
> --disable-maintainer-mode --disable-gtk-doc --enable-default-binary
> --disable-silent-rules --with-x --without-aa --with-alsa
> --disable-altivec --with-bzip2 --without-libcurl --with-dbus
> --without-gvfs --without-webkit --with-libjpeg --without-libjasper
> --with-libexif --with-lcms=lcms2 --without-gs --enable-mmx
> --with-libmng --with-poppler --with-libpng --disable-python
> --disable-mp --enable-sse --with-librsvg --with-libtiff --with-gudev
> --without-wmf --with-xmc --without-libxpm --without-xvfb-run
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether make supports nested variables... (cached) yes
> checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
> checking whether the C compiler works... no
> configure: error: in
> `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
>
>
> Now, emerge / equery  will not even show up on a command line.
> Most of the time I'm getting an error:
> error while loading shared libraries: libstdc++.so.6: cannot open
> shared object file: No such file or directory
>
> Running on my other system I get:
> equery b libstdc++.so.6
> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 ->
> libstdc++.so.6.0.14)
>
> env-update - doesn't work either
>

I ran into this and I think I ran this:

gcc-config -l

And make sure a compiler is selected.  If not, do gcc-config <number of
one you want to use>  Usually that is the highest one but could depend. 
Either way, one should have a "*" by it like this on mine:

root@fireball / # gcc-config -l
 [1] x86_64-pc-linux-gnu-4.7.3 *
root@fireball / # 

I hope that helps, if not, I'm sure other ideas will come along soon. 

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 18:46 ` Todd Goodman
@ 2014-09-09 19:02   ` Joseph
  2014-09-09 19:15   ` Joseph
  1 sibling, 0 replies; 83+ messages in thread
From: Joseph @ 2014-09-09 19:02 UTC (permalink / raw
  To: gentoo-user

On 09/09/14 14:46, Todd Goodman wrote:
>* Joseph <syscon780@gmail.com> [140909 14:37]:
>> I was installing an application gimp and all of a sudden I got an error:
>[SNIP]
>> configure: error: in `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details
>
>What does 'gcc-config -l' show?

gcc-config -l
 * gcc-config: Could not get portage CHOST!
 * gcc-config: You should verify that CHOST is set in one of these places:
 * gcc-config:  - //etc/portage/make.conf
 * gcc-config:  - active environment

-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 18:46 ` Todd Goodman
  2014-09-09 19:02   ` Joseph
@ 2014-09-09 19:15   ` Joseph
  2014-09-09 21:38     ` Mick
  1 sibling, 1 reply; 83+ messages in thread
From: Joseph @ 2014-09-09 19:15 UTC (permalink / raw
  To: gentoo-user

On 09/09/14 14:46, Todd Goodman wrote:
>* Joseph <syscon780@gmail.com> [140909 14:37]:
>> I was installing an application gimp and all of a sudden I got an error:
>[SNIP]
>> configure: error: in `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details
>
>What does 'gcc-config -l' show?

I tried to set blindly gcc to active one: "gcc-config 1" but I get the same error 

 * gcc-config: Could not get portage CHOST!
 * gcc-config: You should verify that CHOST is set in one of these places:
 * gcc-config:  - //etc/portage/make.conf
 * gcc-config:  - active environment

It is a new installation on SSD and it is broken. 
I can't proceed with gcc upgrade/setting, in fact my system is currently broken.

-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 19:15   ` Joseph
@ 2014-09-09 21:38     ` Mick
  2014-09-09 21:57       ` Joseph
  2014-09-10  3:29       ` Kerin Millar
  0 siblings, 2 replies; 83+ messages in thread
From: Mick @ 2014-09-09 21:38 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1140 bytes --]

On Tuesday 09 Sep 2014 20:15:09 Joseph wrote:
> On 09/09/14 14:46, Todd Goodman wrote:
> >* Joseph <syscon780@gmail.com> [140909 14:37]:
> >> I was installing an application gimp and all of a sudden I got an error:
> >[SNIP]
> >
> >> configure: error: in
> >> `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
> >> configure: error: C compiler cannot create executables
> >> See `config.log' for more details
> >
> >What does 'gcc-config -l' show?
> 
> I tried to set blindly gcc to active one: "gcc-config 1" but I get the same
> error
> 
>  * gcc-config: Could not get portage CHOST!
>  * gcc-config: You should verify that CHOST is set in one of these places:
>  * gcc-config:  - //etc/portage/make.conf
>  * gcc-config:  - active environment
> 
> It is a new installation on SSD and it is broken.
> I can't proceed with gcc upgrade/setting, in fact my system is currently
> broken.

You do not have an /etc/portage/make.conf file, or you have not configured the 
default with the correct settings?

Follow the installation guide and you should find your way out of there.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 21:38     ` Mick
@ 2014-09-09 21:57       ` Joseph
  2014-09-09 22:20         ` Neil Bothwick
  2014-09-10  3:29       ` Kerin Millar
  1 sibling, 1 reply; 83+ messages in thread
From: Joseph @ 2014-09-09 21:57 UTC (permalink / raw
  To: gentoo-user

On 09/09/14 22:38, Mick wrote:
>On Tuesday 09 Sep 2014 20:15:09 Joseph wrote:
>> On 09/09/14 14:46, Todd Goodman wrote:
>> >* Joseph <syscon780@gmail.com> [140909 14:37]:
>> >> I was installing an application gimp and all of a sudden I got an error:
>> >[SNIP]
>> >
>> >> configure: error: in
>> >> `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
>> >> configure: error: C compiler cannot create executables
>> >> See `config.log' for more details
>> >
>> >What does 'gcc-config -l' show?
>>
>> I tried to set blindly gcc to active one: "gcc-config 1" but I get the same
>> error
>>
>>  * gcc-config: Could not get portage CHOST!
>>  * gcc-config: You should verify that CHOST is set in one of these places:
>>  * gcc-config:  - //etc/portage/make.conf
>>  * gcc-config:  - active environment
>>
>> It is a new installation on SSD and it is broken.
>> I can't proceed with gcc upgrade/setting, in fact my system is currently
>> broken.
>
>You do not have an /etc/portage/make.conf file, or you have not configured the
>default with the correct settings?
>
>Follow the installation guide and you should find your way out of there.
>
>-- 
>Regards,
>Mick

"make.conf" can be in /etc or /etc/portage mine is in /etc
It was working find but all of a sudden it stopped. 
emerge and other commands related to emerge don't work.

Here is my make.conf

CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.

CHOST="x86_64-pc-linux-gnu"

USE="-acl -gnome -kde -minimal -qt3 -qt4 -hal X consolekit brandingdvd dbus lock  \
session startup-notification thunar alsa cdr cups apache2 ssl foomaticdb ppds mysql \
java tiff jpeg png pam policykit usb udev scanner gimp gimpprint cgi fam nplt truetype \
type1 opengl tetex lm_sensors mmx sse sse2 spell -systemd"

INPUT_DEVICES="evdev"
LINGUAS="en"
VIDEO_CARDS="intel vesa"
SANE_BACKENDS="fujitsu"
ACCEPT_LICENSE="${ACCEPT_LICENSE} PUEL dlj-1.1 Oracle-BCLA-JavaSE"
PHP_TARGETS="php5-3 php5-4"
PHP_INI_VERSION="production"

EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror" 

FEATURES="parallel-fetch strict fixlafiles"

PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_SYSTEM="mail"
PORTAGE_ELOG_MAILURI="root@localhost /usr/sbin/sendmail"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="package \${PACKAGE} merged on \${HOST} with notice"

#local portage
PORTDIR_OVERLAY="/usr/local/portage"

# Set PORTDIR for backward compatibility with various tools:
PORTDIR="/usr/portage"

-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 21:57       ` Joseph
@ 2014-09-09 22:20         ` Neil Bothwick
  2014-09-09 22:49           ` Joseph
  0 siblings, 1 reply; 83+ messages in thread
From: Neil Bothwick @ 2014-09-09 22:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 436 bytes --]

On Tue, 9 Sep 2014 15:57:18 -0600, Joseph wrote:

> "make.conf" can be in /etc or /etc/portage mine is in /etc
> It was working find but all of a sudden it stopped. 

That is thw wrong location, it is only provided for compatibility with
old installations. /etc/portage is the preferred location and the
settings in the make.conf in there will override yours.


-- 
Neil Bothwick

Top Oxymorons Number 30: Business ethics

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 22:20         ` Neil Bothwick
@ 2014-09-09 22:49           ` Joseph
  0 siblings, 0 replies; 83+ messages in thread
From: Joseph @ 2014-09-09 22:49 UTC (permalink / raw
  To: gentoo-user

On 09/09/14 23:20, Neil Bothwick wrote:
>On Tue, 9 Sep 2014 15:57:18 -0600, Joseph wrote:
>
>> "make.conf" can be in /etc or /etc/portage mine is in /etc
>> It was working find but all of a sudden it stopped.
>
>That is thw wrong location, it is only provided for compatibility with
>old installations. /etc/portage is the preferred location and the
>settings in the make.conf in there will override yours.
>
>
>-- 
>Neil Bothwick
>
>Top Oxymorons Number 30: Business ethics

I moved /etc/make.conf to /etc/portage/make.conf rebooted the system but it doesn't help.
Something went wrong during compilation.  

Howto initialized GCC environment from bootstrap?
	
-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 18:36 [gentoo-user] can not compile / emerge Joseph
                   ` (2 preceding siblings ...)
  2014-09-09 18:49 ` Dale
@ 2014-09-10  2:59 ` Kerin Millar
  2014-09-10  3:21   ` Joseph
  3 siblings, 1 reply; 83+ messages in thread
From: Kerin Millar @ 2014-09-10  2:59 UTC (permalink / raw
  To: gentoo-user

On 09/09/2014 19:36, Joseph wrote:
> I was installing an application gimp and all of a sudden I got an error:
>
>>>> Emerging (7 of 8) media-gfx/gimp-2.8.10-r1
> * gimp-2.8.10.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-)
> ...
> [ ok ]
> * gimp-2.8.10-freetype251.patch SHA256 SHA512 WHIRLPOOL size ;-)
> ...
> [ ok ]
>>>> cfg-update-1.8.2-r1: Creating checksum index...
>>>> Unpacking source...
>>>> Unpacking gimp-2.8.10.tar.bz2 to
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
>>>> Unpacking gimp-2.8.10-freetype251.patch to
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
> unpack gimp-2.8.10-freetype251.patch: file format not recognized. Ignoring.
>>>> Source unpacked in /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work
>>>> Preparing source in
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...
> * Applying gimp-2.7.4-no-deprecation.patch
> ...
> [ ok ]
> * Applying gimp-2.8.10-freetype251.patch
> ...
> [ ok ]
> * Applying gimp-2.8.10-clang.patch
> ...
> [ ok ]
> * Running eautoreconf in
> '/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10' ...
> * Running glib-gettextize --copy --force
> ...
> [ ok ]
> * Running intltoolize --automake --copy --force
> ...
> [ ok ]
> * Skipping 'gtkdocize --copy' due gtkdocize not installed
> * Running libtoolize --install --copy --force --automake
> ...
> [ ok ]
> * Running aclocal -I m4macros
> ...
> [ ok ]
> * Running autoconf
> ...
> [ ok ]
> * Running autoheader
> ...
> [ ok ]
> * Running automake --add-missing --copy --force-missing
> ...
> [ ok ]
> * Running elibtoolize in: gimp-2.8.10/
> *   Applying portage/1.2.0 patch ...
> *   Applying sed/1.5.6 patch ...
> *   Applying as-needed/2.4.2 patch ...
> *   Applying target-nm/2.4.2 patch ...
> * Fixing OMF Makefiles
> ...
> [ ok ]
> * Disabling deprecation warnings
> ...
> [ ok ]
>>>> Source prepared.
>>>> Configuring source in
>>>> /var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10 ...
> * econf: updating gimp-2.8.10/config.sub with
> /usr/share/gnuconfig/config.sub
> * econf: updating gimp-2.8.10/config.guess with
> /usr/share/gnuconfig/config.guess
> ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
> --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
> --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
> --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules
> --disable-dependency-tracking --docdir=/usr/share/doc/gimp-2.8.10-r1
> --disable-maintainer-mode --disable-gtk-doc --enable-default-binary
> --disable-silent-rules --with-x --without-aa --with-alsa
> --disable-altivec --with-bzip2 --without-libcurl --with-dbus
> --without-gvfs --without-webkit --with-libjpeg --without-libjasper
> --with-libexif --with-lcms=lcms2 --without-gs --enable-mmx --with-libmng
> --with-poppler --with-libpng --disable-python --disable-mp --enable-sse
> --with-librsvg --with-libtiff --with-gudev --without-wmf --with-xmc
> --without-libxpm --without-xvfb-run
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether make supports nested variables... (cached) yes
> checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
> checking whether the C compiler works... no
> configure: error: in
> `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
>
>
> Now, emerge / equery  will not even show up on a command line.
> Most of the time I'm getting an error:
> error while loading shared libraries: libstdc++.so.6: cannot open shared
> object file: No such file or directory
>
> Running on my other system I get:
> equery b libstdc++.so.6
> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 ->
> libstdc++.so.6.0.14)
>
> env-update - doesn't work either
>

Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file 
defining the appropriate paths for your current version of gcc. Here's 
how it looks on my system:

   # cd /etc/ld.so.conf.d
   # ls
   05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
   # cat 05gcc-x86_64-pc-linux-gnu.conf
   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3

Once you have made any necessary changes, run ldconfig.

--Kerin


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-10  2:59 ` Kerin Millar
@ 2014-09-10  3:21   ` Joseph
  2014-09-10  3:27     ` Kerin Millar
  0 siblings, 1 reply; 83+ messages in thread
From: Joseph @ 2014-09-10  3:21 UTC (permalink / raw
  To: gentoo-user

On 09/10/14 03:59, Kerin Millar wrote:
>On 09/09/2014 19:36, Joseph wrote:
[snip]

>>
>> Running on my other system I get:
>> equery b libstdc++.so.6
>> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
>> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 ->
>> libstdc++.so.6.0.14)
>>
>> env-update - doesn't work either
>>
>
>Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file
>defining the appropriate paths for your current version of gcc. Here's
>how it looks on my system:
>
>   # cd /etc/ld.so.conf.d
>   # ls
>   05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
>   # cat 05gcc-x86_64-pc-linux-gnu.conf
>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>
>Once you have made any necessary changes, run ldconfig.
>
>--Kerin

Thanks Kerin, for the pointer.
I think I have a bigger problem, and don't know how to fix it.

Yes, I have the same file /etc/ld.so.conf.d
# ls 
# 05gcc-x86_64-pc-linux-gnu.conf
# cat 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3

However, those directories are empty (only one file):
# ls -al /usr/lib/
libbrcomplpr2.so

On my other working system this directory "/usr/lib/" contain about 2020 files.
What had happened?  

After emerging some files and system I was running command: fstrim -v / (as the disk is SSD).
Could it have something to do with the fact that these directories are empty?
-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-10  3:21   ` Joseph
@ 2014-09-10  3:27     ` Kerin Millar
  2014-09-10  3:50       ` [gentoo-user] [SOLVED] " Joseph
  0 siblings, 1 reply; 83+ messages in thread
From: Kerin Millar @ 2014-09-10  3:27 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 04:21, Joseph wrote:
> On 09/10/14 03:59, Kerin Millar wrote:
>> On 09/09/2014 19:36, Joseph wrote:
> [snip]
>
>>>
>>> Running on my other system I get:
>>> equery b libstdc++.so.6
>>> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
>>> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 ->
>>> libstdc++.so.6.0.14)
>>>
>>> env-update - doesn't work either
>>>
>>
>> Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file
>> defining the appropriate paths for your current version of gcc. Here's
>> how it looks on my system:
>>
>>   # cd /etc/ld.so.conf.d
>>   # ls
>>   05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
>>   # cat 05gcc-x86_64-pc-linux-gnu.conf
>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>
>> Once you have made any necessary changes, run ldconfig.
>>
>> --Kerin
>
> Thanks Kerin, for the pointer.
> I think I have a bigger problem, and don't know how to fix it.
>
> Yes, I have the same file /etc/ld.so.conf.d
> # ls # 05gcc-x86_64-pc-linux-gnu.conf
> # cat /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>
> However, those directories are empty (only one file):
> # ls -al /usr/lib/
> libbrcomplpr2.so

Is /usr/lib an actual directory or a symlink? Assuming that you use a 
stock amd64 (multilib) profile, it should be a symlink to lib64. If you 
find that it is a directory and that you also have a lib64 directory, 
try the commands below. You can skip the busybox and exit commands if 
you are doing this in a chroot rather than on a live system.

   # busybox sh
   # cd /usr/
   # mv lib lib.old
   # ln -s lib64 lib
   # exit

> On my other working system this directory "/usr/lib/" contain about 2020
> files.
> What had happened?
> After emerging some files and system I was running command: fstrim -v /
> (as the disk is SSD).
> Could it have something to do with the fact that these directories are
> empty?

No. Using fstrim does not delete files.

--Kerin


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] can not compile / emerge
  2014-09-09 21:38     ` Mick
  2014-09-09 21:57       ` Joseph
@ 2014-09-10  3:29       ` Kerin Millar
  1 sibling, 0 replies; 83+ messages in thread
From: Kerin Millar @ 2014-09-10  3:29 UTC (permalink / raw
  To: gentoo-user

On 09/09/2014 22:38, Mick wrote:
> On Tuesday 09 Sep 2014 20:15:09 Joseph wrote:
>> On 09/09/14 14:46, Todd Goodman wrote:
>>> * Joseph <syscon780@gmail.com> [140909 14:37]:
>>>> I was installing an application gimp and all of a sudden I got an error:
>>> [SNIP]
>>>
>>>> configure: error: in
>>>> `/var/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10':
>>>> configure: error: C compiler cannot create executables
>>>> See `config.log' for more details
>>>
>>> What does 'gcc-config -l' show?
>>
>> I tried to set blindly gcc to active one: "gcc-config 1" but I get the same
>> error
>>
>>   * gcc-config: Could not get portage CHOST!
>>   * gcc-config: You should verify that CHOST is set in one of these places:
>>   * gcc-config:  - //etc/portage/make.conf
>>   * gcc-config:  - active environment
>>
>> It is a new installation on SSD and it is broken.
>> I can't proceed with gcc upgrade/setting, in fact my system is currently
>> broken.
>
> You do not have an /etc/portage/make.conf file, or you have not configured the
> default with the correct settings?

This is not pertinent to the matter at hand. Even if make.conf cannot be 
sourced, CHOST will be sourced from the profile and portage is perfectly 
capable of functioning.

There is no need for a user to define CHOST. At best, it is a no-op and, 
at worst, the user may screw up and define it in such a way that it is 
at odds with the profile.

The error message from gcc-config isn't particularly helpful because it 
falsely implies that make.conf or the "active environment" - as opposed 
to portage's environment - are the only valid sources.

--Kerin


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] [SOLVED] can not compile / emerge
  2014-09-10  3:27     ` Kerin Millar
@ 2014-09-10  3:50       ` Joseph
  2014-09-10  3:57         ` Kerin Millar
  0 siblings, 1 reply; 83+ messages in thread
From: Joseph @ 2014-09-10  3:50 UTC (permalink / raw
  To: gentoo-user

On 09/10/14 04:27, Kerin Millar wrote:
>On 10/09/2014 04:21, Joseph wrote:
>> On 09/10/14 03:59, Kerin Millar wrote:
>>> On 09/09/2014 19:36, Joseph wrote:
>> [snip]
>>
>>>>
>>>> Running on my other system I get:
>>>> equery b libstdc++.so.6
>>>> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
>>>> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 ->
>>>> libstdc++.so.6.0.14)
>>>>
>>>> env-update - doesn't work either
>>>>
>>>
>>> Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file
>>> defining the appropriate paths for your current version of gcc. Here's
>>> how it looks on my system:
>>>
>>>   # cd /etc/ld.so.conf.d
>>>   # ls
>>>   05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
>>>   # cat 05gcc-x86_64-pc-linux-gnu.conf
>>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>>
>>> Once you have made any necessary changes, run ldconfig.
>>>
>>> --Kerin
>>
>> Thanks Kerin, for the pointer.
>> I think I have a bigger problem, and don't know how to fix it.
>>
>> Yes, I have the same file /etc/ld.so.conf.d
>> # ls # 05gcc-x86_64-pc-linux-gnu.conf
>> # cat /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>
>> However, those directories are empty (only one file):
>> # ls -al /usr/lib/
>> libbrcomplpr2.so
>
>Is /usr/lib an actual directory or a symlink? Assuming that you use a
>stock amd64 (multilib) profile, it should be a symlink to lib64. If you
>find that it is a directory and that you also have a lib64 directory,
>try the commands below. You can skip the busybox and exit commands if
>you are doing this in a chroot rather than on a live system.
>
>   # busybox sh
>   # cd /usr/
>   # mv lib lib.old
>   # ln -s lib64 lib
>   # exit
>
>> On my other working system this directory "/usr/lib/" contain about 2020
>> files.
>> What had happened?
>> After emerging some files and system I was running command: fstrim -v /
>> (as the disk is SSD).
>> Could it have something to do with the fact that these directories are
>> empty?
>
>No. Using fstrim does not delete files.
>
>--Kerin

Kerin you are a magician! THANK YOU!!!
Yes, it worked.  Everything is back to normal.

I can still not comprehend what had happened :-/ why all of a sudden in the middle of compilation it all vanished. 

-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] [SOLVED] can not compile / emerge
  2014-09-10  3:50       ` [gentoo-user] [SOLVED] " Joseph
@ 2014-09-10  3:57         ` Kerin Millar
  2014-09-10  4:16           ` Joseph
  0 siblings, 1 reply; 83+ messages in thread
From: Kerin Millar @ 2014-09-10  3:57 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 04:50, Joseph wrote:
> On 09/10/14 04:27, Kerin Millar wrote:
>> On 10/09/2014 04:21, Joseph wrote:
>>> On 09/10/14 03:59, Kerin Millar wrote:
>>>> On 09/09/2014 19:36, Joseph wrote:
>>> [snip]
>>>
>>>>>
>>>>> Running on my other system I get:
>>>>> equery b libstdc++.so.6
>>>>> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
>>>>> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 ->
>>>>> libstdc++.so.6.0.14)
>>>>>
>>>>> env-update - doesn't work either
>>>>>
>>>>
>>>> Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file
>>>> defining the appropriate paths for your current version of gcc. Here's
>>>> how it looks on my system:
>>>>
>>>>   # cd /etc/ld.so.conf.d
>>>>   # ls
>>>>   05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
>>>>   # cat 05gcc-x86_64-pc-linux-gnu.conf
>>>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>>>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>>>
>>>> Once you have made any necessary changes, run ldconfig.
>>>>
>>>> --Kerin
>>>
>>> Thanks Kerin, for the pointer.
>>> I think I have a bigger problem, and don't know how to fix it.
>>>
>>> Yes, I have the same file /etc/ld.so.conf.d
>>> # ls # 05gcc-x86_64-pc-linux-gnu.conf
>>> # cat /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>>
>>> However, those directories are empty (only one file):
>>> # ls -al /usr/lib/
>>> libbrcomplpr2.so
>>
>> Is /usr/lib an actual directory or a symlink? Assuming that you use a
>> stock amd64 (multilib) profile, it should be a symlink to lib64. If you
>> find that it is a directory and that you also have a lib64 directory,
>> try the commands below. You can skip the busybox and exit commands if
>> you are doing this in a chroot rather than on a live system.
>>
>>   # busybox sh
>>   # cd /usr/
>>   # mv lib lib.old
>>   # ln -s lib64 lib
>>   # exit
>>
>>> On my other working system this directory "/usr/lib/" contain about 2020
>>> files.
>>> What had happened?
>>> After emerging some files and system I was running command: fstrim -v /
>>> (as the disk is SSD).
>>> Could it have something to do with the fact that these directories are
>>> empty?
>>
>> No. Using fstrim does not delete files.
>>
>> --Kerin
>
> Kerin you are a magician! THANK YOU!!!
> Yes, it worked.  Everything is back to normal.
>
> I can still not comprehend what had happened :-/ why all of a sudden in
> the middle of compilation it all vanished.

Were you doing anything outside of portage that may have had a hand in it?

Incidentally, you should move libbrcomplpr2.so to /usr/lib32. Some 
googling suggests to me that it is a library included in a proprietary 
Brother printer driver package. You can use the file command to confirm 
that it is a 32-bit library.

--Kerin


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] [SOLVED] can not compile / emerge
  2014-09-10  3:57         ` Kerin Millar
@ 2014-09-10  4:16           ` Joseph
  2014-09-10  5:01             ` Kerin Millar
  2014-09-11 12:07             ` [gentoo-user] " James
  0 siblings, 2 replies; 83+ messages in thread
From: Joseph @ 2014-09-10  4:16 UTC (permalink / raw
  To: gentoo-user

On 09/10/14 04:57, Kerin Millar wrote:
>On 10/09/2014 04:50, Joseph wrote:
>> On 09/10/14 04:27, Kerin Millar wrote:
>>> On 10/09/2014 04:21, Joseph wrote:
>>>> On 09/10/14 03:59, Kerin Millar wrote:
>>>>> On 09/09/2014 19:36, Joseph wrote:
>>>> [snip]
>>>>
>>>>>>
>>>>>> Running on my other system I get:
>>>>>> equery b libstdc++.so.6
>>>>>> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
>>>>>> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 ->
>>>>>> libstdc++.so.6.0.14)
>>>>>>
>>>>>> env-update - doesn't work either
>>>>>>
>>>>>
>>>>> Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file
>>>>> defining the appropriate paths for your current version of gcc. Here's
>>>>> how it looks on my system:
>>>>>
>>>>>   # cd /etc/ld.so.conf.d
>>>>>   # ls
>>>>>   05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
>>>>>   # cat 05gcc-x86_64-pc-linux-gnu.conf
>>>>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>>>>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>>>>
>>>>> Once you have made any necessary changes, run ldconfig.
>>>>>
>>>>> --Kerin
>>>>
>>>> Thanks Kerin, for the pointer.
>>>> I think I have a bigger problem, and don't know how to fix it.
>>>>
>>>> Yes, I have the same file /etc/ld.so.conf.d
>>>> # ls # 05gcc-x86_64-pc-linux-gnu.conf
>>>> # cat /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>>>
>>>> However, those directories are empty (only one file):
>>>> # ls -al /usr/lib/
>>>> libbrcomplpr2.so
>>>
>>> Is /usr/lib an actual directory or a symlink? Assuming that you use a
>>> stock amd64 (multilib) profile, it should be a symlink to lib64. If you
>>> find that it is a directory and that you also have a lib64 directory,
>>> try the commands below. You can skip the busybox and exit commands if
>>> you are doing this in a chroot rather than on a live system.
>>>
>>>   # busybox sh
>>>   # cd /usr/
>>>   # mv lib lib.old
>>>   # ln -s lib64 lib
>>>   # exit
>>>
>>>> On my other working system this directory "/usr/lib/" contain about 2020
>>>> files.
>>>> What had happened?
>>>> After emerging some files and system I was running command: fstrim -v /
>>>> (as the disk is SSD).
>>>> Could it have something to do with the fact that these directories are
>>>> empty?
>>>
>>> No. Using fstrim does not delete files.
>>>
>>> --Kerin
>>
>> Kerin you are a magician! THANK YOU!!!
>> Yes, it worked.  Everything is back to normal.
>>
>> I can still not comprehend what had happened :-/ why all of a sudden in
>> the middle of compilation it all vanished.
>
>Were you doing anything outside of portage that may have had a hand in it?
>
>Incidentally, you should move libbrcomplpr2.so to /usr/lib32. Some
>googling suggests to me that it is a library included in a proprietary
>Brother printer driver package. You can use the file command to confirm
>that it is a 32-bit library.
>
>--Kerin

I was logged in over ssh in one terminal, compiling "xsane"
and logged in, in another terminal and was installing brother printer driver (without emerge) manual installation.
I followed my own instructions from: 
 http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1ba0b92db499262c6a74919d86c6af43

I run: 
tar zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C / 
tar zxvf ./cupswrapperHL5370DW-2.0.4-1.i386.tar.gz -C / 

Could be that one of this script messed up the links.
If so I don't know how could it happen. Looking though "history" these are the commands I run:

 305  tar zxvf ./brhl5250dnlpr-2.0.1-1.i386.tar.gz -C /
  306  tar zxvf ./cupswrapperHL5250DN-2.0.1-1.i386.tar.gz -C /
  307  cd /usr/local/Brother/cupswrapper
  308  mv cupswrapperHL5250DN-2.0.1 cupswrapperHL5250DN-2.0.1.bak
  309  /bin/sed 's/\/etc\/init.d\/cups\ restart/\/etc\/init.d\/cupsd\ restart/g' ./cupswrapperHL5250DN-2.0.1.bak > ./cupswrapperHL5250DN-2.0.1
  310  ls -al
  311  pwd
  312  ll
  313  ls -al
  314  chmod 755 cupswrapperHL5250DN-2.0.1

I just extracted the files with "tar..." 

-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] [SOLVED] can not compile / emerge
  2014-09-10  4:16           ` Joseph
@ 2014-09-10  5:01             ` Kerin Millar
  2014-09-10  5:10               ` Kerin Millar
  2014-09-10  5:20               ` [gentoo-user] [SOLVED] can not compile / emerge Joseph
  2014-09-11 12:07             ` [gentoo-user] " James
  1 sibling, 2 replies; 83+ messages in thread
From: Kerin Millar @ 2014-09-10  5:01 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 05:16, Joseph wrote:
> On 09/10/14 04:57, Kerin Millar wrote:
>> On 10/09/2014 04:50, Joseph wrote:
>>> On 09/10/14 04:27, Kerin Millar wrote:
>>>> On 10/09/2014 04:21, Joseph wrote:
>>>>> On 09/10/14 03:59, Kerin Millar wrote:
>>>>>> On 09/09/2014 19:36, Joseph wrote:
>>>>> [snip]
>>>>>
>>>>>>>
>>>>>>> Running on my other system I get:
>>>>>>> equery b libstdc++.so.6
>>>>>>> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
>>>>>>> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 ->
>>>>>>> libstdc++.so.6.0.14)
>>>>>>>
>>>>>>> env-update - doesn't work either
>>>>>>>
>>>>>>
>>>>>> Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file
>>>>>> defining the appropriate paths for your current version of gcc.
>>>>>> Here's
>>>>>> how it looks on my system:
>>>>>>
>>>>>>   # cd /etc/ld.so.conf.d
>>>>>>   # ls
>>>>>>   05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
>>>>>>   # cat 05gcc-x86_64-pc-linux-gnu.conf
>>>>>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>>>>>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>>>>>
>>>>>> Once you have made any necessary changes, run ldconfig.
>>>>>>
>>>>>> --Kerin
>>>>>
>>>>> Thanks Kerin, for the pointer.
>>>>> I think I have a bigger problem, and don't know how to fix it.
>>>>>
>>>>> Yes, I have the same file /etc/ld.so.conf.d
>>>>> # ls # 05gcc-x86_64-pc-linux-gnu.conf
>>>>> # cat /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>>>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>>>>
>>>>> However, those directories are empty (only one file):
>>>>> # ls -al /usr/lib/
>>>>> libbrcomplpr2.so
>>>>
>>>> Is /usr/lib an actual directory or a symlink? Assuming that you use a
>>>> stock amd64 (multilib) profile, it should be a symlink to lib64. If you
>>>> find that it is a directory and that you also have a lib64 directory,
>>>> try the commands below. You can skip the busybox and exit commands if
>>>> you are doing this in a chroot rather than on a live system.
>>>>
>>>>   # busybox sh
>>>>   # cd /usr/
>>>>   # mv lib lib.old
>>>>   # ln -s lib64 lib
>>>>   # exit
>>>>
>>>>> On my other working system this directory "/usr/lib/" contain about
>>>>> 2020
>>>>> files.
>>>>> What had happened?
>>>>> After emerging some files and system I was running command: fstrim
>>>>> -v /
>>>>> (as the disk is SSD).
>>>>> Could it have something to do with the fact that these directories are
>>>>> empty?
>>>>
>>>> No. Using fstrim does not delete files.
>>>>
>>>> --Kerin
>>>
>>> Kerin you are a magician! THANK YOU!!!
>>> Yes, it worked.  Everything is back to normal.
>>>
>>> I can still not comprehend what had happened :-/ why all of a sudden in
>>> the middle of compilation it all vanished.
>>
>> Were you doing anything outside of portage that may have had a hand in
>> it?
>>
>> Incidentally, you should move libbrcomplpr2.so to /usr/lib32. Some
>> googling suggests to me that it is a library included in a proprietary
>> Brother printer driver package. You can use the file command to confirm
>> that it is a 32-bit library.
>>
>> --Kerin
>
> I was logged in over ssh in one terminal, compiling "xsane"
> and logged in, in another terminal and was installing brother printer
> driver (without emerge) manual installation.
> I followed my own instructions from:
> http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1ba0b92db499262c6a74919d86c6af43
>
>
> I run: tar zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C / tar zxvf
> ./cupswrapperHL5370DW-2.0.4-1.i386.tar.gz -C /
> Could be that one of this script messed up the links.
> If so I don't know how could it happen. Looking though "history" these
> are the commands I run:
>
> 305  tar zxvf ./brhl5250dnlpr-2.0.1-1.i386.tar.gz -C /
>   306  tar zxvf ./cupswrapperHL5250DN-2.0.1-1.i386.tar.gz -C /
>   307  cd /usr/local/Brother/cupswrapper
>   308  mv cupswrapperHL5250DN-2.0.1 cupswrapperHL5250DN-2.0.1.bak
>   309  /bin/sed 's/\/etc\/init.d\/cups\ restart/\/etc\/init.d\/cupsd\
> restart/g' ./cupswrapperHL5250DN-2.0.1.bak > ./cupswrapperHL5250DN-2.0.1
>   310  ls -al
>   311  pwd
>   312  ll
>   313  ls -al
>   314  chmod 755 cupswrapperHL5250DN-2.0.1
>
> I just extracted the files with "tar..."

I read your forum post and can see that you're (dangerously) extracting 
directly into the root directory and that this is among the contents of 
the archive:

   ./usr/lib/
   ./usr/lib/libbrcomplpr2.so

I posit that tar clobbers the /usr/lib symlink, converting it into a 
directory because that is what is stored in the archive.

Ergo, use the --keep-directory-symlink parameter.

--Kerin


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] [SOLVED] can not compile / emerge
  2014-09-10  5:01             ` Kerin Millar
@ 2014-09-10  5:10               ` Kerin Millar
  2014-09-10  5:32                 ` [gentoo-user] BACKUPS Joseph
  2014-09-10  5:20               ` [gentoo-user] [SOLVED] can not compile / emerge Joseph
  1 sibling, 1 reply; 83+ messages in thread
From: Kerin Millar @ 2014-09-10  5:10 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 06:01, Kerin Millar wrote:
> On 10/09/2014 05:16, Joseph wrote:
>> On 09/10/14 04:57, Kerin Millar wrote:
>>> On 10/09/2014 04:50, Joseph wrote:
>>>> On 09/10/14 04:27, Kerin Millar wrote:
>>>>> On 10/09/2014 04:21, Joseph wrote:
>>>>>> On 09/10/14 03:59, Kerin Millar wrote:
>>>>>>> On 09/09/2014 19:36, Joseph wrote:
>>>>>> [snip]
>>>>>>
>>>>>>>>
>>>>>>>> Running on my other system I get:
>>>>>>>> equery b libstdc++.so.6
>>>>>>>> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
>>>>>>>> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 ->
>>>>>>>> libstdc++.so.6.0.14)
>>>>>>>>
>>>>>>>> env-update - doesn't work either
>>>>>>>>
>>>>>>>
>>>>>>> Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a
>>>>>>> file
>>>>>>> defining the appropriate paths for your current version of gcc.
>>>>>>> Here's
>>>>>>> how it looks on my system:
>>>>>>>
>>>>>>>   # cd /etc/ld.so.conf.d
>>>>>>>   # ls
>>>>>>>   05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
>>>>>>>   # cat 05gcc-x86_64-pc-linux-gnu.conf
>>>>>>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>>>>>>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>>>>>>
>>>>>>> Once you have made any necessary changes, run ldconfig.
>>>>>>>
>>>>>>> --Kerin
>>>>>>
>>>>>> Thanks Kerin, for the pointer.
>>>>>> I think I have a bigger problem, and don't know how to fix it.
>>>>>>
>>>>>> Yes, I have the same file /etc/ld.so.conf.d
>>>>>> # ls # 05gcc-x86_64-pc-linux-gnu.conf
>>>>>> # cat /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>>>>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>>>>>
>>>>>> However, those directories are empty (only one file):
>>>>>> # ls -al /usr/lib/
>>>>>> libbrcomplpr2.so
>>>>>
>>>>> Is /usr/lib an actual directory or a symlink? Assuming that you use a
>>>>> stock amd64 (multilib) profile, it should be a symlink to lib64. If
>>>>> you
>>>>> find that it is a directory and that you also have a lib64 directory,
>>>>> try the commands below. You can skip the busybox and exit commands if
>>>>> you are doing this in a chroot rather than on a live system.
>>>>>
>>>>>   # busybox sh
>>>>>   # cd /usr/
>>>>>   # mv lib lib.old
>>>>>   # ln -s lib64 lib
>>>>>   # exit
>>>>>
>>>>>> On my other working system this directory "/usr/lib/" contain about
>>>>>> 2020
>>>>>> files.
>>>>>> What had happened?
>>>>>> After emerging some files and system I was running command: fstrim
>>>>>> -v /
>>>>>> (as the disk is SSD).
>>>>>> Could it have something to do with the fact that these directories
>>>>>> are
>>>>>> empty?
>>>>>
>>>>> No. Using fstrim does not delete files.
>>>>>
>>>>> --Kerin
>>>>
>>>> Kerin you are a magician! THANK YOU!!!
>>>> Yes, it worked.  Everything is back to normal.
>>>>
>>>> I can still not comprehend what had happened :-/ why all of a sudden in
>>>> the middle of compilation it all vanished.
>>>
>>> Were you doing anything outside of portage that may have had a hand in
>>> it?
>>>
>>> Incidentally, you should move libbrcomplpr2.so to /usr/lib32. Some
>>> googling suggests to me that it is a library included in a proprietary
>>> Brother printer driver package. You can use the file command to confirm
>>> that it is a 32-bit library.
>>>
>>> --Kerin
>>
>> I was logged in over ssh in one terminal, compiling "xsane"
>> and logged in, in another terminal and was installing brother printer
>> driver (without emerge) manual installation.
>> I followed my own instructions from:
>> http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1ba0b92db499262c6a74919d86c6af43
>>
>>
>>
>> I run: tar zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C / tar zxvf
>> ./cupswrapperHL5370DW-2.0.4-1.i386.tar.gz -C /
>> Could be that one of this script messed up the links.
>> If so I don't know how could it happen. Looking though "history" these
>> are the commands I run:
>>
>> 305  tar zxvf ./brhl5250dnlpr-2.0.1-1.i386.tar.gz -C /
>>   306  tar zxvf ./cupswrapperHL5250DN-2.0.1-1.i386.tar.gz -C /
>>   307  cd /usr/local/Brother/cupswrapper
>>   308  mv cupswrapperHL5250DN-2.0.1 cupswrapperHL5250DN-2.0.1.bak
>>   309  /bin/sed 's/\/etc\/init.d\/cups\ restart/\/etc\/init.d\/cupsd\
>> restart/g' ./cupswrapperHL5250DN-2.0.1.bak > ./cupswrapperHL5250DN-2.0.1
>>   310  ls -al
>>   311  pwd
>>   312  ll
>>   313  ls -al
>>   314  chmod 755 cupswrapperHL5250DN-2.0.1
>>
>> I just extracted the files with "tar..."
>
> I read your forum post and can see that you're (dangerously) extracting
> directly into the root directory and that this is among the contents of
> the archive:
>
>    ./usr/lib/
>    ./usr/lib/libbrcomplpr2.so
>
> I posit that tar clobbers the /usr/lib symlink, converting it into a
> directory because that is what is stored in the archive.
>
> Ergo, use the --keep-directory-symlink parameter.

Excuse the fact that I am replying to myself, but I must also stress 
that the library does not belong in lib64. On a 64-bit system, you 
should adapt your process so that the library ends up residing in lib32, 
not lib64 (by way of the lib symlink). The software will not be able to 
function correctly otherwise.

--Kerin


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] [SOLVED] can not compile / emerge
  2014-09-10  5:01             ` Kerin Millar
  2014-09-10  5:10               ` Kerin Millar
@ 2014-09-10  5:20               ` Joseph
  1 sibling, 0 replies; 83+ messages in thread
From: Joseph @ 2014-09-10  5:20 UTC (permalink / raw
  To: gentoo-user

On 09/10/14 06:01, Kerin Millar wrote:
>On 10/09/2014 05:16, Joseph wrote:
>> On 09/10/14 04:57, Kerin Millar wrote:
>>> On 10/09/2014 04:50, Joseph wrote:
>>>> On 09/10/14 04:27, Kerin Millar wrote:
>>>>> On 10/09/2014 04:21, Joseph wrote:
>>>>>> On 09/10/14 03:59, Kerin Millar wrote:
>>>>>>> On 09/09/2014 19:36, Joseph wrote:
>>>>>> [snip]
>>>>>>
>>>>>>>>
>>>>>>>> Running on my other system I get:
>>>>>>>> equery b libstdc++.so.6
>>>>>>>> * Searching for libstdc++.so.6 ... sys-devel/gcc-4.5.4
>>>>>>>> (/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/libstdc++.so.6 ->
>>>>>>>> libstdc++.so.6.0.14)
>>>>>>>>
>>>>>>>> env-update - doesn't work either
>>>>>>>>
>>>>>>>
>>>>>>> Check beneath /etc/env.d/ld.so.conf.d and ensure that there is a file
>>>>>>> defining the appropriate paths for your current version of gcc.
>>>>>>> Here's
>>>>>>> how it looks on my system:
>>>>>>>
>>>>>>>   # cd /etc/ld.so.conf.d
>>>>>>>   # ls
>>>>>>>   05binutils.conf  05gcc-x86_64-pc-linux-gnu.conf
>>>>>>>   # cat 05gcc-x86_64-pc-linux-gnu.conf
>>>>>>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>>>>>>>   /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>>>>>>
>>>>>>> Once you have made any necessary changes, run ldconfig.
>>>>>>>
>>>>>>> --Kerin
>>>>>>
>>>>>> Thanks Kerin, for the pointer.
>>>>>> I think I have a bigger problem, and don't know how to fix it.
>>>>>>
>>>>>> Yes, I have the same file /etc/ld.so.conf.d
>>>>>> # ls # 05gcc-x86_64-pc-linux-gnu.conf
>>>>>> # cat /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
>>>>>> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
>>>>>>
>>>>>> However, those directories are empty (only one file):
>>>>>> # ls -al /usr/lib/
>>>>>> libbrcomplpr2.so
>>>>>
>>>>> Is /usr/lib an actual directory or a symlink? Assuming that you use a
>>>>> stock amd64 (multilib) profile, it should be a symlink to lib64. If you
>>>>> find that it is a directory and that you also have a lib64 directory,
>>>>> try the commands below. You can skip the busybox and exit commands if
>>>>> you are doing this in a chroot rather than on a live system.
>>>>>
>>>>>   # busybox sh
>>>>>   # cd /usr/
>>>>>   # mv lib lib.old
>>>>>   # ln -s lib64 lib
>>>>>   # exit
>>>>>
>>>>>> On my other working system this directory "/usr/lib/" contain about
>>>>>> 2020
>>>>>> files.
>>>>>> What had happened?
>>>>>> After emerging some files and system I was running command: fstrim
>>>>>> -v /
>>>>>> (as the disk is SSD).
>>>>>> Could it have something to do with the fact that these directories are
>>>>>> empty?
>>>>>
>>>>> No. Using fstrim does not delete files.
>>>>>
>>>>> --Kerin
>>>>
>>>> Kerin you are a magician! THANK YOU!!!
>>>> Yes, it worked.  Everything is back to normal.
>>>>
>>>> I can still not comprehend what had happened :-/ why all of a sudden in
>>>> the middle of compilation it all vanished.
>>>
>>> Were you doing anything outside of portage that may have had a hand in
>>> it?
>>>
>>> Incidentally, you should move libbrcomplpr2.so to /usr/lib32. Some
>>> googling suggests to me that it is a library included in a proprietary
>>> Brother printer driver package. You can use the file command to confirm
>>> that it is a 32-bit library.
>>>
>>> --Kerin
>>
>> I was logged in over ssh in one terminal, compiling "xsane"
>> and logged in, in another terminal and was installing brother printer
>> driver (without emerge) manual installation.
>> I followed my own instructions from:
>> http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1ba0b92db499262c6a74919d86c6af43
>>
>>
>> I run: tar zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C / tar zxvf
>> ./cupswrapperHL5370DW-2.0.4-1.i386.tar.gz -C /
>> Could be that one of this script messed up the links.
>> If so I don't know how could it happen. Looking though "history" these
>> are the commands I run:
>>
>> 305  tar zxvf ./brhl5250dnlpr-2.0.1-1.i386.tar.gz -C /
>>   306  tar zxvf ./cupswrapperHL5250DN-2.0.1-1.i386.tar.gz -C /
>>   307  cd /usr/local/Brother/cupswrapper
>>   308  mv cupswrapperHL5250DN-2.0.1 cupswrapperHL5250DN-2.0.1.bak
>>   309  /bin/sed 's/\/etc\/init.d\/cups\ restart/\/etc\/init.d\/cupsd\
>> restart/g' ./cupswrapperHL5250DN-2.0.1.bak > ./cupswrapperHL5250DN-2.0.1
>>   310  ls -al
>>   311  pwd
>>   312  ll
>>   313  ls -al
>>   314  chmod 755 cupswrapperHL5250DN-2.0.1
>>
>> I just extracted the files with "tar..."
>
>I read your forum post and can see that you're (dangerously) extracting
>directly into the root directory and that this is among the contents of
>the archive:
>
>   ./usr/lib/
>   ./usr/lib/libbrcomplpr2.so
>
>I posit that tar clobbers the /usr/lib symlink, converting it into a
>directory because that is what is stored in the archive.
>
>Ergo, use the --keep-directory-symlink parameter.
>
>--Kerin

Thank you again, I've already modified the line (so hopefully nobody else will get caught in it):
eg. tar --keep-directory-symlink -zxvf ./hl5370dwlpr-2.0.3-1.i386.tar.gz -C / 

-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  5:10               ` Kerin Millar
@ 2014-09-10  5:32                 ` Joseph
  2014-09-10  7:14                   ` Alan McKinnon
  2014-09-10 11:03                   ` Kerin Millar
  0 siblings, 2 replies; 83+ messages in thread
From: Joseph @ 2014-09-10  5:32 UTC (permalink / raw
  To: gentoo-user

On 09/10/14 06:10, Kerin Millar wrote:
[snip]

>>> I just extracted the files with "tar..."
>>
>> I read your forum post and can see that you're (dangerously) extracting
>> directly into the root directory and that this is among the contents of
>> the archive:
>>
>>    ./usr/lib/
>>    ./usr/lib/libbrcomplpr2.so
>>
>> I posit that tar clobbers the /usr/lib symlink, converting it into a
>> directory because that is what is stored in the archive.
>>
>> Ergo, use the --keep-directory-symlink parameter.
>
>Excuse the fact that I am replying to myself, but I must also stress
>that the library does not belong in lib64. On a 64-bit system, you
>should adapt your process so that the library ends up residing in lib32,
>not lib64 (by way of the lib symlink). The software will not be able to
>function correctly otherwise.
>
>--Kerin

Thank you again. 
On a different subject.  Do you have a good pointer on how to backup a system.
I just had a HD crash so I selected a replacement SSD and I'm re installing the software.
I had backup of /etc/ and /home but I've missed all other settings eg:
/boot/ kernel config and other files and are not in /etc directory like: hylafax setting etc.

Is there a way to keep backup of all those configuration files that are manually edited?

-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  5:32                 ` [gentoo-user] BACKUPS Joseph
@ 2014-09-10  7:14                   ` Alan McKinnon
  2014-09-10  7:47                     ` Dale
  2014-09-10  8:34                     ` Neil Bothwick
  2014-09-10 11:03                   ` Kerin Millar
  1 sibling, 2 replies; 83+ messages in thread
From: Alan McKinnon @ 2014-09-10  7:14 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 07:32, Joseph wrote:
> Thank you again. On a different subject.  Do you have a good pointer on
> how to backup a system.


Did it even occur to you at all to type that exact question into a
search engine and see what comes back?

Come on dude, we aren't here to do ALL your thinking for you.

-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  7:14                   ` Alan McKinnon
@ 2014-09-10  7:47                     ` Dale
  2014-09-10  7:51                       ` J. Roeleveld
  2014-09-10  8:34                     ` Neil Bothwick
  1 sibling, 1 reply; 83+ messages in thread
From: Dale @ 2014-09-10  7:47 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> On 10/09/2014 07:32, Joseph wrote:
>> Thank you again. On a different subject.  Do you have a good pointer on
>> how to backup a system.
>
> Did it even occur to you at all to type that exact question into a
> search engine and see what comes back?
>
> Come on dude, we aren't here to do ALL your thinking for you.
>


Even easier,

eix backup

  ;-)

Dale

:-)  :-) 


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  7:47                     ` Dale
@ 2014-09-10  7:51                       ` J. Roeleveld
  2014-09-10  8:03                         ` Dale
  0 siblings, 1 reply; 83+ messages in thread
From: J. Roeleveld @ 2014-09-10  7:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 694 bytes --]


On Wednesday, September 10, 2014 02:47:26 AM Dale wrote:
> Alan McKinnon wrote:
> > On 10/09/2014 07:32, Joseph wrote:
> >> Thank you again. On a different subject.  Do you have a good pointer 
on
> >> how to backup a system.
> > 
> > Did it even occur to you at all to type that exact question into a
> > search engine and see what comes back?
> > 
> > Come on dude, we aren't here to do ALL your thinking for you.
> 
> Even easier,
> 
> eix backup

That only returns 18 packages and you're missing most of the ones in app-
backup/.

Try:
eix app-backup/

That gives you 44 to choose from.

Alternatively, copy every file to a usb-disk and manually confirm they are all 
identical?

--
Joost

[-- Attachment #2: Type: text/html, Size: 4980 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  7:51                       ` J. Roeleveld
@ 2014-09-10  8:03                         ` Dale
  2014-09-10  9:13                           ` Alan McKinnon
  0 siblings, 1 reply; 83+ messages in thread
From: Dale @ 2014-09-10  8:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1322 bytes --]

J. Roeleveld wrote:
>
>  
>
> On Wednesday, September 10, 2014 02:47:26 AM Dale wrote:
>
> > Alan McKinnon wrote:
>
> > > On 10/09/2014 07:32, Joseph wrote:
>
> > >> Thank you again. On a different subject. Do you have a good
> pointer on
>
> > >> how to backup a system.
>
> > >
>
> > > Did it even occur to you at all to type that exact question into a
>
> > > search engine and see what comes back?
>
> > >
>
> > > Come on dude, we aren't here to do ALL your thinking for you.
>
> >
>
> > Even easier,
>
> >
>
> > eix backup
>
>  
>
> That only returns 18 packages and you're missing most of the ones in
> app-backup/.
>
>  
>
> Try:
>
> eix app-backup/
>
>  
>
> That gives you 44 to choose from.
>
>  
>
> Alternatively, copy every file to a usb-disk and manually confirm they
> are all identical?
>
>  
>
> --
>
> Joost
>


Well, I first used eix backup.  My thinking was this, if one searches
first for something with "backup" in it, they should notice a lot of
apps in the app-backup category even tho they might not know it existed
before that.  At that point, pot of gold with this:

eix app-backup/*

Thing is, he may not have eix installed.  :/ 

Either way works tho.  :-D 

Me, I just use rsync and call it a day. 

Dale

:-)  :-)

[-- Attachment #2: Type: text/html, Size: 6262 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  7:14                   ` Alan McKinnon
  2014-09-10  7:47                     ` Dale
@ 2014-09-10  8:34                     ` Neil Bothwick
  1 sibling, 0 replies; 83+ messages in thread
From: Neil Bothwick @ 2014-09-10  8:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

On Wed, 10 Sep 2014 09:14:43 +0200, Alan McKinnon wrote:

> > Thank you again. On a different subject.  Do you have a good pointer
> > on how to backup a system.  
> 
> Did it even occur to you at all to type that exact question into a
> search engine and see what comes back?

And if you then need to ask a question on a different subject, please
start a new thread. It's still thread-jacking if the thread you hijack is
one you started.


-- 
Neil Bothwick

I am Flatulus of Borg.  You will be asphixiated.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  8:03                         ` Dale
@ 2014-09-10  9:13                           ` Alan McKinnon
  0 siblings, 0 replies; 83+ messages in thread
From: Alan McKinnon @ 2014-09-10  9:13 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 10:03, Dale wrote:
> J. Roeleveld wrote:
>>
>>  
>>
>> On Wednesday, September 10, 2014 02:47:26 AM Dale wrote:
>>
>> > Alan McKinnon wrote:
>>
>> > > On 10/09/2014 07:32, Joseph wrote:
>>
>> > >> Thank you again. On a different subject. Do you have a good
>> pointer on
>>
>> > >> how to backup a system.
>>
>> > >
>>
>> > > Did it even occur to you at all to type that exact question into a
>>
>> > > search engine and see what comes back?
>>
>> > >
>>
>> > > Come on dude, we aren't here to do ALL your thinking for you.
>>
>> >
>>
>> > Even easier,
>>
>> >
>>
>> > eix backup
>>
>>  
>>
>> That only returns 18 packages and you're missing most of the ones in
>> app-backup/.
>>
>>  
>>
>> Try:
>>
>> eix app-backup/
>>
>>  
>>
>> That gives you 44 to choose from.
>>
>>  
>>
>> Alternatively, copy every file to a usb-disk and manually confirm they
>> are all identical?
>>
>>  
>>
>> --
>>
>> Joost
>>
> 
> 
> Well, I first used eix backup.  My thinking was this, if one searches
> first for something with "backup" in it, they should notice a lot of
> apps in the app-backup category even tho they might not know it existed
> before that.  At that point, pot of gold with this:
> 
> eix app-backup/*
> 
> Thing is, he may not have eix installed.  :/ 



that's why we have emerge -s


:-)



> 
> Either way works tho.  :-D 
> 
> Me, I just use rsync and call it a day. 
> 
> Dale
> 
> :-)  :-)


-- 
Alan McKinnon
alan.mckinnon@gmail.com



^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] BACKUPS
  2014-09-10  5:32                 ` [gentoo-user] BACKUPS Joseph
  2014-09-10  7:14                   ` Alan McKinnon
@ 2014-09-10 11:03                   ` Kerin Millar
  1 sibling, 0 replies; 83+ messages in thread
From: Kerin Millar @ 2014-09-10 11:03 UTC (permalink / raw
  To: gentoo-user

On 10/09/2014 06:32, Joseph wrote:
> On 09/10/14 06:10, Kerin Millar wrote:

<snip>

> Thank you again. On a different subject.  Do you have a good pointer on
> how to backup a system.
> I just had a HD crash so I selected a replacement SSD and I'm re
> installing the software.
> I had backup of /etc/ and /home but I've missed all other settings eg:
> /boot/ kernel config and other files and are not in /etc directory like:
> hylafax setting etc.
>
> Is there a way to keep backup of all those configuration files that are
> manually edited?

As suggested by Neil, please begin a new thread.

--Kerin



^ permalink raw reply	[flat|nested] 83+ messages in thread

* [gentoo-user] Re: [SOLVED] can not compile / emerge
  2014-09-10  4:16           ` Joseph
  2014-09-10  5:01             ` Kerin Millar
@ 2014-09-11 12:07             ` James
  2014-09-11 12:28               ` Joseph
  1 sibling, 1 reply; 83+ messages in thread
From: James @ 2014-09-11 12:07 UTC (permalink / raw
  To: gentoo-user

Joseph <syscon780 <at> gmail.com> writes:






>  http://forums.gentoo.org/viewtopic-t-909052-highlight- 
> brother.html?sid=1ba0b92db499262c6a74919d86c6af43

> I just extracted the files with "tar..." 


Hello Joseph,

You might find this document useful:

http://wiki.gentoo.org/wiki/Brother_networked_printer

hth,
James








^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Re: [SOLVED] can not compile / emerge
  2014-09-11 12:07             ` [gentoo-user] " James
@ 2014-09-11 12:28               ` Joseph
  2014-09-11 13:36                 ` J. Roeleveld
  2014-09-11 13:40                 ` James
  0 siblings, 2 replies; 83+ messages in thread
From: Joseph @ 2014-09-11 12:28 UTC (permalink / raw
  To: gentoo-user

On 09/11/14 12:07, James wrote:
>Joseph <syscon780 <at> gmail.com> writes:
>
>
>
>
>
>
>>  http://forums.gentoo.org/viewtopic-t-909052-highlight-
>> brother.html?sid=1ba0b92db499262c6a74919d86c6af43
>
>> I just extracted the files with "tar..."
>
>
>Hello Joseph,
>
>You might find this document useful:
>
>http://wiki.gentoo.org/wiki/Brother_networked_printer
>
>hth,
>James

The one on that link you posted is based on rpm so I've posted my own instruction here:
http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1d304c64a64892ab675d23cfa09e55f1

-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Re: [SOLVED] can not compile / emerge
  2014-09-11 12:28               ` Joseph
@ 2014-09-11 13:36                 ` J. Roeleveld
  2014-09-12 17:09                   ` Joseph
  2014-09-11 13:40                 ` James
  1 sibling, 1 reply; 83+ messages in thread
From: J. Roeleveld @ 2014-09-11 13:36 UTC (permalink / raw
  To: gentoo-user

On 11 September 2014 14:28:16 CEST, Joseph <syscon780@gmail.com> wrote:
>On 09/11/14 12:07, James wrote:
>>Joseph <syscon780 <at> gmail.com> writes:
>>
>>
>>
>>
>>
>>
>>>  http://forums.gentoo.org/viewtopic-t-909052-highlight-
>>> brother.html?sid=1ba0b92db499262c6a74919d86c6af43
>>
>>> I just extracted the files with "tar..."
>>
>>
>>Hello Joseph,
>>
>>You might find this document useful:
>>
>>http://wiki.gentoo.org/wiki/Brother_networked_printer
>>
>>hth,
>>James
>
>The one on that link you posted is based on rpm so I've posted my own
>instruction here:
>http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1d304c64a64892ab675d23cfa09e55f1

Joseph,

Why not add your instructions to the wiki page?

--
Joost
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


^ permalink raw reply	[flat|nested] 83+ messages in thread

* [gentoo-user] Re: [SOLVED] can not compile / emerge
  2014-09-11 12:28               ` Joseph
  2014-09-11 13:36                 ` J. Roeleveld
@ 2014-09-11 13:40                 ` James
  1 sibling, 0 replies; 83+ messages in thread
From: James @ 2014-09-11 13:40 UTC (permalink / raw
  To: gentoo-user

Joseph <syscon780 <at> gmail.com> writes:


> > http://wiki.gentoo.org/wiki/Brother_networked_printer

> The one on that link you posted is based on rpm so I've posted my own  
> instruction here: 
>
http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1d304c64a64892ab675d23cfa09e55f1


Great. If you have the time, explore to integrate your information
into the wiki.gentoo.org. In fact you can start your own brother
wiki page on wiki.gentoo.org.....


Also, just so you know, Gentoo folks routinely use rpm as as
a source for ebuilds. I can dig out some links, if you like
or better yet, others can post those links and relevant urls....


hth,
James







^ permalink raw reply	[flat|nested] 83+ messages in thread

* Re: [gentoo-user] Re: [SOLVED] can not compile / emerge
  2014-09-11 13:36                 ` J. Roeleveld
@ 2014-09-12 17:09                   ` Joseph
  0 siblings, 0 replies; 83+ messages in thread
From: Joseph @ 2014-09-12 17:09 UTC (permalink / raw
  To: gentoo-user

On 09/11/14 15:36, J. Roeleveld wrote:
>On 11 September 2014 14:28:16 CEST, Joseph <syscon780@gmail.com> wrote:
>>On 09/11/14 12:07, James wrote:
>>>Joseph <syscon780 <at> gmail.com> writes:
>>>
>>>
>>>
>>>
>>>
>>>
>>>>  http://forums.gentoo.org/viewtopic-t-909052-highlight-
>>>> brother.html?sid=1ba0b92db499262c6a74919d86c6af43
>>>
>>>> I just extracted the files with "tar..."
>>>
>>>
>>>Hello Joseph,
>>>
>>>You might find this document useful:
>>>
>>>http://wiki.gentoo.org/wiki/Brother_networked_printer
>>>
>>>hth,
>>>James
>>
>>The one on that link you posted is based on rpm so I've posted my own
>>instruction here:
>>http://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html?sid=1d304c64a64892ab675d23cfa09e55f1
>
>Joseph,
>
>Why not add your instructions to the wiki page?

That would be a good idea, if only I could find some time.
Restoring the system is a slow process. Even though I have most of the backups; I still improving it as I restore it.
Making backup of these file that I manually changed.

-- 
Joseph


^ permalink raw reply	[flat|nested] 83+ messages in thread

end of thread, other threads:[~2014-09-12 17:09 UTC | newest]

Thread overview: 83+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-09 18:36 [gentoo-user] can not compile / emerge Joseph
2014-09-09 18:45 ` Joseph
2014-09-09 18:46 ` Todd Goodman
2014-09-09 19:02   ` Joseph
2014-09-09 19:15   ` Joseph
2014-09-09 21:38     ` Mick
2014-09-09 21:57       ` Joseph
2014-09-09 22:20         ` Neil Bothwick
2014-09-09 22:49           ` Joseph
2014-09-10  3:29       ` Kerin Millar
2014-09-09 18:49 ` Dale
2014-09-10  2:59 ` Kerin Millar
2014-09-10  3:21   ` Joseph
2014-09-10  3:27     ` Kerin Millar
2014-09-10  3:50       ` [gentoo-user] [SOLVED] " Joseph
2014-09-10  3:57         ` Kerin Millar
2014-09-10  4:16           ` Joseph
2014-09-10  5:01             ` Kerin Millar
2014-09-10  5:10               ` Kerin Millar
2014-09-10  5:32                 ` [gentoo-user] BACKUPS Joseph
2014-09-10  7:14                   ` Alan McKinnon
2014-09-10  7:47                     ` Dale
2014-09-10  7:51                       ` J. Roeleveld
2014-09-10  8:03                         ` Dale
2014-09-10  9:13                           ` Alan McKinnon
2014-09-10  8:34                     ` Neil Bothwick
2014-09-10 11:03                   ` Kerin Millar
2014-09-10  5:20               ` [gentoo-user] [SOLVED] can not compile / emerge Joseph
2014-09-11 12:07             ` [gentoo-user] " James
2014-09-11 12:28               ` Joseph
2014-09-11 13:36                 ` J. Roeleveld
2014-09-12 17:09                   ` Joseph
2014-09-11 13:40                 ` James
  -- strict thread matches above, loose matches on Subject: below --
2010-02-27 20:02 [gentoo-user] Backups BRM
2007-09-29 22:26 Grant
2007-09-29 23:06 ` Volker Armin Hemmann
2007-09-29 23:28   ` Grant
2007-09-30  1:22     ` Volker Armin Hemmann
2007-09-30  1:35     ` Kenneth Prugh
2007-10-01  0:50       ` Dan Farrell
2007-10-03 13:15     ` Matthias Bethke
2007-09-29 23:45   ` Grant
2007-09-30  1:24     ` Volker Armin Hemmann
2007-09-30  3:44     ` Mark Shields
2007-09-30 15:37       ` Grant
2007-10-05 15:16     ` Joost Roeleveld
2007-09-30  7:17   ` Alan McKinnon
2007-09-30  0:08 ` Albert Hopkins
2007-09-30  3:38 ` Steen Eugen Poulsen
2007-09-30 10:41   ` Florian Philipp
2007-09-30 15:36   ` Grant
2007-09-30 15:50     ` Grant
2007-09-30 16:14       ` Dale
     [not found]         ` <49bf44f10709300931q5f5cdd29x304755a624e71945@mail.gmail.com>
2007-09-30 20:16           ` Jerry McBride
2007-09-30 22:02             ` Neil Bothwick
2007-09-30 22:20               ` Jerry McBride
2007-09-30 22:50                 ` Neil Bothwick
2007-09-30 19:14       ` Neil Bothwick
2007-09-30 16:33     ` Grant
2007-09-30 16:51       ` Florian Philipp
2007-09-30 17:37         ` Grant
2007-09-30 18:45           ` Alan McKinnon
2007-09-30 18:54             ` Grant
2007-09-30 18:35       ` Christopher Copeland
2007-09-30 18:46         ` Grant
2007-09-30 19:12       ` Neil Bothwick
2007-09-30 19:15     ` Neil Bothwick
2007-09-30 21:40       ` Steve Dommett
2007-10-01  1:03       ` Dan Farrell
2007-10-01  1:09 ` Dan Farrell
2007-10-01  2:15   ` Mark Kirkwood
2005-12-15 14:32 brettholcomb
2005-12-15 13:03 Allan Spagnol Comar
2005-12-15 16:53 ` Richard Fish
2005-12-15 17:27   ` John J. Foster
2005-12-15 19:15   ` Neil Bothwick
2005-12-15 20:04     ` Richard Fish
2005-12-15 20:26       ` Allan Spagnol Comar
2005-12-16 13:13         ` Paweł Madej
2005-12-16 15:20           ` Allan Spagnol Comar
2005-12-15 21:49       ` Neil Bothwick
2005-12-22 14:26     ` Michael Kintzios
2005-12-22 19:30       ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox