amgtar question
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 SystemEMAIL: rmcg...@purdue.edu Purdue UniversityROOM: MATH-807 Department of Mathematics PHONE: (765) 494-6055 150 N. University Street West Lafayette, IN 47907-2067
Re: amgtar question
On Thu, Jun 3, 2010 at 3:25 PM, McGraw, Robert P rmcg...@purdue.edu wrote: Which seem to resolve the problem. I'm not sure what the question was .. but amgtar in 2.6.1 didn't have an ACLS property: http://wiki.zmanda.com/man/2.6.1/amgtar.8.html Dustin -- Open Source Storage Engineer http://www.zmanda.com
Re: amgtar question
On Thursday 03 June 2010, Dustin J. Mitchell dus...@zmanda.com wrote: On Thu, Jun 3, 2010 at 3:25 PM, McGraw, Robert P rmcg...@purdue.edu wrote: Which seem to resolve the problem. I'm not sure what the question was .. but amgtar in 2.6.1 didn't have an ACLS property: http://wiki.zmanda.com/man/2.6.1/amgtar.8.html Dustin It only works with versions of gnutar patched to support Linux ACLs, ie. Red Hat's version. It's in the documentation I think. I guess atime-preserve also doesn't work on that solaris version, but that's unrelated. -- No animals were harmed in the recording of this episode. We tried but that damn monkey was just too fast.