tape backup vs hdd backup

2005-02-22 Thread ddaasd
Hi,
I am new to this list.
I work in a company as admin where AMANDA is implemented as a BackUp 
System, so this list is exactly what I was looking for.

Also I am new to Amanda. I've never configured amanda from scratch. Here 
in the firm, the former admin has configured amanda and now I have it 
working.
Last days a colleague asked me why are we using tape backup which is 
more complicated and why do we not use an external 250 GB USB/Firewire HDD.
I didn't know exactly what to say.

I know all companies have tape backup, but which are the real reasons 
for that. Why not to use an external 300 GB USB HDD?

What do you think?
All the best,
ddaas




Re: tape backup vs hdd backup

2005-02-22 Thread Jason Miller
Well I know at least for my application the tape backup solution is being
used for redundancy and save on cost. If a tape goes bad I have 6 more that
are available to me which rotate on a daily basis automatically using a auto
changer. If the hard drive was to fail on you then you would loose all of
the data and have to start from scratch. Most companies also do offsite
storage of tapes as well but I guess you can technically do both of these
with the the external HDD but the automation process and expense would be
greater. So I would say that its a matter of preference/expense
requirements. Here is a picture of my setup which works great for me...

*Windows box's back up to a 250Gig HDD on the local Amanada server over the
network using samba.
*Amanda backs up the local partition
*Linux boxes backup directly using the amanda client


This way I do not have to restore my windows backups from tape unless I need
more the the last days of data. Helps save time for me at least.



Jason


> From: ddaasd <[EMAIL PROTECTED]>
> Date: Tue, 22 Feb 2005 09:00:28 +0100
> To: 
> Subject: tape backup vs hdd backup
> 
> Hi,
> I am new to this list.
> I work in a company as admin where AMANDA is implemented as a BackUp
> System, so this list is exactly what I was looking for.
> 
> Also I am new to Amanda. I've never configured amanda from scratch. Here
> in the firm, the former admin has configured amanda and now I have it
> working.
> Last days a colleague asked me why are we using tape backup which is
> more complicated and why do we not use an external 250 GB USB/Firewire HDD.
> I didn't know exactly what to say.
> 
> I know all companies have tape backup, but which are the real reasons
> for that. Why not to use an external 300 GB USB HDD?
> 
> 
> What do you think?
> 
> 
> All the best,
> ddaas
> 
> 
> 
> 



Problems restoring files with amrecover on my backup client!

2005-02-22 Thread Thomas Løjmann Jørgensen








Hi list,

 

I have a small problem when I want to restore from
my DLT tape.

When doing the backup I
don’t see any errors (only one warning: driver:
WARNING: ignoring holding disk /space: No such file or directory)

 

When trying to restore
a file I got this:

 

amrecover> extract

 

Extracting files using
tape drive /dev/nst0 on host npdev.

The following tapes are
needed: NP_TEST-00

 

Restoring files into
directory /home/samba/Users

Continue [?/Y/n]? Y

 

Extracting files using
tape drive /dev/nst0 on host npdev.

Load tape NP_TEST-00
now

Continue [?/Y/n/s/t]?

EOF, check
amidxtaped..debug file on npdev.

amrecover: short block
0 bytes

UNKNOWN file

amrecover: Can't read
file header

extract_list - child
returned non-zero status: 1

Continue [?/Y/n/r]?

 

I rely can’t
figure out what is wrong!

 

My disklist contain
this line:

gandalf
/home/samba/Users/_rod comp-user-tar

 

org "My TEST"

mailto "tlj"

dumpuser
"backup"

 

inparallel 4

netusage  600

 

dumpcycle 1 days

tapecycle 5 tapes

 

bumpsize 20 MB

bumpdays 1

bumpmult 4

 

tapedev
"/dev/nst0"

 

tapetype DLTNP

labelstr
"^NP_TEST-[0-9]*$"

 

diskdir
"/space"

disksize 290 MB

 

infofile
"/var/lib/amanda/TEST/curinfo"

logfile 
"/var/log/amanda/TEST/log"

 

indexdir
"/var/lib/amanda/ TEST/index"

 

 

define tapetype DLTNP {

    comment "DLT
tape drives"

    length 8
mbytes # 80 Gig tapes

    filemark 8000
kbytes    # I don't know what this means

    speed 8000 kbytes

}

 

(and then the default
dump-types in AMANDA)

 

Can anybody help me
with figure out what is wrong with my setup?

 

Kind Regards,

Thomas
 Løjmann Jørgensen








Re: tape backup vs hdd backup

2005-02-22 Thread Gene Heskett
On Tuesday 22 February 2005 03:00, ddaasd wrote:
>Hi,
>I am new to this list.
>I work in a company as admin where AMANDA is implemented as a BackUp
>System, so this list is exactly what I was looking for.
>
>Also I am new to Amanda. I've never configured amanda from scratch.
> Here in the firm, the former admin has configured amanda and now I
> have it working.
>Last days a colleague asked me why are we using tape backup which is
>more complicated and why do we not use an external 250 GB
> USB/Firewire HDD. I didn't know exactly what to say.
>
>I know all companies have tape backup, but which are the real
> reasons for that. Why not to use an external 300 GB USB HDD?

  The fact that the tape can be removed from site for secure storage, 
and even removed from the use rotation for long term storage recovery 
and archival maintainance is probably the tipping point.

  I used tapes for several years, but as a home user and almost 
retired, the cost of replacement drives when they wear out, along 
with the relative lack of dependability of the only affordable tape 
format, DDS2, finally tipped me over to useing a 180GB partition on a 
seperate 200GB drive for my home useage.  On that drive is /var, 
swap, and /amandatapes.  /var is on a seperate drive here so I have a 
log if the main drive suddenly goes read-only.  Its probably a kernel 
bug, and was, but its happened here.  I run bleeding edge kernels 
most of the time, 2.6.11-rc4-RT-V0.7.39-02 ATM.

  And while the life of that drive may well be limited, I do expect 
2-5 years service out of it since its mostly spinning 24/7/365 with a 
powerdown maybe once a month because something I did crashed or I'm 
changing hardware around, and that also exceeds the demonstrated life 
of a much more expensive DDS2 tape changer that I still had to fool 
with 2x weekly reloading the tape magazine.

  So far in about 6 months usage (that knocking sound you hear?  Me, 
knocking on wood :) the only glitches have been setup and wrapper 
script glitches because my scripts also save the index and 
configuration data, appended to each "tape", so that a totally bare 
metal recovery can be made to a freshly installed drive should the 
main 120GB drive fail.

  After about 6 months amanda has finally come into 'balance', and the 
last 3 tapecycles have been hands off except for picking up the 
report from the printers output tray the next morning and stacking it 
on that pile of paper, and the occasional removal of the expired 
reports from that stack.  I haven't figured out a way to make them 
self-destruct yet :)

  And thats my $0.02 take on it.  If I could afford tape, I would use 
it, but at a cost well exceeding that big hd's cost a year for drives 
and tape, its out of reach of a SS recipients budget.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


Re: tape backup vs hdd backup

2005-02-22 Thread Gene Heskett
On Tuesday 22 February 2005 06:18, Jason Miller wrote:
>Well I know at least for my application the tape backup solution is
> being used for redundancy and save on cost. If a tape goes bad I
> have 6 more that are available to me which rotate on a daily basis
> automatically using a auto changer. If the hard drive was to fail
> on you then you would loose all of the data and have to start from
> scratch. Most companies also do offsite storage of tapes as well
> but I guess you can technically do both of these with the the
> external HDD but the automation process and expense would be
> greater. So I would say that its a matter of preference/expense
> requirements. Here is a picture of my setup which works great for
> me...
>
>*Windows box's back up to a 250Gig HDD on the local Amanada server
> over the network using samba.

rsync is better for that.  Much less bandwidth per run.

>*Amanda backs up the local partition
>*Linux boxes backup directly using the amanda client
>
>
>This way I do not have to restore my windows backups from tape
> unless I need more the the last days of data. Helps save time for
> me at least.
>
>
>
>Jason
>
>> From: ddaasd <[EMAIL PROTECTED]>
>> Date: Tue, 22 Feb 2005 09:00:28 +0100
>> To: 
>> Subject: tape backup vs hdd backup
>>
>> Hi,
>> I am new to this list.
>> I work in a company as admin where AMANDA is implemented as a
>> BackUp System, so this list is exactly what I was looking for.
>>
>> Also I am new to Amanda. I've never configured amanda from
>> scratch. Here in the firm, the former admin has configured amanda
>> and now I have it working.
>> Last days a colleague asked me why are we using tape backup which
>> is more complicated and why do we not use an external 250 GB
>> USB/Firewire HDD. I didn't know exactly what to say.
>>
>> I know all companies have tape backup, but which are the real
>> reasons for that. Why not to use an external 300 GB USB HDD?
>>
>>
>> What do you think?
>>
>>
>> All the best,
>> ddaas

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


Re: Problems restoring files with amrecover on my backup client!

2005-02-22 Thread Gene Heskett
On Tuesday 22 February 2005 06:52, Thomas Løjmann Jørgensen wrote:
>Hi list,
>
>
>
>I have a small problem when I want to restore from my DLT tape.
>
>When doing the backup I don't see any errors (only one warning:
> driver: WARNING: ignoring holding disk /space: No such file or
> directory)
>
>
>
>When trying to restore a file I got this:
>
>
>
>amrecover> extract
>
>
>
>Extracting files using tape drive /dev/nst0 on host npdev.
>
>The following tapes are needed: NP_TEST-00
>
>
>
>Restoring files into directory /home/samba/Users
>
>Continue [?/Y/n]? Y
>
>
>
>Extracting files using tape drive /dev/nst0 on host npdev.
>
>Load tape NP_TEST-00 now
>
>Continue [?/Y/n/s/t]?
>
>EOF, check amidxtaped..debug file on npdev.
>
>amrecover: short block 0 bytes
>
>UNKNOWN file
>
>amrecover: Can't read file header
>
>extract_list - child returned non-zero status: 1
>
>Continue [?/Y/n/r]?
>
>I rely can't figure out what is wrong!

You did rewind the tape didn't you?

>My disklist contain this line:
>
>gandalf /home/samba/Users/_rod comp-user-tar

Oh oh, samba.  Because of missing time fields in a samba (windows 
filesystems) access, it will get essentially a level 0 full backup 
every night.

>org "My TEST"
>
>mailto "tlj"
>
>dumpuser "backup"
>
>
>
>inparallel 4
>
>netusage  600
>
>
>
>dumpcycle 1 days

Why are you forcing a level 0, aka a full backup every night?

>tapecycle 5 tapes
>
>
>
>bumpsize 20 MB
>
>bumpdays 1
>
>bumpmult 4
>
>
>
>tapedev "/dev/nst0"
>
>
>
>tapetype DLTNP
>
>labelstr "^NP_TEST-[0-9]*$"
>
>
>
>diskdir "/space"
>
>disksize 290 MB

For a typical system today, you need /space to be measured in 
gigabytes, with a relative small percentage held in reserve for 
incrementals.  But with samba, you won't get incrementals even if it 
says its doing a level 4 because every file will be considered new 
every night.

>infofile "/var/lib/amanda/TEST/curinfo"
>
>logfile  "/var/log/amanda/TEST/log"
>
>
>
>indexdir "/var/lib/amanda/ TEST/index"
>
>
>
>
>
>define tapetype DLTNP {
>
>comment "DLT tape drives"
>
>length 8 mbytes # 80 Gig tapes
>
>filemark 8000 kbytes# I don't know what this means
Thats how much space is used between files on that drive.  It probably 
doesn't use that much, 32k would be typical, but thats what the math 
spits out.

>speed 8000 kbytes
This isn't used by amanda
>
>}
>
>
>
>(and then the default dump-types in AMANDA)
>
>
>
>Can anybody help me with figure out what is wrong with my setup?
>
See above comments.
>
>Kind Regards,
>
>Thomas Løjmann Jørgensen

-- 
Cheers Thomas, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


Re: tape backup vs hdd backup

2005-02-22 Thread Geert Uytterhoeven
On Tue, 22 Feb 2005, Gene Heskett wrote:
>   And while the life of that drive may well be limited, I do expect 
> 2-5 years service out of it since its mostly spinning 24/7/365 with a 
> powerdown maybe once a month because something I did crashed or I'm 
> changing hardware around, and that also exceeds the demonstrated life 
> of a much more expensive DDS2 tape changer that I still had to fool 
> with 2x weekly reloading the tape magazine.

Let's hope your (single) backup disk doesn't die together with your other
machines when something goes wrong with the power...

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: tape backup vs hdd backup

2005-02-22 Thread Gene Heskett
On Tuesday 22 February 2005 08:16, Geert Uytterhoeven wrote:
>On Tue, 22 Feb 2005, Gene Heskett wrote:
>>   And while the life of that drive may well be limited, I do
>> expect 2-5 years service out of it since its mostly spinning
>> 24/7/365 with a powerdown maybe once a month because something I
>> did crashed or I'm changing hardware around, and that also exceeds
>> the demonstrated life of a much more expensive DDS2 tape changer
>> that I still had to fool with 2x weekly reloading the tape
>> magazine.
>
>Let's hope your (single) backup disk doesn't die together with your
> other machines when something goes wrong with the power...
>
>Gr{oetje,eeting}s,
>
>  Geert

Chuckle...  While its possible Geert, there is a 1500kva, about 80 lb, 
ups in the system.  For obvious reasons, it sits on the floor.  If it 
dies, everything is gone but the telephone and overhead lights, it 
all runs on one wall plug with a 500j surge arrestor thats even tied 
into the phone lines.  I've had no more surge related problems since 
rigging it all out of one wall plug that I pulled and made sure 
everything was tight in before I started.  (actually, I pulled them 
all, looking for the real feedline from the breakers)   The operative 
theory is that when lightning walks about, this whole room bounces in 
unison & there aren't any other pseudo grounds to mess it up. This 
house was built by a contractor who studied at the Hercules School of 
(powder house) construction, where more than 1 nail per board is 
frowned on.  And in 1974 when this was built, West Virginia hadn't 
yet imposed any electrical codes that had any great resemblance to 
the NEC, so I've been trying to bring things up to speed, supplanting 
a 60 amp rated pushmatic main breaker box with a 200 so I could get 
power to a workshop just a year ago.  *Most* of this place would pass 
a 1998 inspection now I think.  At least thats the date on my copy of 
the NEC.  And fortunately, its all copper.  After having alu start a 
fire a couple of times, when I find that stuff, it comes out if I 
have to pull it out with my pickup.  That would be messy, but 
considering the alternative might be a box for my charred remains, 
worth the effort.

The only thing that ruins the single point reference is the cat5 
strung all over the place, with one piece even strung overhead across 
the back yard to the workshop building, and at the instant, one to 
the basement where the box I'm going to run my micro-mill with is 
sitting on the pool table while I intermittently work on a driver for 
the I/O card I'm using.  Right now I'm waiting on a box from Herbach 
& Rademan with some different stepper motors for that project, the 
ones I first bought are too slow, and a bit puny.

-- 
Cheers Geert, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


SV: Problems restoring files with amrecover on my backup client!

2005-02-22 Thread Thomas Løjmann Jørgensen
How do I rewind the tape?

I would like to make a full backup every day of my system/samba shares (other 
linux boxes)

/Thomas

-Oprindelig meddelelse-
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne af Gene Heskett
Sendt: 22. februar 2005 13:59
Til: amanda-users@amanda.org
Emne: Re: Problems restoring files with amrecover on my backup client!

On Tuesday 22 February 2005 06:52, Thomas Løjmann Jørgensen wrote:
>Hi list,
>
>
>
>I have a small problem when I want to restore from my DLT tape.
>
>When doing the backup I don't see any errors (only one warning:
> driver: WARNING: ignoring holding disk /space: No such file or
> directory)
>
>
>
>When trying to restore a file I got this:
>
>
>
>amrecover> extract
>
>
>
>Extracting files using tape drive /dev/nst0 on host npdev.
>
>The following tapes are needed: NP_TEST-00
>
>
>
>Restoring files into directory /home/samba/Users
>
>Continue [?/Y/n]? Y
>
>
>
>Extracting files using tape drive /dev/nst0 on host npdev.
>
>Load tape NP_TEST-00 now
>
>Continue [?/Y/n/s/t]?
>
>EOF, check amidxtaped..debug file on npdev.
>
>amrecover: short block 0 bytes
>
>UNKNOWN file
>
>amrecover: Can't read file header
>
>extract_list - child returned non-zero status: 1
>
>Continue [?/Y/n/r]?
>
>I rely can't figure out what is wrong!

You did rewind the tape didn't you?

>My disklist contain this line:
>
>gandalf /home/samba/Users/_rod comp-user-tar

Oh oh, samba.  Because of missing time fields in a samba (windows 
filesystems) access, it will get essentially a level 0 full backup 
every night.

>org "My TEST"
>
>mailto "tlj"
>
>dumpuser "backup"
>
>
>
>inparallel 4
>
>netusage  600
>
>
>
>dumpcycle 1 days

Why are you forcing a level 0, aka a full backup every night?

>tapecycle 5 tapes
>
>
>
>bumpsize 20 MB
>
>bumpdays 1
>
>bumpmult 4
>
>
>
>tapedev "/dev/nst0"
>
>
>
>tapetype DLTNP
>
>labelstr "^NP_TEST-[0-9]*$"
>
>
>
>diskdir "/space"
>
>disksize 290 MB

For a typical system today, you need /space to be measured in 
gigabytes, with a relative small percentage held in reserve for 
incrementals.  But with samba, you won't get incrementals even if it 
says its doing a level 4 because every file will be considered new 
every night.

>infofile "/var/lib/amanda/TEST/curinfo"
>
>logfile  "/var/log/amanda/TEST/log"
>
>
>
>indexdir "/var/lib/amanda/ TEST/index"
>
>
>
>
>
>define tapetype DLTNP {
>
>comment "DLT tape drives"
>
>length 8 mbytes # 80 Gig tapes
>
>filemark 8000 kbytes# I don't know what this means
Thats how much space is used between files on that drive.  It probably 
doesn't use that much, 32k would be typical, but thats what the math 
spits out.

>speed 8000 kbytes
This isn't used by amanda
>
>}
>
>
>
>(and then the default dump-types in AMANDA)
>
>
>
>Can anybody help me with figure out what is wrong with my setup?
>
See above comments.
>
>Kind Regards,
>
>Thomas Løjmann Jørgensen




stuck with amrecover

2005-02-22 Thread ddaasd
Hi list,
I am stuck with amrecover.
I want to recover data from my tapes.
On the backed up client (the host from the disklist file) I run amrestore.
I get the following error message:
AMRECOVER Version 2.4.4p1. Contacting server on localhost ...
amrecover: cannot connect to localhost: Connection refused
I also tried #amrecover -C myconfig -s IP_OF_THE_BACKUP_SERVER
I receive the same message.
How can I restore my backups? What do I do wrong?
ddaas


Re: SV: Problems restoring files with amrecover on my backup client!

2005-02-22 Thread Paul Bijnens
Thomas Løjmann Jørgensen wrote:
How do I rewind the tape?
I used a pencil: find a hexagonal pencil, stick it in the left
whole, and now carefully rewind the tape by turning the pencil around.
When you get used to it, you can rewind a 125m tape in less than a day.
If you happen to use virtual tapes, then you need a virtual hexagonal
pencil.  Rewinding virtually does not take as much time, luckily.
There are devices where you put in the tape, and that device rewinds
the tape automatically. (I'm still amazed how small the pencils are
they use inside.)  Such devices do work on Linux too, and you have to
issue silly werds like: "who am i", or "mt -t /dev/st0 rewind".
Restoring with amrecover can be slow when needing to skip over all
the junk in the beginning of the tape, so I used to position the
tape just before the image to extract.  For that you need to "fast
skip forward" the tape.  With a pencil I could fast-skip-forward a
tape in less than 6 hours.  But I'm a veteran.  Practice helps here.
Another option is to tell Amanda to rewind the tape and to fast-skip-
forward the tape.  Amanda also needs silly commands like,
"vi amanda.conf", "", "", "o",
"amrecover_do_fsf yes", "ZZ".  And that ZZ means you can now sleep
a little while Amanda does all the heavy rewinding and forward again.
Being good in rewinding and fast-skip-forward, I'm not as good in
verifying if I am doing this with the correct tape.  That's why Amanda
checks that too.  The only language Amanda understands are again
very cryptic, but that's how life is with Amanda: I always start with
"vi amanda.conf", "kkko",
"amrecover_check_label yes", "ZZ".
Now, people say that all these words are explained in the man.   But,
Amanda being a woman, I tried to be polite and say "woman amanda",
but I'm completely ignored and get yelled at "command not found".
I gues that's what you got in reply too, isn't it?  Never mind.
Amanda still keeps doing her job as told.
--
Paul Bijnens, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***



amandahostsauth failed

2005-02-22 Thread ddaasd
The problem was amandaidx from xinetd.
Now the error message looks like:
(root)#amrecover -C myconfig -s 192.168.0.2
AMRECOVER Version 2.4.4p1. Contacting server on 192.168.0.2 ...
220 backup AMANDA index server (2.4.4p2) ready.
500 Access not allowed: [access as amanda not allowed from [EMAIL PROTECTED] 
amandahostsauth failed


:(
<>Hi list,
<>I am stuck with amrecover.
<>I want to recover data from my tapes.
<>On the backed up client (the host from the disklist file) I run amrestore.
<>I get the following error message:
<>
<>AMRECOVER Version 2.4.4p1. Contacting server on localhost ...
<>amrecover: cannot connect to localhost: Connection refused
<>
<>I also tried #amrecover -C myconfig -s IP_OF_THE_BACKUP_SERVER
<>
<>I receive the same message.
<>
<>How can I restore my backups? What do I do wrong?
<>
<>
<>ddaas



RE: amandahostsauth failed

2005-02-22 Thread Scheuerman, James
I ran into the same problem.  I believe the answer was in Amanda FAQ @
http://www.amanda.org/docs/faq.html


Jim Scheuerman


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ddaasd
Sent: Tuesday, February 22, 2005 11:18 AM
To: amanda-users@amanda.org
Subject: amandahostsauth failed

The problem was amandaidx from xinetd.

Now the error message looks like:
(root)#amrecover -C myconfig -s 192.168.0.2
AMRECOVER Version 2.4.4p1. Contacting server on 192.168.0.2 ...
220 backup AMANDA index server (2.4.4p2) ready.
500 Access not allowed: [access as amanda not allowed from [EMAIL PROTECTED] 
amandahostsauth failed




:(

<>Hi list,
<>I am stuck with amrecover.
<>I want to recover data from my tapes.
<>On the backed up client (the host from the disklist file) I run
amrestore.
<>I get the following error message:
<>
<>AMRECOVER Version 2.4.4p1. Contacting server on localhost ...
<>amrecover: cannot connect to localhost: Connection refused
<>
<>I also tried #amrecover -C myconfig -s IP_OF_THE_BACKUP_SERVER
<>
<>I receive the same message.
<>
<>How can I restore my backups? What do I do wrong?
<>
<>
<>ddaas






RE: amandahostsauth failed

2005-02-22 Thread Scheuerman, James
Sorry wrong URL.  It was http://www.amanda.org/docs/topten.html



I ran into the same problem.  I believe the answer was in Amanda FAQ @
http://www.amanda.org/docs/faq.html


Jim Scheuerman


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ddaasd
Sent: Tuesday, February 22, 2005 11:18 AM
To: amanda-users@amanda.org
Subject: amandahostsauth failed

The problem was amandaidx from xinetd.

Now the error message looks like:
(root)#amrecover -C myconfig -s 192.168.0.2
AMRECOVER Version 2.4.4p1. Contacting server on 192.168.0.2 ...
220 backup AMANDA index server (2.4.4p2) ready.
500 Access not allowed: [access as amanda not allowed from [EMAIL PROTECTED] 
amandahostsauth failed




:(

<>Hi list,
<>I am stuck with amrecover.
<>I want to recover data from my tapes.
<>On the backed up client (the host from the disklist file) I run
amrestore.
<>I get the following error message:
<>
<>AMRECOVER Version 2.4.4p1. Contacting server on localhost ...
<>amrecover: cannot connect to localhost: Connection refused
<>
<>I also tried #amrecover -C myconfig -s IP_OF_THE_BACKUP_SERVER
<>
<>I receive the same message.
<>
<>How can I restore my backups? What do I do wrong?
<>
<>
<>ddaas






[Fwd: Re: amandahostsauth failed]

2005-02-22 Thread ddaasd
thanks,
That solved the problem.

ddaas


ddaasd wrote:
500 Access not allowed: [access as amanda not allowed from [EMAIL PROTECTED] 
amandahostsauth failed
You need to add the line
server  root
to the file ~amanda/.amandahosts .
Alex
--
Alexander Jolk  * BUF Compagnie * [EMAIL PROTECTED]
Tel +33-1 42 68 18 28  *  Fax +33-1 42 68 18 29



Re: stuck with amrecover

2005-02-22 Thread Gene Heskett
On Tuesday 22 February 2005 10:54, ddaasd wrote:
>Hi list,
>I am stuck with amrecover.
>I want to recover data from my tapes.
>On the backed up client (the host from the disklist file) I run
> amrestore. I get the following error message:
>
>AMRECOVER Version 2.4.4p1. Contacting server on localhost ...
>amrecover: cannot connect to localhost: Connection refused
>
>I also tried #amrecover -C myconfig -s IP_OF_THE_BACKUP_SERVER
>
>I receive the same message.
>
>How can I restore my backups? What do I do wrong?
>
>
>ddaas

I think this is a good time to have you read the friendly manual, 
paying close attention to who you are when running amrecover, the 
contents of the appropriate .amandahosts file on the server, and how 
the amanda related stuff in /etc/xinetd.d is setup.  Also, if using 
hosts files, the contents of the hosts file being referenced.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


Re: SV: Problems restoring files with amrecover on my backup client!

2005-02-22 Thread Gene Heskett
On Tuesday 22 February 2005 11:05, Paul Bijnens wrote:
>Thomas Løjmann Jørgensen wrote:
>> How do I rewind the tape?

Pppttt! ROTFLMAO!  Classic.  Love it Paul.  Even yur speel chekur 
is borked.

Damn, now I've got to clean green tea out of the monitor and keyboard 
again, I should never, ever read my mail and try to drink anything at 
the same time.

>I used a pencil: find a hexagonal pencil, stick it in the left
>whole, and now carefully rewind the tape by turning the pencil
> around. When you get used to it, you can rewind a 125m tape in less
> than a day.
>
>If you happen to use virtual tapes, then you need a virtual
> hexagonal pencil.  Rewinding virtually does not take as much time,
> luckily.
>
>There are devices where you put in the tape, and that device rewinds
>the tape automatically. (I'm still amazed how small the pencils are
>they use inside.)  Such devices do work on Linux too, and you have
> to issue silly werds like: "who am i", or "mt -t /dev/st0 rewind".
>
>Restoring with amrecover can be slow when needing to skip over all
>the junk in the beginning of the tape, so I used to position the
>tape just before the image to extract.  For that you need to "fast
>skip forward" the tape.  With a pencil I could fast-skip-forward a
>tape in less than 6 hours.  But I'm a veteran.  Practice helps here.
>
>Another option is to tell Amanda to rewind the tape and to
> fast-skip- forward the tape.  Amanda also needs silly commands
> like,
>"vi amanda.conf", "", "",
> "o", "amrecover_do_fsf yes", "ZZ".  And that ZZ means you can now
> sleep a little while Amanda does all the heavy rewinding and
> forward again.
>
>Being good in rewinding and fast-skip-forward, I'm not as good in
>verifying if I am doing this with the correct tape.  That's why
> Amanda checks that too.  The only language Amanda understands are
> again very cryptic, but that's how life is with Amanda: I always
> start with "vi amanda.conf",
> "kkko",
> "amrecover_check_label yes", "ZZ".
>
>Now, people say that all these words are explained in the man.  
> But, Amanda being a woman, I tried to be polite and say "woman
> amanda", but I'm completely ignored and get yelled at "command not
> found". I gues that's what you got in reply too, isn't it?  Never
> mind. Amanda still keeps doing her job as told.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.34% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2005 by Maurice Eugene Heskett, all rights reserved.


Re: SV: Problems restoring files with amrecover on my backup client!

2005-02-22 Thread Stefan G. Weichinger
Hi, Paul,

on Dienstag, 22. Februar 2005 at 17:05 you wrote to amanda-users:

PB> Thomas Løjmann Jørgensen wrote:
>> How do I rewind the tape?

PB> I used a pencil: find a hexagonal pencil, stick it in the left
PB> whole, and now carefully rewind the tape by turning the pencil around.
PB> When you get used to it, you can rewind a 125m tape in less than a day.

PB> If you happen to use virtual tapes, then you need a virtual hexagonal
PB> pencil.  Rewinding virtually does not take as much time, luckily.

I suggest a new chapter of the docs : could be "AMANDA humor" or "How
things COULD be with AMANDA" ...

Thanks for that smile, Paul ...
-- 
best regards,
Stefan

Stefan G. Weichinger
mailto:[EMAIL PROTECTED]






Backup over 2 tapes

2005-02-22 Thread Madhvi Gokool
Hello

My weeekly backup spans two tapes  and I change tapes manually.
When I run amdump WeeklySet1, here is an excerpt of the log
DISK planner sa01 /terrasky
DISK planner sa01 /dev/md0
DISK planner sa01 /dev/md2
DISK planner sa01 /usr/local/etc/amanda
SUCCESS dumper sa01 /usr/local/etc/amanda 20050222 0 [sec 0.316 kb 115 kps
363.3 orig-kb 820]
SUCCESS taper sa01 /usr/local/etc/amanda 20050222 0 [sec 1.646 kb 160 kps
97.2 {wr: writers 5 rdwait 0.000 wrwait 0.036 filemark 1.609}]
SUCCESS dumper sa01 /dev/md2 20050222 0 [sec 36.745 kb 152650 kps 4154.2
orig-kb 152650]
SUCCESS dumper sa01 /dev/md0 20050222 0 [sec 56.615 kb 308100 kps 5441.9
orig-kb 308100]
SUCCESS taper sa01 /dev/md2 20050222 0 [sec 68.445 kb 152704 kps 2231.0 {wr:
writers 4772 rdwait 7.577 wrwait 59.433 filemark 1.305}]
SUCCESS taper sa01 /dev/md0 20050222 0 [sec 283.949 kb 308160 kps 1085.3
{wr: writers 9630 rdwait 0.320 wrwait 281.870 filemark 1.427}]
SUCCESS dumper sa01 /terrasky 20050222 0 [sec 1508.775 kb 2412431 kps 1598.9
orig-kb 7055670]
FAIL taper sa01 /terrasky 20050222 0 [out of tape]

When I insert the second tape and run amflush,
/terrasky is not being backed up ( In fact it is not even present on the
holding disk
[EMAIL PROTECTED] WeeklySet1]$ ls -ali /terrasky/amandaholdingdisk/20050222
total 7236212
1294514 drwx--2 amanda   disk 4096 Feb 23 01:23 .
  65537 drwxr-xr-x4 amanda   root 4096 Feb 23 10:16 ..
1294528 -rw---1 amanda   disk 1073741824 Feb 22 11:33
sa03._terrasky_tslibrary__gh.0
1294529 -rw---1 amanda   disk 1073741824 Feb 22 11:39
sa03._terrasky_tslibrary__gh.0.1
1294530 -rw---1 amanda   disk 1073741824 Feb 22 11:48
sa03._terrasky_tslibrary__gh.0.2
1294531 -rw---1 amanda   disk 566267831 Feb 22 11:51
sa03._terrasky_tslibrary__gh.0.3
1294526 -rw---1 amanda   disk 1073741824 Feb 22 11:10
sa03._terrasky_tslibrary__qr.0
1294518 -rw---1 amanda   disk 1073741824 Feb 22 11:16
sa03._terrasky_tslibrary__qr.0.1
1294519 -rw---1 amanda   disk 1073741824 Feb 22 11:23
sa03._terrasky_tslibrary__qr.0.2
1294527 -rw---1 amanda   disk 393890584 Feb 22 11:25
sa03._terrasky_tslibrary__qr.0.3

How can I resolve this problem as I now have an incomplete weekly backup.
Regds
Madhvi




Re: Backup over 2 tapes

2005-02-22 Thread ADFH
> My weeekly backup spans two tapes  and I change tapes manually.

My understanding was that Amanda didn't do tape spanning - if someone's
figured out a way to do this, point me to do the doco :)