Re: root-tar failing

2002-03-09 Thread Jenn Sturm

Thanks!

It looks like my problem was that I didn't get that the exclude file 
needed to reside on the client. Once I fixed that it worked like a 
charm!

-Jenn

The users.. and usrs directories are backed up as filesystems so that's
why they are excluded here.   I'm not sure whether this is sufficient,
but it definitely took care of my problems.  Remember though that the
exclude file needs to reside on the client that's being backed up.  I.e.
you can have a different exclude file for each client.  Amanda will look
for the exclude file in the directory specified in the dumptype - on the
client.

Jan


--


   Jan Boshoff
   PhD Student, Chemical Engineering
   Univ. of Delaware, DE USA
   www.che.udel.edu/research_groups/nanomodeling



-- 





.---.
|Jennifer Sturm |
|System Administrator and Research Support Specialist   |
|Chemistry Department   |
|Hamilton College   |
|   |
|[EMAIL PROTECTED]|
|315-859-4745   |
|www.chem.hamilton.edu  |
.---.
|Duct tape is like the force. It has a light side, |
| and a dark side, and it holds the universe together. |
|   -Carl Zwanzig   |
|   |
|   |
|One only needs two tools in life: WD-40 to make things|
| go, and duct tape to make them stop. |
|   -G. Weilacher   |
.---.



root-tar failing

2002-03-08 Thread Jenn Sturm


-- 
I've configured my Linux box to backup my Irix box using tar, as 
recommended on this list. It works great for everything but the root 
paritition. I've tried dumptype comp-root-tar and root-tar, and it 
continues to fail. I tried creating an exclude.gtar file, and that 
doesn't seem to be helping any.

Here's the contents of the exclude.gtar file.  Does the hostname of 
the Irix box need to be in there?


./dev/fd
./tmp
./var/spool




Here's the log from the failed backup:


FAILED AND STRANGE DUMP DETAILS:

/-- olympus/dev/root lev 1 FAILED [/usr/local/bin/tar returned 2]
sendbackup: start [olympus:/dev/root level 1]
sendbackup: info BACKUP=/usr/local/bin/tar
sendbackup: info RECOVER_CMD=/usr/local/bin/tar -f... -
sendbackup: info end
? gtar: ./dev/fd: Cannot savedir: Function not implemented
? gtar: ./dev/fd: Warning: Cannot savedir: Function not implemented
| gtar: ./tmp/.eventmond.cmd.sock: socket ignored
| gtar: ./tmp/.eventmond.events.sock: socket ignored
| gtar: ./tmp/.eventmond.info.sock: socket ignored
| gtar: ./tmp/.mediad_socket: socket ignored
| gtar: ./tmp/.mkpd_socket: socket ignored
| gtar: ./tmp/.rtmond_socket: socket ignored
| gtar: ./tmp/espdb.sock: socket ignored
? gtar: ./var/spool/PBS/mom_priv/jobs/90.olympus..JB: Warning: Cannot 
stat: No such file or directory
? gtar: ./var/spool/PBS/mom_priv/jobs/90.olympus..SC: Warning: Cannot 
stat: No such file or directory
? gtar: ./var/spool/PBS/mom_priv/jobs/90.olympus..TK/01: 
Warning: Cannot stat: No such file or directory
? gtar: ./var/spool/PBS/server_priv/jobs/90.olympus..JB: Warning: 
Cannot stat: No such file or directory
? gtar: ./var/spool/PBS/server_priv/jobs/90.olympus..SC: Warning: 
Cannot stat: No such file or directory
? gtar: ./var/spool/PBS/spool/90.olympus..OU: Warning: Cannot stat: 
No such file or directory
| gtar: ./var/spool/lp/CMDSOCK: socket ignored
| gtar: ./var/spool/postfix/private/bounce: socket ignored
| gtar: ./var/spool/postfix/private/bsmtp: socket ignored
| gtar: ./var/spool/postfix/private/cyrus: socket ignored
| gtar: ./var/spool/postfix/private/defer: socket ignored
| gtar: ./var/spool/postfix/private/error: socket ignored
| gtar: ./var/spool/postfix/private/ifmail: socket ignored
| gtar: ./var/spool/postfix/private/lmtp: socket ignored
| gtar: ./var/spool/postfix/private/local: socket ignored
| gtar: ./var/spool/postfix/private/rewrite: socket ignored
| gtar: ./var/spool/postfix/private/smtp: socket ignored
| gtar: ./var/spool/postfix/private/uucp: socket ignored
| gtar: ./var/spool/postfix/private/virtual: socket ignored
| gtar: ./var/spool/postfix/public/cleanup: socket ignored
| gtar: ./var/spool/postfix/public/flush: socket ignored
| gtar: ./var/spool/postfix/public/showq: socket ignored
| Total bytes written: 3114987520 (2.9GB, 752kB/s)
? gtar: Error exit delayed from previous errors
sendbackup: error [/usr/local/bin/tar returned 2]
\




.---.
|Jennifer Sturm |
|System Administrator and Research Support Specialist   |
|Chemistry Department   |
|Hamilton College   |
|   |
|[EMAIL PROTECTED]|
|315-859-4745   |
|www.chem.hamilton.edu  |
.---.
|Duct tape is like the force. It has a light side, |
| and a dark side, and it holds the universe together. |
|   -Carl Zwanzig   |
|   |
|   |
|One only needs two tools in life: WD-40 to make things|
| go, and duct tape to make them stop. |
|   -G. Weilacher   |
.---.



Re: root-tar failing

2002-03-08 Thread Dan Wilder

On Fri, Mar 08, 2002 at 01:02:11PM -0500, Jenn Sturm wrote:
 
 -- 
 I've configured my Linux box to backup my Irix box using tar, as 
 recommended on this list. It works great for everything but the root 
 paritition. I've tried dumptype comp-root-tar and root-tar, and it 
 continues to fail. I tried creating an exclude.gtar file, and that 
 doesn't seem to be helping any.
 
 Here's the contents of the exclude.gtar file.  Does the hostname of 
 the Irix box need to be in there?
 
 
 ./dev/fd
 ./tmp
 ./var/spool

Ignore the socket ignored messages.  I can't imagine you'd 
care to archive those.  Also ignore the no such file or directory 
stuff.  That's saying some file was present when the backup
was scheduled, which vanished before it could be saved.  You
probably don't care.

Somebody else can probably offer better advice on exclude.gtar.
I got mine to where I wanted it a long time ago, and have
attempted to forget about that traumatic ordeal, since.


 
 
 
 
 Here's the log from the failed backup:
 
 
 FAILED AND STRANGE DUMP DETAILS:
 
 /-- olympus/dev/root lev 1 FAILED [/usr/local/bin/tar returned 2]
 sendbackup: start [olympus:/dev/root level 1]
 sendbackup: info BACKUP=/usr/local/bin/tar
 sendbackup: info RECOVER_CMD=/usr/local/bin/tar -f... -
 sendbackup: info end
 ? gtar: ./dev/fd: Cannot savedir: Function not implemented
 ? gtar: ./dev/fd: Warning: Cannot savedir: Function not implemented
 | gtar: ./tmp/.eventmond.cmd.sock: socket ignored
 | gtar: ./tmp/.eventmond.events.sock: socket ignored
 | gtar: ./tmp/.eventmond.info.sock: socket ignored
 | gtar: ./tmp/.mediad_socket: socket ignored
 | gtar: ./tmp/.mkpd_socket: socket ignored
 | gtar: ./tmp/.rtmond_socket: socket ignored
 | gtar: ./tmp/espdb.sock: socket ignored
 ? gtar: ./var/spool/PBS/mom_priv/jobs/90.olympus..JB: Warning: Cannot 
 stat: No such file or directory
 ? gtar: ./var/spool/PBS/mom_priv/jobs/90.olympus..SC: Warning: Cannot 
 stat: No such file or directory
 ? gtar: ./var/spool/PBS/mom_priv/jobs/90.olympus..TK/01: 
 Warning: Cannot stat: No such file or directory
 ? gtar: ./var/spool/PBS/server_priv/jobs/90.olympus..JB: Warning: 
 Cannot stat: No such file or directory
 ? gtar: ./var/spool/PBS/server_priv/jobs/90.olympus..SC: Warning: 
 Cannot stat: No such file or directory
 ? gtar: ./var/spool/PBS/spool/90.olympus..OU: Warning: Cannot stat: 
 No such file or directory
 | gtar: ./var/spool/lp/CMDSOCK: socket ignored
 | gtar: ./var/spool/postfix/private/bounce: socket ignored
 | gtar: ./var/spool/postfix/private/bsmtp: socket ignored
 | gtar: ./var/spool/postfix/private/cyrus: socket ignored
 | gtar: ./var/spool/postfix/private/defer: socket ignored
 | gtar: ./var/spool/postfix/private/error: socket ignored
 | gtar: ./var/spool/postfix/private/ifmail: socket ignored
 | gtar: ./var/spool/postfix/private/lmtp: socket ignored
 | gtar: ./var/spool/postfix/private/local: socket ignored
 | gtar: ./var/spool/postfix/private/rewrite: socket ignored
 | gtar: ./var/spool/postfix/private/smtp: socket ignored
 | gtar: ./var/spool/postfix/private/uucp: socket ignored
 | gtar: ./var/spool/postfix/private/virtual: socket ignored
 | gtar: ./var/spool/postfix/public/cleanup: socket ignored
 | gtar: ./var/spool/postfix/public/flush: socket ignored
 | gtar: ./var/spool/postfix/public/showq: socket ignored
 | Total bytes written: 3114987520 (2.9GB, 752kB/s)
 ? gtar: Error exit delayed from previous errors
 sendbackup: error [/usr/local/bin/tar returned 2]
 \
 
 
 
 
 .---.
 |Jennifer Sturm |
 |System Administrator and Research Support Specialist   |
 |Chemistry Department   |
 |Hamilton College   |
 |   |
 |[EMAIL PROTECTED]|
 |315-859-4745   |
 |www.chem.hamilton.edu  |
 .---.
 |Duct tape is like the force. It has a light side, |
 | and a dark side, and it holds the universe together. |
 |   -Carl Zwanzig   |
 |   |
 |   |
 |One only needs two tools in life: WD-40 to make things|
 | go, and duct tape to make them stop. |
 |   -G. Weilacher   |
 .---.
 

-- 
-
 Dan Wilder [EMAIL PROTECTED]   Technical Manager  Editor
 SSC, Inc. P.O. Box 55549   Phone:  206-782-8808
 Seattle, WA  98155-0549URL http://embedded.linuxjournal.com/
-



Re: root-tar failing

2002-03-08 Thread Jan Boshoff

Jenn Sturm wrote:

 --
 I've configured my Linux box to backup my Irix box using tar, as
 recommended on this list. It works great for everything but the root
 paritition. I've tried dumptype comp-root-tar and root-tar, and it
 continues to fail. I tried creating an exclude.gtar file, and that
 doesn't seem to be helping any.

 Here's the contents of the exclude.gtar file.  Does the hostname of
 the Irix box need to be in there?

 ./dev/fd
 ./tmp
 ./var/spool

I was experiencing the exact same problems backing up my Irix box.  My
exclude file looks as follows:

CDROM
CIFS
Desktop
users
users2
scratch
tmp
dev
usrs

The users.. and usrs directories are backed up as filesystems so that's
why they are excluded here.   I'm not sure whether this is sufficient,
but it definitely took care of my problems.  Remember though that the
exclude file needs to reside on the client that's being backed up.  I.e.
you can have a different exclude file for each client.  Amanda will look
for the exclude file in the directory specified in the dumptype - on the
client.

Jan


--


  Jan Boshoff
  PhD Student, Chemical Engineering
  Univ. of Delaware, DE USA
  www.che.udel.edu/research_groups/nanomodeling







Re: root-tar failing

2002-03-08 Thread Frank Smith

Look in /tmp/amanda for runtar.*.debug file(s). In the debug file is the
command line used to invoke tar, look for  --exclude-from and make sure
that the path and filename specified are as expected.
   If not, verify that your dumptype in amanda.conf includes
exclude list exclude.gtar

Good luck,
Frank



--On Friday, March 08, 2002 13:02:11 -0500 Jenn Sturm [EMAIL PROTECTED] wrote:


 --
 I've configured my Linux box to backup my Irix box using tar, as recommended on this 
list. It works great for everything but the root paritition. I've tried dumptype 
comp-root-tar and root-tar, and it continues to fail. I tried creating an
 exclude.gtar file, and that doesn't seem to be helping any.

 Here's the contents of the exclude.gtar file.  Does the hostname of the Irix box 
need to be in there?


 ./dev/fd
 ./tmp
 ./var/spool




 Here's the log from the failed backup:


 FAILED AND STRANGE DUMP DETAILS:

 /-- olympus/dev/root lev 1 FAILED [/usr/local/bin/tar returned 2]
 sendbackup: start [olympus:/dev/root level 1]
 sendbackup: info BACKUP=/usr/local/bin/tar
 sendbackup: info RECOVER_CMD=/usr/local/bin/tar -f... -
 sendbackup: info end
 ? gtar: ./dev/fd: Cannot savedir: Function not implemented
 ? gtar: ./dev/fd: Warning: Cannot savedir: Function not implemented
| gtar: ./tmp/.eventmond.cmd.sock: socket ignored
| gtar: ./tmp/.eventmond.events.sock: socket ignored
| gtar: ./tmp/.eventmond.info.sock: socket ignored
| gtar: ./tmp/.mediad_socket: socket ignored
| gtar: ./tmp/.mkpd_socket: socket ignored
| gtar: ./tmp/.rtmond_socket: socket ignored
| gtar: ./tmp/espdb.sock: socket ignored
 ? gtar: ./var/spool/PBS/mom_priv/jobs/90.olympus..JB: Warning: Cannot stat: No such 
file or directory
 ? gtar: ./var/spool/PBS/mom_priv/jobs/90.olympus..SC: Warning: Cannot stat: No such 
file or directory
 ? gtar: ./var/spool/PBS/mom_priv/jobs/90.olympus..TK/01: Warning: Cannot 
stat: No such file or directory
 ? gtar: ./var/spool/PBS/server_priv/jobs/90.olympus..JB: Warning: Cannot stat: No 
such file or directory
 ? gtar: ./var/spool/PBS/server_priv/jobs/90.olympus..SC: Warning: Cannot stat: No 
such file or directory
 ? gtar: ./var/spool/PBS/spool/90.olympus..OU: Warning: Cannot stat: No such file or 
directory
| gtar: ./var/spool/lp/CMDSOCK: socket ignored
| gtar: ./var/spool/postfix/private/bounce: socket ignored
| gtar: ./var/spool/postfix/private/bsmtp: socket ignored
| gtar: ./var/spool/postfix/private/cyrus: socket ignored
| gtar: ./var/spool/postfix/private/defer: socket ignored
| gtar: ./var/spool/postfix/private/error: socket ignored
| gtar: ./var/spool/postfix/private/ifmail: socket ignored
| gtar: ./var/spool/postfix/private/lmtp: socket ignored
| gtar: ./var/spool/postfix/private/local: socket ignored
| gtar: ./var/spool/postfix/private/rewrite: socket ignored
| gtar: ./var/spool/postfix/private/smtp: socket ignored
| gtar: ./var/spool/postfix/private/uucp: socket ignored
| gtar: ./var/spool/postfix/private/virtual: socket ignored
| gtar: ./var/spool/postfix/public/cleanup: socket ignored
| gtar: ./var/spool/postfix/public/flush: socket ignored
| gtar: ./var/spool/postfix/public/showq: socket ignored
| Total bytes written: 3114987520 (2.9GB, 752kB/s)
 ? gtar: Error exit delayed from previous errors
 sendbackup: error [/usr/local/bin/tar returned 2]
 \




 .---.
| Jennifer Sturm |
| System Administrator and Research Support Specialist   |
| Chemistry Department   |
| Hamilton College   |
|   |
| [EMAIL PROTECTED]|
| 315-859-4745   |
| www.chem.hamilton.edu  |
 .---.
| Duct tape is like the force. It has a light side, |
| and a dark side, and it holds the universe together. |
|   -Carl Zwanzig   |
|   |
|   |
| One only needs two tools in life: WD-40 to make things|
| go, and duct tape to make them stop. |
|   -G. Weilacher   |
 .---.



--
Frank Smith[EMAIL PROTECTED]
Systems Administrator Voice: 512-374-4673
Hoover's Online Fax: 512-374-4501



Re: root-tar failing

2002-03-08 Thread Doug Silver

On Fri, 8 Mar 2002, Dan Wilder wrote:

 On Fri, Mar 08, 2002 at 01:02:11PM -0500, Jenn Sturm wrote:
  
  -- 
  I've configured my Linux box to backup my Irix box using tar, as 
  recommended on this list. It works great for everything but the root 
  paritition. I've tried dumptype comp-root-tar and root-tar, and it 
  continues to fail. I tried creating an exclude.gtar file, and that 
  doesn't seem to be helping any.
  
  Here's the contents of the exclude.gtar file.  Does the hostname of 
  the Irix box need to be in there?
  
  
  ./dev/fd
  ./tmp
  ./var/spool
 
 Ignore the socket ignored messages.  I can't imagine you'd 
 care to archive those.  Also ignore the no such file or directory 
 stuff.  That's saying some file was present when the backup
 was scheduled, which vanished before it could be saved.  You
 probably don't care.
 
 Somebody else can probably offer better advice on exclude.gtar.
 I got mine to where I wanted it a long time ago, and have
 attempted to forget about that traumatic ordeal, since.
 
 

I think you need to wildcard the directories like so:

./tmp/*
./var/spool/*

etc

-- 
~
Doug Silver
Network Manager
Quantified Systems, Inc
~