Amanda-Users

RE: Soalris client backup problem

2004-01-15 11:47:08
Subject: RE: Soalris client backup problem
From: Stephen Yeates <stephen.yeates AT heanet DOT ie>
To: "'amanda-users AT amanda DOT org'" <amanda-users AT amanda DOT org>
Date: Thu, 15 Jan 2004 16:43:55 -0000

Jon>
> > I have gnutar in /usr/local/bin on the Solaris machine, how do
> > I force Amanda to use this instead of the standard Solaris tar
> > is GNUTAR not coded into Amanda at compile time?
> 
> From your original posting:
> 
> >>> amrestore -p /dev/nst1 host /dir | tar tvpf -
>                                        ^^^
> 
> Which tar is this?  Likely not /usr/local/bin/tar.
> 
>
I'm running this amrestore command on the Amanda tape server a Debian
box
not restoring straight to the Solaris client box.

The default on the tape server running Debian is gnu tar but I thionk
you may be right I have backed up the Solaris client with Solaris tar.

how do I ensure the backup tar is using gnu tar on the Solaris client.

Gene>
> I believe it can be if spec'd in the ./configure argument list.  If 
> so, or the path was correct and configure found it, it should be 
> recorded in the config.log file in the src dir.
> 
> However if its dependent on the $PATH, then you may have to 
> re-arrange 
> the $PATH to place the gnutar version such that its found first.  In 
> my log, it appears it specifically asked for "gtar" and found it in 
> /bin/gtar.
> 
> Please post the output of "which gtar" and "gtar --version"
> 
tapeserverhost:/usr/local/amanda/sbin#which tar
/bin/tar

tapeserverhost:/usr/local/amanda/sbin# tar --version | more

tar (GNU tar) 1.13.25
Copyright (C) 2001 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public
License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.


Solaris client

Solaris-client(bash)# which tar
/usr/bin/tar

Solaris-client:/usr/bin/tar -version
Usage: tar {txruc}[vfbFXhiBEelmopwnq[0-7]] [-k size] [tapefile]
[blocksize] [exclude-file] [-I include-file] files ...

Solaris-client (bash)# /usr/local/bin/tar --version
tar (GNU tar) 1.13

Copyright (C) 1988, 92,93,94,95,96,97,98, 1999 Free Software Foundation,
Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Written by John Gilmore and Jay Fenlason.


Hope this is clear if you need me to clarify anything please let me
know.

I'm pretty sure Paul's accessment is corrrect I'm backing up using the
Solaris tar but how do you tell Amanda where to find the Amanda tar, if
I change the 
PATH order it could impact on other things on that Server.

Thanks for you responses hope you can see where I'm stuck.

regards,

Stephen
 
> -- 
> Jon H. LaBadie                  jon AT jgcomp DOT com
>  JG Computing
>  4455 Province Line Road        (609) 252-0159
>  Princeton, NJ  08540-4322      (609) 683-7220 (fax)
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

<Prev in Thread] Current Thread [Next in Thread>