Re: software compression disabled?

2000-12-06 Thread Christoph Scheeder

Hi,
this gzip processes are compressing the indizes, not the data.
Christoph 

Olaf Seidel schrieb:
 
 Hi,
 
 now I run my first tests, Amanda backing up all the servers. I've
 used the two dumptypes "nocomp-user" and "nocomp-root" (I
 changed nothing in these dumptypes) with no compression. When
 I watch the processes on the Amanda-Server, there are processes
 "/bin/gzip --best" owned by the Amanda-User. Where do they
 come from? Aren't the dumptypes without software compression?
 
 A big thanks in advance...
 
 Greetings
 Olaf



restore to empty harddisk

2000-12-06 Thread Olaf Seidel

Hi,

sorry, if this is a little bit off-topic. I'd like to know a good strategy 
to restore from an amanda backup to an empty harddisk. Will the 
following strategy work?

1. Boot from rescue disk
2. Make partitions with fdisk (Do the partitions have to have the 
same size like they had before (on the crashed disk) or is it only 
important, that the data from the backup tape fit onto the new disk?)
3. mkfs
4. Install Amanda
5. amrestore

Thank you... :-)

Greetings
Olaf




amanda cron job doesn't start?

2000-12-06 Thread Rainer Hofmann

Hi,

any explanations why that cron job for user amanda doesn't even start:

PATH=/sbin:/bin:/usr/bin:/home/amanda/bin:/usr/local/sbin 

0 18 * * 1-5 amcheck merten  amdump merten 


I want to run backups at 6.00 pm on Mo-Fr as user amanda.

settings in etc/passwd are as follows:

amanda:x:501:6:Amanda Backup User:/home/amanda:/bin/bash

I'm using joe as editor instead of vi.

crond is up and running, since other cronjobs of root are executed.
I'm using Linux RedHat 6.2. Is there any general setting who is
allowed to run cron jobs at all?

Thanks
Rainer
-- 
Chemisches Labor Dr. Merten GmbH
Röderstr. 8-10
79104 Freiburg
Tel: 0761 29648-0



Hotbackup with

2000-12-06 Thread Mirko Schlottke

Hi there!

We're doing a hot backup of our CMS-Server and I sometimes 
get a 'file changed as we read it: No such file or directory' error.
Is there a way to do a tar hotbackup anyway without shutting down the
service accessing this file ? 

Thanks...

-- Mirko




Re: amanda cron job doesn't start?

2000-12-06 Thread Roshan Rogge


Hi,

i think you must give the full path of the programs like: 0 18 * * 1-5
/usr/local/sbin/amcheck merten

and make two entries one with amdump and another for amcheck. look for a mail
from crontab, there must be the error

Also viel spass noch/Good luck

Roshan



Amanda and Macs

2000-12-06 Thread Christian Lox

Hello everyone!

I am a bit confused about the usage of Amanda together with Macs.
The archive say, it should work, but backupcentral.com/amanda says,
there is no support for Macs.
What is right and how to get it work?

Thanks in advance,

Christian

P.S. I posted the output of tapetype to the Faq-o-matic (I hate this
thing!), which seems to be a mistake!
I post it again here. May someone correct my posting there?
--
I just run tapetype on a HP COLORADO 2.5/5GB. Somewhat old and
boring piece of hardware but maybe it helps someone. Hope I did
it ok, cause I am really new to amanda!
devel2:/test/home/lox/amanda-2.4.2/tape-src # ./tapetype -t 'HP
COLORADO 2.5/5' -f /dev/nst0 
wrote 78807 32Kb blocks in 241 files in 4902 seconds
(short write) wrote 70253 32Kb blocks in 431 files in 4674 seconds 
(short write) define tapetype HP COLORADO 2.5/5 { 

  comment "just produced by tapetype program"
  length 2801 mbytes
  filemark 1440 kbytes
  speed 497 kps

  } 
devel2:/test/home/lox/amanda-2.4.2/tape-src #



Re: amanda cron job doesn't start?

2000-12-06 Thread Chris Karakas

Rainer Hofmann wrote:
 
 Hi,
 
 any explanations why that cron job for user amanda doesn't even start:
 
 PATH=/sbin:/bin:/usr/bin:/home/amanda/bin:/usr/local/sbin
 
 0 18 * * 1-5 amcheck merten  amdump merten
 

My first guess is that "amcheck merten" gives an error (the command
after  will be executed only if the previous one gave no error). I
suggest you run it by hand first and see what happens. Did cron send
mail with the errors?

Further: Is this the general crontab, or the crontab of the amanda user?
Who is allowed to run amdump? I mean, the way you have set things up, is
amdump ran as root? If so, you should change it, doing 'su amanda -c
"amdump merten"' (if you use the general crontab, or root's). For more
details on cron: man cron, man crontab.

 I'm using joe as editor instead of vi.
 

This is totally irrelevant - are you superstitious? :-)

-- 
Regards

Chris Karakas
Dont waste your cpu time - crack rc5: http://www.distributed.net



Re: Amanda and Macs

2000-12-06 Thread Johannes Niess

Christian Lox [EMAIL PROTECTED] writes:

 Hello everyone!
 
 I am a bit confused about the usage of Amanda together with Macs.
 The archive say, it should work, but backupcentral.com/amanda says,
 there is no support for Macs.
 What is right and how to get it work?

Christian,

I'll assume that you'r talking about MacOS. The hardware should be
supported with amanda for BSD or Linux.

Amanda has no direct support of Mac's protocols of file sharing. I'd
import your data to a Linux box via netatalk, and use the Linux amanda
client for backups.

A different aproach might be mimiking SMB shares directly on the
Mac. There is software out there (Dave?).

Johannes Nieß



Re: EXB-8900 tapetype, please

2000-12-06 Thread Patrick LIN

Tony Ross a écrit :
 
 Greetings;
 
 Does anyone have the tapetype definiton for the Exabyte 8900 drive?
 
 We are using a Mammoth-LT and 125m tapes in an Exabyte EZ-17 autoloader; nothing was 
found in the online archives.
 
 Thanks,
 
  tony
 
 
 --== Sent via Deja.com http://www.deja.com/ ==--
 Before you buy.

tape type definition:

define tapetype AME_225_SmartClean {
 comment "just produced by tapetype program"
 length 52006 mbytes
 filemark 1245 kbytes
 speed 11051 kbytes
 }


patrick



Amanda question

2000-12-06 Thread Sandra Panesso

Hi everybody:

could anybody tell me if amanda can backup a HFS+  hard drive?

thanks
Sandra




scsi-changer-driver.c

2000-12-06 Thread F.M. Taylor


I started out with:

# START DecodeSense
GenericSenseHandler : Sense Keys
ErrorCode 00
Valid 0
ASC   46
ASCQ  00
Sense key 00
No Sense
GenericSenseHandler : Unknow 0 ASC = 46 ASCQ = 0
 STOP SenseHandler
chg-scsi: requested drive number (0) greater than number of supported
drives (-1)

So I called the vendor and they said it is a non-error (errcode 0) error,
and to ignore it.  So I changed GenericSenseHandler() to return SENSE_NO
for "Unknow", and that problem went away.  

Now when I run chg-scsi -info, it returns 4 numbers.

I know I still am going to have some more "tuning" to do.  But, it seems
to be working.  It is pulling out each tape, looking for a label, and
putting it back, guess I should label them next, and see what happens ;)

After my C skills mature a little (I just learned it last night) I will
finish customizing scsi-changer-driver.c for the SpectraLogic and send the
diff to whoever wants it.

---
Mike Taylor
Coordinator of Systems Administration and Network Security
Indiana State University.   Rankin Hall Rm 039
210 N 7th St.   Terre Haute, IN.
Voice: 812-237-8843  47809
---
"You have zero privacy anyway.  Get over it."
   --Scott McNealy, Sun MicroSystems. 







estimates failing

2000-12-06 Thread George Kelbley

Suddenly one (and only one) of my clients is failing, and only on the
file systems that use tar.  Amanda reports that /bin/tar returned 2. 
Since tar is working on this machine I am perplexed.  Amanda never gets
the estimate.  This just happened in last 2 days with no changes being
made so we're pretty confused.  The server and client and both running
debain linux 2.1 and amanda-2.4.1p11.
-- 
George Kelbley  System Support Group
Computer Science Department University of New Mexico
505-277-6502Fax: 505-277-6927



Re: can not connect

2000-12-06 Thread Alexandre Oliva

On Dec  6, 2000, "richard" [EMAIL PROTECTED] wrote:

   Thanks for your guide. Here is result for the RPM package in RH7.0.

Which RPM packages did you install?  AFAIK, it is amanda-client that
will get you `amandad' and the corresponding xinetd file.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: restore to empty harddisk

2000-12-06 Thread Alexandre Oliva

On Dec  6, 2000, "Olaf Seidel" [EMAIL PROTECTED] wrote:

 4. Install Amanda
 5. amrestore

Even though you *can* install Amanda for crash-recovery, if you wish,
you don't *need* to do it, and that's one of the beauties of Amanda.
Read docs/RESTORE for details on crash-recovery mechanisms.  It only
covers DUMP-based restores, but GNUTAR-based ones are even easier (as
long as you can drive `tar', which you also need for an
amrestore-based recovery anyway :-)

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: Amanda and Macs

2000-12-06 Thread Alexandre Oliva

On Dec  6, 2000, Christian Lox [EMAIL PROTECTED] wrote:

 I am a bit confused about the usage of Amanda together with Macs.

It works with MacOS X (but people have reported it as *slooow* :-), or
if you manage to get an NFS or SMB server running on old MacOSs and
back them up remotely.

 May someone correct my posting there?

You're supposed to be able to do it yourself.  That's the point of
FAQ-O-Matic :-)

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: Amanda question

2000-12-06 Thread Alexandre Oliva

On Dec  6, 2000, Sandra Panesso [EMAIL PROTECTED] wrote:

 could anybody tell me if amanda can backup a HFS+  hard drive?

Can GNU tar tar it up?  If it can, then Amanda can certainly use GNU
tar to back it up.

If there's some special dump program to back it up, it shouldn't be
too hard to get Amanda to use it either.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: estimates failing

2000-12-06 Thread Jean-Louis Martineau

On Wed, Dec 06, 2000 at 10:24:56AM -0700, George Kelbley wrote:
 Suddenly one (and only one) of my clients is failing, and only on the
 file systems that use tar.  Amanda reports that /bin/tar returned 2. 
 Since tar is working on this machine I am perplexed.  Amanda never gets
 the estimate.  This just happened in last 2 days with no changes being
 made so we're pretty confused.  The server and client and both running
 debain linux 2.1 and amanda-2.4.1p11.

There is a known bug in all version of gnutar.

Upgrade to tar-1.13.18 available at
ftp://alpha.gnu.org/pub/gnu/tar/tar-1.13.18.tar.gz
with the patch from http://www.amanda.org/patches.html.

Jean-Louis
-- 
Jean-Louis Martineau email: [EMAIL PROTECTED] 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7Fax: (514) 343-5834



RE: Amanda 2.4.2 and HP-UX 11.00

2000-12-06 Thread Terry Rossi

 On Dec  6, 2000, "Terry Rossi" [EMAIL PROTECTED] wrote:
 
  Did `make all' create common-src/libamanda.la?
 
  Yes it did.
 
 And how about common-src/.libs/libamanda.lai?
 

Yes it did.  





Re: Amanda 2.4.2 and HP-UX 11.00

2000-12-06 Thread Alexandre Oliva

On Dec  6, 2000, "Terry Rossi" [EMAIL PROTECTED] wrote:

 On Dec  6, 2000, "Terry Rossi" [EMAIL PROTECTED] wrote:
 
  Did `make all' create common-src/libamanda.la?
 
  Yes it did.
 
 And how about common-src/.libs/libamanda.lai?

 Yes it did.  

And then `make install' complained about its non-existence?  Odd...

Maybe it's something odd about `/usr/sbin/install'?  

 find: cannot stat /usr/local/lib/libamanda.la

This line looks extremely suspicious.

Try `make INSTALL=/path/to/amanda-src/config/install-sh' (install-sh
is a shell-script that comes in the Amanda source tree)

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me



Re: software compression disabled?

2000-12-06 Thread Josh Huston

amdump is using gzip to compress the index files if you had your dumptype
with index on.  It is not compressing the actual dump files.

Josh

Olaf Seidel wrote:
 
 Hi,
 
 now I run my first tests, Amanda backing up all the servers. I've
 used the two dumptypes "nocomp-user" and "nocomp-root" (I
 changed nothing in these dumptypes) with no compression. When
 I watch the processes on the Amanda-Server, there are processes
 "/bin/gzip --best" owned by the Amanda-User. Where do they
 come from? Aren't the dumptypes without software compression?
 
 A big thanks in advance...
 
 Greetings
 Olaf



Re: Hotbackup with

2000-12-06 Thread John R. Jackson

We're doing a hot backup of our CMS-Server and I sometimes 
get a 'file changed as we read it: No such file or directory' error.
Is there a way to do a tar hotbackup anyway without shutting down the
service accessing this file ? 

How about making a copy of the file(s) to a temp area (possibly with
tools that guarantee they are in a known good state -- I don't know what
CMS-Server is) and then backing that up rather than the live file(s)?

-- Mirko

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: restore to empty harddisk

2000-12-06 Thread John R. Jackson

sorry, if this is a little bit off-topic.  ...

As other have said, this is very much on-topic.

I'd like to know a good strategy 
to restore from an amanda backup to an empty harddisk.  ...

The only thing I'd add to what you listed and others have expounded upon
is that you need to know what tapes have the backup images you'll need
and, if you do not have amrestore, what file on the tape.

There are various ways to do this (and I'm sure some I haven't thought
of):

  * rdist/rsync the Amanda configuration information (including the
curinfo database) to some other machine or removable medium after
each run.  This is what I do and has the added advantage of being
able to easily recover the Amanda state for use during the recovery
and have it correct for the next run.

  * Use one of the lbl-templ tapetype definitions to print a hard copy
output of each tape after each run.

  * Use amtoc after amdump/amflush run and put the output someplace
safe (another machine, removable medium, hard copy).

Olaf

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Oracle Backup Strategies

2000-12-06 Thread Tuthill, Ed

To those who have been waiting on my Oracle backup perl script,
I just wanted to let you know I haven't forgotten about you.
My supervisor insisted on bringing our legal department into
the loop since the script was created on Sprint's dime.  I'm
pushing to get this declared freely distributable so that I
can share it here.  

FWIW, it's been running for about a week now, and has been
doing fairly well, although I'm still tweaking.

-Ed

Edward Tuthill
NTAC Engineer, Sprint PCS NTAC-West
W: 949.225.2920
M: 310.663.9726



RE: Oracle Backup Strategies

2000-12-06 Thread Martin Brown


I'm a client of sprint, can you send it to me? ;)

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tuthill, Ed
Sent: Wednesday, December 06, 2000 11:13 AM
To: '[EMAIL PROTECTED]'
Subject: Oracle Backup Strategies


To those who have been waiting on my Oracle backup perl script,
I just wanted to let you know I haven't forgotten about you.
My supervisor insisted on bringing our legal department into
the loop since the script was created on Sprint's dime.  I'm
pushing to get this declared freely distributable so that I
can share it here.  

FWIW, it's been running for about a week now, and has been
doing fairly well, although I'm still tweaking.

-Ed

Edward Tuthill
NTAC Engineer, Sprint PCS NTAC-West
W: 949.225.2920
M: 310.663.9726



Re: selfcheck fails (incorrectly) on 2.4.1p1

2000-12-06 Thread John R. Jackson

... Why can't the selfcheck/amcheck
run as setuid root as well? Can I switch it to setuid root?

No, don't do that.  It will completely defeat the tests.

I'll see if I can get a patch together for you to try.

Edwin

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



No Subject

2000-12-06 Thread Rolf Olsen



unsubscribe [EMAIL PROTECTED]


Re: amanda cron job doesn't start?

2000-12-06 Thread Eric Wadsworth

Just a thought, you modified the contab using the command 'crontab -e'
right? Otherwise it won't actually install the change.

On 6 Dec 2000, Rainer Hofmann wrote:

 Hi,
 
 any explanations why that cron job for user amanda doesn't even start:
 
 PATH=/sbin:/bin:/usr/bin:/home/amanda/bin:/usr/local/sbin 
 
 0 18 * * 1-5 amcheck merten  amdump merten 
 
 
 I want to run backups at 6.00 pm on Mo-Fr as user amanda.
 
 settings in etc/passwd are as follows:
 
 amanda:x:501:6:Amanda Backup User:/home/amanda:/bin/bash
 
 I'm using joe as editor instead of vi.
 
 crond is up and running, since other cronjobs of root are executed.
 I'm using Linux RedHat 6.2. Is there any general setting who is
 allowed to run cron jobs at all?
 
 Thanks
 Rainer
 -- 
 Chemisches Labor Dr. Merten GmbH
 Röderstr. 8-10
 79104 Freiburg
 Tel: 0761 29648-0
 
 




Re: software compression disabled?

2000-12-06 Thread Dietmar Goldbeck

On Wed, Dec 06, 2000 at 07:59:51AM +0100, Olaf Seidel wrote:
 Hi,
 
 now I run my first tests, Amanda backing up all the servers. I've 
 used the two dumptypes "nocomp-user" and "nocomp-root" (I 
 changed nothing in these dumptypes) with no compression. When 
 I watch the processes on the Amanda-Server, there are processes 
 "/bin/gzip --best" owned by the Amanda-User. Where do they 
 come from? Aren't the dumptypes without software compression?
 

This is normal, if you turned on indexing. Amanda
runs somethinglike

tar -tf | gzip --best  indexdir/host/filesystem/date.gz
or 
restore -t | gzip --best  indexdir/host/filesystem/date.gz

in parallel to putting the stream on tape.
tar tf is run on the client and the gzip on the backup server.

If you have dumptypes with compression, you will find gzip processes
on the client. (except you use compress server, see amanda(8))

 Ciao
   Dietmar

-- 
 Alles Gute / best wishesphone:  +49-521-96751-19
 Dietmar GoldbeckE-Mail: [EMAIL PROTECTED]
The Internet is not a network of computers. It is a network
of people. That is its real strength.



Antwort: Re: Antwort: Re: missing file header

2000-12-06 Thread Roshan Rogge


It's looking like that tape is bad.  Does this happen on all your tapes
or just this one?  If it's all the tapes, I'd start worrying about the drive
or controller.

Can the error appear through a bad termination of the scsi bus???

Here's another sequence to try:

  $ mt -f /dev/nst0 rewind
  $ mt -f /dev/nst0 fsf 1
  $ dd if=/dev/nst0 bs=32k count=1  /tmp/block.0
  $ ls -l /tmp/block.0
  $ head -4  /tmp/block.0

The result of this command is: AMANDA: TAPEEND DATE X it is a 32k file

  $ mt -f /dev/nst0 rewind
  $ mt -f /dev/nst0 fsf 1
  $ dd if=/dev/nst0 bs=32k of=/dev/null

The result of this command is only: 1 + 0 records in
1 + 0 records out

If this problem is happening on all your tapes, I'd mount a scratch tape,
create a file of a few MBytes that is a multiple of 32 KBytes then do
several dd's with bs=32k to the tape without repositioning in between,
i.e. so the tape ends up with several files on it.  Then rewind the tape
and read the files back in to see if you get back what you wrote.

The problem happens on all tapes i use.

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

best regards

roshan