Amanda-Users

Re: question about new disks

2006-10-20 13:07:03
Subject: Re: question about new disks
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: amanda-users AT amanda DOT org
Date: Fri, 20 Oct 2006 13:01:54 -0400
On Friday 20 October 2006 11:25, Gene Heskett wrote:
>On Friday 20 October 2006 10:15, Steven Settlemyre wrote:
>>Server:
>>Debian (sarge) Linux.
>>amanda version: 2.5.0p2
>>
>>Client:
>>tar: (GNU tar) 1.13.19
>>amanda-client: ? how do i find this?
>
>Any machine being backed up is a client.  This includes the server
> itself.
>
>Building the client version is as simple as the whole thing, I use this
>script to build the install for the server:
>==================
>#!/bin/sh
># since I'm always forgetting to su amanda...
>if [ `whoami` != 'amanda' ]; then
> echo
> echo "!!!!!!!!!!!! Warning !!!!!!!!!!!!"
> echo "Amanda needs to be configured and built by the user amanda,"
> echo "but must be installed by user root."
> echo
> exit 1
>fi
>make clean
>rm -f config.status config.cache
>./configure --with-user=amanda \
> --with-group=disk \
> --with-owner=amanda \
> --with-gnu-ld \
> --prefix=/usr/local \
> --with-tapedev="FILE:/amandatapes" \
> --with-debugging=/tmp/amanda-dbg/ \
> --with-tape-server=coyote.coyote.den \
> --with-bsdtcp-security --with-amandahosts \
> --with-configdir=/usr/local/etc/amanda \
> --with-config=Daily \
> --with-gnutar=/usr/local/bin/tar
>
>make
>
>==========
>Adjust to suit of course...
>
>
>And this one to build just the client pieces:
>==========
>#!/bin/sh
># since I'm always forgetting to su amanda...
>if [ `whoami` != 'amanda' ]; then
> echo
> echo "!!!!!!!!!!!! Warning !!!!!!!!!!!!"
> echo "Amanda needs to be configured and built by the user amanda,"
> echo "but must be installed by user root."
> echo
> exit 1
>fi
>make clean
>rm -f config.status config.cache
>./configure --with-user=amanda \
> --with-group=disk \
> --with-owner=amanda \
> --without-server \
> --with-gnu-ld --prefix=/usr/local \
> --with-debugging=/tmp/amanda-dbg/ \
> --with-tape-server=coyote.coyote.den \
> --with-bsdtcp-security --with-amandahosts
>
>make
>==========
>I haven't adjusted either of those scripts since I changed to using the
>FILE: device.  Consistency is the keyword, so amanda versions in use
> often get updated 2-4 times a month, but forward compatibility is
> maintained.
>

And I fibbed, I did add the bsdsecurity stuff recently, but it was so easy 
I'd forgotten about it.

>>Paul Bijnens wrote:
>>> On 2006-10-20 15:05, Steven Settlemyre wrote:
>>>> I recently broke a disk up into subfolders to (hopefully) allow
>>>> amanda to do a better job fitting things onto daily single-tape
>>>> backups. But I keep getting the following errors.
>>>>
>>>> HOSTNAME /files6/vol/speech7    lev 0  FAILED [disk
>>>> /files6/vol/speech7, all estimate failed]
>>>
>>> [...]
>>>
>>>
>>> Any useful error message in one of the debug files:
>>> have a look in:
>>>    amdump.1  (in directory ~amanda/TheConfig)
>>>    planner.datetime.debug (only 2.5.1+; in /tmp/amanda probably)
>>>
>>> What version of Amanda do have have on client/server.
>>> And version of gnutar on client?

-- 
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)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.

<Prev in Thread] Current Thread [Next in Thread>