selfcheck fails (incorrectly) on 2.4.1p1

2000-12-06 Thread Edwin Chiu

Hi,

amcheck fails incorrectly when using amanda 2.4.1p1 and GNUTAR.

Scenario:

Have a directory:
 drwxr-xr--  oracle   dba 4096 Jul 20 04:49 u03

Amanada is not part of the "dba" group. And amcheck says this:

Amanda Backup Client Hosts Check

ERROR: oracle: [can not access /u03/orabackup (/u03/orabackup):
Permission denied]

But, runtar runs fine... probably because it's setuid-root. Why can't
the selfcheck/amcheck
run as setuid root as well? Can I switch it to setuid root?

Regards,
Edwin




Re: sendsize.debug: Only level 0 dumps are allowed on a subdirectory..

2000-12-01 Thread Edwin Chiu

> > running /software/amanda/libexec/killpgrp
> > Only level 0 dumps are allowed on a subdirectory
>   
>
> That's your problem.  From the looks of things, /software is *not* its own
> partition, and dump can only do incrementals of partitions.  You'll have
> to either
>
> a) repartition to put /software in its own partition (ick), or
> b) tell amanda to use tar to back up /software.

Why is it that dump 0.4b15 allows dumps of directories that are not it's own
partitions?
Are those dumps still good?

Edwin






Re: sendsize.debug: Only level 0 dumps are allowed on a subdirectory..

2000-12-01 Thread Edwin Chiu

It's a problem with dump.
Somewhere between version 0.4b15 and 0.4b19, dump no longer allowed
level 1-9 dumps on a subdirectory, or the use of the '-u' flag.
Not sure what the problem was with level 1 and higher dumps with
subdirectories... checked CVS, but the comments weren't very useful...

I've downgraded to dump 0.4b15 and that should fix the problem...

Edwin


Edwin Chiu wrote:

> Hi,
>
> Level 1 dumps are failing on one of my hosts and I don't know why.
>
> Amanda Mail report says:
>
> merlin/software lev 1 FAILED [no estimate or historical data]
> ...
>
> And sendsize.debug on merlin has this:
>
> sendsize: getting size via dump for /softare level 1
> sendsize running "/software/amanda/libexec/rundump (/sbin/dump) lsf
> 1048576 - /software"
> running /software/amanda/libexec/killpgrp
> Only level 0 dumps are allowed on a subdirectory
> .
> (no size line match in above dump output)
> .
> asking killpgrp to terminate
>
> My other hosts seem to be fine... merlin has a slightly newer dump:
> 0.14b19, everyone else is running 0.14b15
>
> Edwin




sendsize.debug: Only level 0 dumps are allowed on a subdirectory..

2000-12-01 Thread Edwin Chiu

Hi,

Level 1 dumps are failing on one of my hosts and I don't know why.

Amanda Mail report says:

merlin/software lev 1 FAILED [no estimate or historical data]
...

And sendsize.debug on merlin has this:

sendsize: getting size via dump for /softare level 1
sendsize running "/software/amanda/libexec/rundump (/sbin/dump) lsf
1048576 - /software"
running /software/amanda/libexec/killpgrp
Only level 0 dumps are allowed on a subdirectory
.
(no size line match in above dump output)
.
asking killpgrp to terminate


My other hosts seem to be fine... merlin has a slightly newer dump:
0.14b19, everyone else is running 0.14b15

Edwin




Reset history/data for a particular host

2000-11-29 Thread Edwin Chiu

Hi,

One of my hosts, "merlin" is not being backed up constantly as
amanda/planner complains about no estimate or historical data for a
planned level 1 dump, when a level 0 dump was done just the other day...

So, I suspect the database for that host is subtlely corrupted and I
want to reset it somehow. Any pointers?

Note this behaviour continues even after I force a full dump of all the
directories for that host. It seems only certain directories are
consistently failing...

Edwin




Forcing full dump of one directory, makes level 1 dumps fail (on same host)

2000-11-23 Thread Edwin Chiu

Hi,

Whenever I force a full dump of one directory on host 'A' the level 1
dumps for the same host will fail.

e.g. Level 0 dumps on Host A were all done sunday, one of them failed.

I forced a level 0 dump of /home on Tuesday and now all the other dumps
for Host A fail... e.g. /etc,/var,/u01,...

Using Amanda 2.4.1p1

Regards,
Edwin


begin:vcard 
n:Chiu;Edwin
tel;fax:(416) 260-9620
tel;work:(416) 260-9625 x247
x-mozilla-html:TRUE
org:E-wares Inc.http://www.e-wares.com/linux/dpinguin.gif">;http://www.e-wares.com">Your Partner in e-Services
version:2.1
email;internet:[EMAIL PROTECTED]
title:VP Future Technology
adr;quoted-printable:;;439 Wellington Street West=0D=0ASuite #301;Toronto;Ontario;M5V 1E7;Canada
fn:Edwin Chiu
end:vcard



Here is the tapetype for sony SDT-7200

2000-11-14 Thread Edwin Chiu

Output from tapeinfo:

It's a 4mm 4GB DDS-2 DAT. No hardware compression.

define tapetype SDT-7200 {
comment "Sony DDS-2 DAT drive"
length 3820 mbytes
filemark 110 kbytes
speed 700 kbytes
}




sendbackup error with tar: 'file changed as we read it'

2000-11-09 Thread Edwin Chiu

Hi,

Is it possible to get GNU tar to ignore these errors:

e.g.

/-- host/ lev 0 FAILED [/bin/gtar retruned 2]
sendbackup: start [merlin:/ level 0]
sendbackup: info BACKUP=/bin/gtar
sendbackup: info RECOVER_CMD=/bin/gtar -f... -
sendbackup: info end
? gtar: /var/log/slapd.log: file changed as we read it: Invalid argument

| Total bytes written: 4019077120
? gtar: Error exit delayed from previous errors
sendbackup: error [/bin/gtar returned 2]
\

Regards,
Edwin




version 2.4.2 where to get?

2000-11-04 Thread Edwin Chiu

Where can I get 2.4.2?
How stable is it?

If it's in CVS can someone tell me how to check it out?

Thanks,
Edwin