Re: config issue

2007-08-23 Thread Dustin J. Mitchell
On Thu, Aug 23, 2007 at 04:22:56PM -0500, Jeanna Geier wrote:
>could not open conf file
>"/usr/local/amanda_2.5.2/etc/amanda/DailySet3/amanda.conf": No such
>file or directory
> 
>amcheck: errors processing config file
>"/usr/local/amanda_2.5.2/etc/amanda/DailySet3/amanda.conf"
>My config files are in /etc/amanda/DailySet3/, but it's looking for
>them in /usr/local/amanda_2.5.2/etc/amanda/DailySet3/ -- where is this
>being set that's it's looking for them in the wrong directory?
>Thanks in advance for your time and help!

You probably need to set --sysconfdir=/etc when you build Amanda.

Dustin

-- 
Dustin J. Mitchell
Storage Software Engineer, Zmanda, Inc.
http://www.zmanda.com/


RE: strange amrecover behavior

2007-08-23 Thread Mario Silva
Are you setting the date of your last full backup ???

Example that can help you:

AMRECOVER Version 2.5.2. Contacting server on amanda.patito.com ...
220 amanda AMANDA index server (2.5.2) ready.
Setting restore date to today (2007-08-23)
200 Working date set to 2007-08-23.
200 Config set to elmeromero.
501 Host amanda.patito.com is not in your disklist.
Trying host amanda.patito.com ...
501 Host amanda.patito.com is not in your disklist.
Trying host amanda ...
501 Host amanda is not in your disklist.
Trying host amanda.patito.com ...
501 Host amanda.patito.com is not in your disklist.
Use the sethost command to choose a host to recover
amrecover> sethost www.patito.com
200 Dump host set to www.patito.com.
amrecover> listdisk  <-- It's only to show the DLEs for
this configuration
200- List of disk for host www.patito.com
201- /data
201- /opt/informix
201- /root
201- /etc
201- /var
201- /usr/local/apache
201- /usr/local/java-apps
200 List of disk for host www.patito.com
amrecover> setdisk /data  <- choosing the DLE 
200 Disk set to /data.
amrecover> ls <- just to see the content
2007-08-22-19-00-06 traindbs as you can see the backup was
performed
2007-08-22-19-00-06 temp1dbs on Aug/22
2007-08-22-19-00-06 supdb1dbs
2007-08-22-19-00-06 rootdbs
2007-08-22-19-00-06 repdbs
2007-08-22-19-00-06 physdbs
2007-08-22-19-00-06 logdbs
2007-08-22-19-00-06 localcr
2007-08-22-19-00-06 factspartdbs
2007-08-22-19-00-06 coajam1dbs
2007-08-22-19-00-06 coadb1dbs
2007-08-22-19-00-06 cdr_err/
2007-08-22-19-00-06 .

If you want to see the history of your backups:

200- Dump history for config "elmeromero" host "www.patito.com" disk /data
201- 2007-08-22-19-00-06 1 www-Backups-1:2
201- 2007-08-21-19-00-04 1 www-Backups-5:1
201- 2007-08-20-23-26-22 1 www-Backups-4:1
201- 2007-08-20-19-00-03 0 www-Backups-3:1
200 Dump history for config "elmeromero" host "www.patito.com" disk /data

Then you must choose your date:

amrecover> setdate 2007-08-20-19-00-03
200 Working date set to 2007-08-20-19-00-03.

Hope this can help you

Mario


-- 
Mario Silva
Systems Administrator
Supreme Court of New Mexico
Judicial Information Division 
2905 Rodeo Park Dr. East, Bldg. #5 
Santa Fe, NM 87505 
Phone:  (505) 476-6959 / Mobil: (505) 660-1026
Fax:  (505) 476-6952

Website:  http://www.nmcourts.gov
mailto: [EMAIL PROTECTED]


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of George Kelbley
Sent: Thursday, August 23, 2007 1:26 PM
To: amanda-users@amanda.org
Subject: strange amrecover behavior

I am seeing a real strange thing happen when running amrecover on amanda 
2.5.1p1 installed on a debian etch server (installed from packages).

I need to completely restore all the directories in one dle, (in other 
words a full restore ) but amrecover is telling me it only needs last 
night's tape which only has an incremental, its not prompting for the 
most recent level 0 at all.  I can work around it manually, but 
amrecover has always worked "normally" for me in the past.

If anyone has any ideas . . .


-- 
George Kelbley  System Support Group
Computer Science Department University of New Mexico
505-277-6502Fax: 505-277-6927




RE: strange amrecover behavior

2007-08-23 Thread Mario Silva
Are you setting the date ???

Amrecover>setdate 

-- 
Mario Silva
Systems Administrator
Supreme Court of New Mexico
Judicial Information Division 
2905 Rodeo Park Dr. East, Bldg. #5 
Santa Fe, NM 87505 
Phone:  (505) 476-6959 / Mobil: (505) 660-1026
Fax:  (505) 476-6952

Website:  http://www.nmcourts.gov
mailto: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of George Kelbley
Sent: Thursday, August 23, 2007 1:26 PM
To: amanda-users@amanda.org
Subject: strange amrecover behavior

I am seeing a real strange thing happen when running amrecover on amanda 
2.5.1p1 installed on a debian etch server (installed from packages).

I need to completely restore all the directories in one dle, (in other 
words a full restore ) but amrecover is telling me it only needs last 
night's tape which only has an incremental, its not prompting for the 
most recent level 0 at all.  I can work around it manually, but 
amrecover has always worked "normally" for me in the past.

If anyone has any ideas . . .


-- 
George Kelbley  System Support Group
Computer Science Department University of New Mexico
505-277-6502Fax: 505-277-6927




Re: strange amrecover behavior

2007-08-23 Thread Jean-Francois Malouin
* George Kelbley <[EMAIL PROTECTED]> [20070823 15:58]:
> I am seeing a real strange thing happen when running amrecover on amanda 
> 2.5.1p1 installed on a debian etch server (installed from packages).
> 
> I need to completely restore all the directories in one dle, (in other 
> words a full restore ) but amrecover is telling me it only needs last 
> night's tape which only has an incremental, its not prompting for the 
> most recent level 0 at all.  I can work around it manually, but 
> amrecover has always worked "normally" for me in the past.
> 
> If anyone has any ideas . . .

What is 'history' telling you in the amrecover session
once you have sethost/disk/date and added the dle to 
be extracted?

Check also the output of 'amadmin config info hostname diskname'?

I always found amrestore to be more convenient to use when restoring
entire dle's...just me though.

jf

> 
> 
> -- 
> George KelbleySystem Support Group
> Computer Science Department   University of New Mexico
> 505-277-6502  Fax: 505-277-6927


strange amrecover behavior

2007-08-23 Thread George Kelbley
I am seeing a real strange thing happen when running amrecover on amanda 
2.5.1p1 installed on a debian etch server (installed from packages).


I need to completely restore all the directories in one dle, (in other 
words a full restore ) but amrecover is telling me it only needs last 
night's tape which only has an incremental, its not prompting for the 
most recent level 0 at all.  I can work around it manually, but 
amrecover has always worked "normally" for me in the past.


If anyone has any ideas . . .


--
George Kelbley  System Support Group
Computer Science Department University of New Mexico
505-277-6502Fax: 505-277-6927


Re: multiple drives, one config?

2007-08-23 Thread Paul Lussier
"Marc Muehlfeld" <[EMAIL PROTECTED]> writes:

> hi,
>
> Paul Lussier schrieb:
>> Is it possible to have amanda use both of these drives simultaneously
>> so my writing-to-tape phase goes faster?
>
> Currently you can't write simultaneously with a single configuration at
> the same time.

That's a shame.

> Chg-multi is something that may help you. But it doesn't work with
> different sized tapedrives, because there is only one tapetype
> option you can specify.
> http://wiki.zmanda.com/index.php/Changers#chg-multi_.28formerly_chg-generic.29

Different sized drives isn't an issue, both are LTO3.  I'll take a
look at this, but I'm not sure it's a good fit.

>> Alternatively, can I write the same data to both drives such that I
>> create a duplicate tape set (one to keep on site, one to send off ?).
>
> You can setup RAIT:
> http://www.amanda.org/docs/rait.html
> http://wiki.zmanda.com/index.php/How_To:Set_Up_RAIT_(Redundant_Array_of_Independent_Tapes)
>
> But currently only 3 or 5 drive sets are supported.

I'm not looking to do RAIT, unless there's a RAIT-mirror option.

I could, I suppose, have a second set of tapes in the library, and
when amdump finishes, run dd from one tape to another, but it would
seem to be preferable to write the data once to both drives
simultaneously (i.e. mirrored tapes).  That doesn't sound possible
though.

--
Thanks,
Paul


driver says "[missing size line from sendbackup]"

2007-08-23 Thread Jean-Francois Malouin
Hi,

Got a strange one: client is irix-6.5, server a Debian/Linux running a
64bit kernel both running amanda-2.5.2p1. I was testing my setup by
forcing a full with norecord and noindex from a big DLE on the client
(~1.7TB) and amdump failed with the subject line.

amdump log say:

taper: reader-side: got label av24-2_left2_U00012L3 filenum 104
driver: result time 66020.266 from dumper0: FAILED 00-1 "[missing
size line from sendbackup]"

Looking on the client debug files shows nothing except that sendbackup
was started yesterday evening. I was surprised that this actually
didn't timeout before as the server's amanda.conf has dtimeout=43200s
ie 12hrs and the failure occured after 66020sec...

any ideas?
jf


Re: multiple drives, one config?

2007-08-23 Thread Marc Muehlfeld
hi,

Paul Lussier schrieb:
> Is it possible to have amanda use both of these drives simultaneously
> so my writing-to-tape phase goes faster?

Currently you can't write simultaneously with a single configuration at
the same time.

Chg-multi is something that may help you. But it doesn't work with
different sized tapedrives, because there is only one tapetype option you
can specify.
http://wiki.zmanda.com/index.php/Changers#chg-multi_.28formerly_chg-generic.29




> Alternatively, can I write the same data to both drives such that I
> create a duplicate tape set (one to keep on site, one to send off ?).

You can setup RAIT:
http://www.amanda.org/docs/rait.html
http://wiki.zmanda.com/index.php/How_To:Set_Up_RAIT_(Redundant_Array_of_Independent_Tapes)

But currently only 3 or 5 drive sets are supported.



Regards
Marc


-- 
Marc Muehlfeld (Leitung Systemadministration)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78
http://www.medizinische-genetik.de