Joshua,
Thanks for responding. My tar version is 1.13.
The debug and index files are below, for the entire backup and recover
operations. Note that the debug files are in reverse order of
creation.
This has really got me stumped.
Any ideas?
Thanks,
David
My index file looks like this:
==============================
pwd
/var/adm/amanda/DailySet1/index/morpheus/_home_dtrusty
# ls -laF
total 102
drwxr-sr-x 2 amanda sys 96 Apr 21 10:00 ./
drwxr-sr-x 3 amanda sys 96 Apr 20 22:23 ../
-rw------- 1 amanda sys 25840 Apr 20 23:15 20020420_0.gz
-rw------- 1 amanda sys 24924 Apr 21 09:51 20020421_0.gz
/usr/local/bin/gunzip -c 20020421_0.gz | more
07460550617/./
07460550617/./.dt/
07460550617/./.dt/.Printers/
07460550617/./.dt/Desktop/
07460550617/./.dt/Trash/
07460550617/./.dt/appmanager/
07460550617/./.dt/help/
07460550617/./.dt/help/dtrusty-morpheus-0/
07460550617/./.dt/icons/
07460550617/./.dt/palettes/
07460550617/./.dt/sessionlogs/
07460550617/./.dt/sessions/
07460550617/./.dt/sessions/curr.AAAa03696/
07460550617/./.dt/sessions/curr.AAAa10682/
07460550617/./.dt/sessions/current/
07460550617/./.dt/sessions/current.old/
07460550617/./.dt/sessions/system/
07460550617/./.dt/tmp/
07460550617/./.dt/types/
07460550617/./.dt/types/fp_dynamic/
07460550617/./.netscape/
07460550617/./.netscape/archive/
07460550617/./.netscape/cache/
07460550617/./.netscape/cache/00/
07460550617/./.netscape/cache/01/
07460550617/./.netscape/cache/02/
07460550617/./.netscape/cache/03/
07460550617/./.netscape/cache/04/
07460550617/./.netscape/cache/05/
07460550617/./.netscape/cache/06/
07460550617/./.netscape/cache/07/
07460550617/./.netscape/cache/08/
07460550617/./.netscape/cache/09/
07460550617/./.netscape/cache/0A/
07460550617/./.netscape/cache/0B/
07460550617/./.netscape/cache/0C/
07460550617/./.netscape/cache/0D/
....
07460436346/./tools/amanda/share/amanda/YEAR2000
07460436346/./tools/amanda/share/amanda/ZFTAPE
07460436346/./tools/man/man1/mtx.1
07460436346/./tools/sbin/mtx
07460436346/./xemacs/b.tar
07460436346/./xemacs/cc-mode-5.28/ANNOUNCEMENT
07460436346/./xemacs/cc-mode-5.28/COPYING
07460436346/./xemacs/cc-mode-5.28/MANIFEST
07460436347/./xemacs/cc-mode-5.28/NEWS
07460436347/./xemacs/cc-mode-5.28/README
07460436347/./xemacs/cc-mode-5.28/cc-align.el
07460436347/./xemacs/cc-mode-5.28/cc-align.elc
07460436347/./xemacs/cc-mode-5.28/cc-bytecomp.el
07460436347/./xemacs/cc-mode-5.28/cc-bytecomp.elc
07460436347/./xemacs/cc-mode-5.28/cc-cmds.el
07460436347/./xemacs/cc-mode-5.28/cc-cmds.elc
07460436347/./xemacs/cc-mode-5.28/cc-compat.el
07460436347/./xemacs/cc-mode-5.28/cc-compat.elc
07460436347/./xemacs/cc-mode-5.28/cc-defs.el
07460436347/./xemacs/cc-mode-5.28/cc-defs.elc
07460436347/./xemacs/cc-mode-5.28/cc-engine.el
07460436347/./xemacs/cc-mode-5.28/cc-engine.elc
07460436347/./xemacs/cc-mode-5.28/cc-guess.el
07460436347/./xemacs/cc-mode-5.28/cc-guess.elc
07460436347/./xemacs/cc-mode-5.28/cc-langs.el
07460436347/./xemacs/cc-mode-5.28/cc-langs.elc
07460436347/./xemacs/cc-mode-5.28/cc-lobotomy.el
07460436347/./xemacs/cc-mode-5.28/cc-lobotomy.elc
07460436347/./xemacs/cc-mode-5.28/cc-menus.el
07460436347/./xemacs/cc-mode-5.28/cc-menus.elc
07460436347/./xemacs/cc-mode-5.28/cc-mode-19.el
07460436347/./xemacs/cc-mode-5.28/cc-mode-19.elc
07460436347/./xemacs/cc-mode-5.28/cc-mode.el
07460436347/./xemacs/cc-mode-5.28/cc-mode.elc
07460436347/./xemacs/cc-mode-5.28/cc-mode.texi
07460436347/./xemacs/cc-mode-5.28/cc-styles.el
07460436347/./xemacs/cc-mode-5.28/cc-styles.elc
07460436347/./xemacs/cc-mode-5.28/cc-vars.el
07460436347/./xemacs/cc-mode-5.28/cc-vars.elc
My tar version is 1.13.
=======================
# /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.
Here are the debug files:
=========================
*** As you can see below, it only shows 2 directories: "new", and
"panorama".
amrecover.20020421095536.debug
==============================
amrecover: debug 1 pid 4940 ruid 0 euid 0 start time Sun Apr 21 09:55:36
2002
amrecover: stream_client: connected to 129.112.42.3.10082
amrecover: stream_client: our side is 0.0.0.0.564
add_dir_list_item: Adding "2002-04-21" "0" "DailySet1-005" "/new/"
add_dir_list_item: Adding "2002-04-21" "0" "DailySet1-005" "/panorama/"
amrecover: pid 4940 finish time Sun Apr 21 10:00:41 2002
amindexd.20020421095536.debug
=============================
amindexd: debug 1 pid 4941 ruid 101 euid 101 start time Sun Apr 21 09:55:36
2002
amindexd: version 2.4.2p2
< 220 morpheus AMANDA index server (2.4.2p2) ready.
>SECURITY USER root
bsd security: remote host morpheus.swmed.edu user root local user amanda
amandahosts security check passed
< 200 Access OK
>DATE 2002-04-21
< 200 Working date set to 2002-04-21.
>SCNF Daily
< 200 Config set to Daily.
>HOST morpheus
< 200 Dump host set to morpheus.
>DISK /home
< 501 No index records for disk: /home. Invalid?
>DISK /dev/vg00/lvol5
< 501 No index records for disk: /dev/vg00/lvol5. Invalid?
>DISK /home/dtrusty
- 2002-04-21 0 DailySet1-005 1
- 2002-04-20 0 DailySet1-004 1
- 2002-04-20 0 DailySet1-003 1
< 200 Disk set to /home/dtrusty.
>OISD /
Uncompress command: /usr/contrib/bin/gzip -dc
'/var/adm/amanda/DailySet1/index/morpheus/_home_dtrusty/20020421_0.gz'
2>/dev/null
| sort > '/var/adm/amanda/DailySet1/index/morpheus/_home_dtrusty/20020421_0'
f /var/adm/amanda/DailySet1/index/morpheus/_home_dtrusty/20020421_0
< 200 "/" is a valid directory
>OISD /
f /var/adm/amanda/DailySet1/index/morpheus/_home_dtrusty/20020421_0
< 200 "/" is a valid directory
>OLSD /
< 200- Opaque list of /
< 201- 2002-04-21 0 DailySet1-005 /new/
< 201- 2002-04-21 0 DailySet1-005 /panorama/
< 200 Opaque list of /
>DHST
< 200- Dump history for config "Daily" host "morpheus" disk "/home/dtrusty"
< 201- 2002-04-21 0 DailySet1-005 1
< 201- 2002-04-20 0 DailySet1-003 1
< 201- 2002-04-20 0 DailySet1-004 1
< 200 Dump history for config "Daily" host "morpheus" disk "/home/dtrusty"
>QUIT
Removing index file:
/var/adm/amanda/DailySet1/index/morpheus/_home_dtrusty/20020421_0
< 200 Good bye.
amindexd: pid 4941 finish time Sun Apr 21 10:00:41 2002
amtrmidx.20020421095328.debug
=============================
amtrmidx: debug 1 pid 4934 ruid 101 euid 101 start time Sun Apr 21 09:53:28
2002
/usr/local/libexec/amtrmidx: version 2.4.2p2
Keeping 21 index files
morpheus /home/dtrusty
amtrmidx: pid 4934 finish time Sun Apr 21 09:53:28 2002
amtrmlog.20020421095328.debug
=============================
amtrmlog: debug 1 pid 4933 ruid 101 euid 101 start time Sun Apr 21 09:53:28
2002
/usr/local/libexec/amtrmlog: version 2.4.2p2
Keeping 40 log files
amtrmlog: pid 4933 finish time Sun Apr 21 09:53:28 2002
sendbackup.20020421094951.debug
===============================
sendbackup: debug 1 pid 4904 ruid 101 euid 101 start time Sun Apr 21
09:49:51 2002
/usr/local/libexec/sendbackup: version 2.4.2p2
sendbackup: got input request: GNUTAR /home/dtrusty 0 1970:1:1:0:0:0 OPTIONS
|;bsd-auth;index;exclude-list=/usr/local/lib/amanda
/exclude.gtar;
parsed request as: program `GNUTAR'
disk `/home/dtrusty'
lev 0
since 1970:1:1:0:0:0
opt
`|;bsd-auth;index;exclude-list=/usr/local/lib/amanda/exclude.gtar;'
sendbackup: exclude list file "/usr/local/lib/amanda/exclude.gtar" does not
exist, ignoring
sendbackup: try_socksize: send buffer size is 65536
sendbackup: stream_server: waiting for connection: 0.0.0.0.63106
sendbackup: stream_server: waiting for connection: 0.0.0.0.63107
sendbackup: stream_server: waiting for connection: 0.0.0.0.63108
waiting for connect on 63106, then 63107, then 63108
sendbackup: stream_accept: connection from 129.112.42.3.63109
sendbackup: stream_accept: connection from 129.112.42.3.63110
sendbackup: stream_accept: connection from 129.112.42.3.63111
got all connections
sendbackup-gnutar: doing level 0 dump as listed-incremental to
/var/adm/amanda/gnutar-lists/morpheus_home_dtrusty_0.new
sendbackup-gnutar: doing level 0 dump from date: 1970-01-01 0:00:00 GMT
sendbackup: spawning /usr/local/libexec/runtar in pipeline
sendbackup: argument list: gtar --create --file - --directory /home/dtrusty
--one-file-system --listed-incremental /var/adm/aman
da/gnutar-lists/morpheus_home_dtrusty_0.new --sparse --ignore-failed-read
--totals .
sendbackup: started index creator: "/usr/local/bin/tar -tf - 2>/dev/null |
sed -e 's/^\.//'"
sendbackup-gnutar: /usr/local/libexec/runtar: pid 4908
sendbackup: index created successfully
sendbackup: pid 4904 finish time Sun Apr 21 09:51:52 2002
amandad.20020421094951.debug
============================
amandad: debug 1 pid 4903 ruid 101 euid 101 start time Sun Apr 21 09:49:51
2002
amandad: version 2.4.2p2
amandad: build: VERSION="Amanda-2.4.2p2"
amandad: BUILT_DATE="Sat Apr 20 22:11:31 CDT 2002"
amandad: BUILT_MACH="HP-UX morpheus B.11.11 U 9000/785 2016569939
unlimited-user license"
amandad: CC="cc"
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad: libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad: AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad: CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/dsk/"
amandad: RDEV_PREFIX="/dev/rdsk/" DUMP="/usr/sbin/dump"
amandad: RESTORE="/sbin/restore" VXDUMP="/sbin/vxdump"
amandad: VXRESTORE="/sbin/vxrestore" GNUTAR="/usr/local/bin/tar"
amandad: COMPRESS_PATH="/usr/contrib/bin/gzip"
amandad: UNCOMPRESS_PATH="/usr/contrib/bin/gzip"
amandad: MAILER="/usr/bin/mailx"
amandad: listed_incr_dir="/var/adm/amanda/gnutar-lists"
amandad: defs: DEFAULT_SERVER="morpheus" DEFAULT_CONFIG="DailySet1"
amandad: DEFAULT_TAPE_SERVER="morpheus"
amandad: DEFAULT_TAPE_DEVICE="/dev/null" HAVE_SYSVSHM
amandad: LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad: AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
amandad: CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
amandad: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
got packet:
--------
Amanda 2.4 REQ HANDLE 000-40027EF0 SEQ 1019400487
SECURITY USER amanda
SERVICE sendbackup
OPTIONS hostname=morpheus;
GNUTAR /home/dtrusty 0 1970:1:1:0:0:0 OPTIONS
|;bsd-auth;index;exclude-list=/usr/local/lib/amanda/exclude.gtar;
--------
sending ack:
----
Amanda 2.4 ACK HANDLE 000-40027EF0 SEQ 1019400487
----
bsd security: remote host morpheus.swmed.edu user amanda local user amanda
amandahosts security check passed
amandad: running service "/usr/local/libexec/sendbackup"
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-40027EF0 SEQ 1019400487
CONNECT DATA 63106 MESG 63107 INDEX 63108
OPTIONS ;bsd-auth;index;
----
amandad: got packet:
----
Amanda 2.4 ACK HANDLE 000-40027EF0 SEQ 1019400487
----
amandad: pid 4903 finish time Sun Apr 21 09:49:51 2002
runtar.20020421094951.debug
===========================
runtar: debug 1 pid 4908 ruid 101 euid 0 start time Sun Apr 21 09:49:51 2002
gtar: version 2.4.2p2
running: /usr/local/bin/tar: gtar --create --file - --directory
/home/dtrusty --one-file-system --listed-incremental /var/adm/am
anda/gnutar-lists/morpheus_home_dtrusty_0.new --sparse --ignore-failed-read
--totals .
runtar.20020421094808.debug
===========================
runtar: debug 1 pid 4511 ruid 101 euid 0 start time Sun Apr 21 09:48:08 2002
/usr/local/bin/tar: version 2.4.2p2
running: /usr/local/bin/tar: /usr/local/bin/tar --create --file /dev/null
--directory /home/dtrusty --one-file-system --listed-i
ncremental /var/adm/amanda/gnutar-lists/morpheus_home_dtrusty_0.new --sparse
--ignore-failed-read --totals .
sendsize.20020421094808.debug
=============================
sendsize: debug 1 pid 4504 ruid 101 euid 101 start time Sun Apr 21 09:48:08
2002
/usr/local/libexec/sendsize: version 2.4.2p2
calculating for amname '/home/dtrusty', dirname '/home/dtrusty'
sendsize: getting size via gnutar for /home/dtrusty level 0
sendsize: missing exclude list file "/usr/local/lib/amanda/exclude.gtar"
discarded
sendsize: spawning /usr/local/libexec/runtar in pipeline
sendsize: argument list: /usr/local/bin/tar --create --file /dev/null
--directory /home/dtrusty --one-file-system --listed-incre
mental /var/adm/amanda/gnutar-lists/morpheus_home_dtrusty_0.new --sparse
--ignore-failed-read --totals .
Total bytes written: 471552000
.....
sendsize: pid 4504 finish time Sun Apr 21 09:48:08 2002
amandad.20020421094808.debug
============================
amandad: debug 1 pid 4501 ruid 101 euid 101 start time Sun Apr 21 09:48:08
2002
amandad: version 2.4.2p2
amandad: build: VERSION="Amanda-2.4.2p2"
amandad: BUILT_DATE="Sat Apr 20 22:11:31 CDT 2002"
amandad: BUILT_MACH="HP-UX morpheus B.11.11 U 9000/785 2016569939
unlimited-user license"
amandad: CC="cc"
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad: libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad: AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad: CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/dsk/"
amandad: RDEV_PREFIX="/dev/rdsk/" DUMP="/usr/sbin/dump"
amandad: RESTORE="/sbin/restore" VXDUMP="/sbin/vxdump"
amandad: VXRESTORE="/sbin/vxrestore" GNUTAR="/usr/local/bin/tar"
amandad: COMPRESS_PATH="/usr/contrib/bin/gzip"
amandad: UNCOMPRESS_PATH="/usr/contrib/bin/gzip"
amandad: MAILER="/usr/bin/mailx"
amandad: listed_incr_dir="/var/adm/amanda/gnutar-lists"
amandad: defs: DEFAULT_SERVER="morpheus" DEFAULT_CONFIG="DailySet1"
amandad: DEFAULT_TAPE_SERVER="morpheus"
amandad: DEFAULT_TAPE_DEVICE="/dev/null" HAVE_SYSVSHM
amandad: LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad: AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
amandad: CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
amandad: COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad: COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
got packet:
--------
Amanda 2.4 REQ HANDLE 000-4001F118 SEQ 1019400487
SECURITY USER amanda
SERVICE sendsize
OPTIONS maxdumps=1;hostname=morpheus;
GNUTAR /home/dtrusty 0 1970:1:1:0:0:0 -1
exclude-list=/usr/local/lib/amanda/exclude.gtar
--------
sending ack:
----
Amanda 2.4 ACK HANDLE 000-4001F118 SEQ 1019400487
----
bsd security: remote host morpheus.swmed.edu user amanda local user amanda
amandahosts security check passed
amandad: running service "/usr/local/libexec/sendsize"
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-4001F118 SEQ 1019400487
OPTIONS maxdumps=1;
/home/dtrusty 0 SIZE 460500
----
amandad: got packet:
----
Amanda 2.4 ACK HANDLE 000-4001F118 SEQ 1019400487
----
amandad: pid 4501 finish time Sun Apr 21 09:48:08 2002
>From: Joshua Baker-LePain <[EMAIL PROTECTED]>
>To: David Trusty <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: Why does amrecover not show all the files?
>Date: Sun, 21 Apr 2002 15:35:18 -0400 (EDT)
>
>On Sun, 21 Apr 2002 at 5:23am, David Trusty wrote
>
> > I've been trying to test Amanda, doing a dump and recovery of
> > a local directory (user-tar is the dump type).
> >
> > I can do an amrestore and I see that the entire directory
> > has been written to tape.
> >
> > However, when I try to do an amrecover, I only get two
> > subdirectories in the list (ls subcommand). There appears
> > to be nothing special about the files listed (they are not
> > the oldest, nor the newest, nor do they have different permissions
> > than any of the other ones).
> >
> > I am running 2.4.2p2 on hpux 11.11.
>
>What version of GNUtar are you using? The exact command amanda is using
>for tar is contained in your /tmp/amanda/amandad*debug files.
>
>Also, what do your index files look like?
>
>--
>Joshua Baker-LePain
>Department of Biomedical Engineering
>Duke University
>
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com