Amanda 2.6.1p2 and Solaris 10 x86 

+++Amanda.conf has the following

define application-tool app_amgtar {
    comment "amgtar"
    plugin "amgtar"
    property "GNUTAR-PATH" "/usr/sfw/bin/gtar"
    property "GNUTAR-LISTDIR" "/var/amanda/gnutar-lists"
    property "CHECK-DEVICE" "NO"
    property "ACLS" "NO"
}


define dumptype dt_amgtar{
    global
    program "APPLICATION"
    application "app_amgtar"
}

+++My disklist has


hertz  /gauss/export/users-j  /zvol/AMBKUPLOFS/gauss/export/users  {
      dt_amgtar
      include "./j*"
} -1 

+++If I run amcheck I get 

[128][ama...@hertz]:~/daily% amcheck -c daily

Amanda Backup Client Hosts Check
--------------------------------
ERROR: hertz: Application 'amgtar': amgtar: unrecognized option `--acls'
Client check: 1 host checked in 2.166 seconds.  5 problems found.

If I remove "property "ACLS" "NO"" and run amcheck I do not get any errors.

+++++When I then run amdump I get 

FAILED DUMP DETAILS:

/--  hertz /gauss/export/users-z lev 0 FAILED [/usr/sfw/bin/gtar exited with 
status 2: see /tmp/amanda/client/daily/amgtar.20100603154206000.debug]
sendbackup: info BACKUP=APPLICATION
sendbackup: info APPLICATION=amgtar
sendbackup: info 
RECOVER_CMD=/local/amanda/amanda-2.6.1p2/libexec/amanda/application/amgtar 
restore [./file-to-restore]+
sendbackup: info end
? /usr/sfw/bin/gtar: --atime-preserve='system' is not supported on this 
platform ? /usr/sfw/bin/gtar: Error is not recoverable: exiting now
sendbackup: error [/usr/sfw/bin/gtar exited with status 2: see 
/tmp/amanda/client/daily/amgtar.20100603154206000.debug]
sendbackup: size -1
sendbackup: end
\--------

/--  hertz /gauss/export/users-z lev 0 FAILED [/usr/sfw/bin/gtar exited with 
status 2: see /tmp/amanda/client/daily/amgtar.20100603154221000.debug]
sendbackup: info BACKUP=APPLICATION
sendbackup: info APPLICATION=amgtar
sendbackup: info 
RECOVER_CMD=/local/amanda/amanda-2.6.1p2/libexec/amanda/application/amgtar 
restore [./file-to-restore]+
sendbackup: info end
? /usr/sfw/bin/gtar: --atime-preserve='system' is not supported on this 
platform ? /usr/sfw/bin/gtar: Error is not recoverable: exiting now
sendbackup: error [/usr/sfw/bin/gtar exited with status 2: see 
/tmp/amanda/client/daily/amgtar.20100603154221000.debug]
sendbackup: size -1
sendbackup: end
\--------

+++++My gtar version is 1.23
                                                                                
                                                                                
                                                       
[139][ama...@hertz]:~/daily% /usr/sfw/bin/gtar --version
tar (GNU tar) 1.23
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.



++++ So I have to put the following in the amgtar application tool.

     property "ATIME-PRESERVE" "NO"

Which seem to resolve the problem.

Robert

_____________________________________________________________________
Robert P. McGraw, Jr.
Manager, Computer System                    EMAIL: rmcg...@purdue.edu
Purdue University                            ROOM: MATH-807
Department of Mathematics                   PHONE: (765) 494-6055
150 N. University Street                      
West Lafayette, IN 47907-2067            
 


Reply via email to