Re: amrecover issues with 2.5.0pl1

2006-05-18 Thread Andreas_Hallmann
On Thu, May 18, 2006 at 10:31:02AM -0400, stan wrote:
> I tried to use amrecover on the Amanda tape/index server to recover files
> from another machine. The files are stored in vtapes. Here is teh tail end
> of the amrecover.debug file:
> 
> add_file: (Successful) Added dir / at date 2006-04-26
> add_file: (Successful) Added dir / at date 2006-04-21
> amrecover: bind_portrange2: trying port=1008
> amrecover: stream_client_privileged: connected to 170.85.109.24.10083
> amrecover: stream_client_privileged: our side is 0.0.0.0.1008
1)   ^^^
> amrecover: try_socksize: receive buffer size is 65536
> amrecover: Could not read from control socket: Success
2)^^
> 
> amrecover: pid 31704 finish time Thu May 18 10:26:32 2006
> 
> Where should I start looking for the problem here?
> 

1) I'm no experienced amanda trouble shooter, but your ip looks strange to me.
2) strange message, real.

AHA
-- 
NetBSD: If you happen to have any problem with your uptime.



Getting dumps to tape -- quickly is good

2006-05-18 Thread Brad Willson
I have a few dumps I need to write to tape, however a badly-timed 
amcleanup complicated matters.


/etc/amanda/DailySet1$ amflush DailySet1
Scanning /backup/amanda...
  2006051302: skipping cruft directory, perhaps you should delete it.
  2006051403: skipping cruft directory, perhaps you should delete it.
  2006051502: skipping cruft directory, perhaps you should delete it.
  2006051602: skipping cruft directory, perhaps you should delete it.
  2006051701: skipping cruft directory, perhaps you should delete it.
Could not find any Amanda directories to flush.

Which files do I need to recover in order to reconnect and use amflush?

Thanks!
--
Brad Willson, Sr. Computer Specialist
UW GeneTests, UW Box: 358735
EM: [EMAIL PROTECTED]
W: 206.221.4674, C: 425.891.2732
http://www.genetests.org



Re: Backup with dump program

2006-05-18 Thread Matt Hyclak
On Thu, May 18, 2006 at 07:21:42PM +0530, Rajeh kuri enlightened us:
> I am new to the  Amanda utility and evaluating it on SUSE Linux
> 10(2.6.16 kernel)
> I have been trying to backup the my home directory using dump program.
> 
> The amstatus showing
> planner: ["backup path",all estimate failed]
> 
> but iam able to backup using "GNU TAR" program.
> 
> Can I know what is going wrong.
> If iam not giving enough info for clue please let me know what need to be
> sent.
> 

Generally dump is used to do complete filesystems, not subdirectories. You
*can* use dump for subdirectories, but you can only do full (level 0) dumps,
not incrementals.

Without more information, we can't tell you what's wrong.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263


Re: Runspercycle?

2006-05-18 Thread Joshua Baker-LePain

On Thu, 18 May 2006 at 3:18pm, John Clement wrote


I've got a no brainer for you, what is runspercycle?  I've rtfmed but
the explanation just dones't make sense to me.

At the moment I've got

Dumpcycle 4
Runspercycle 1
Tapecycle 10

Its set up so it runs every Mon-Thurs night and we have two weeks worth.
I've noticed that it appears to be doing level 0 on everything every
night, pressumably because it's a 400GB tape and the total data that's
backed up at the moment is considerably less.  Is there any way of
forcing amanda to only do the level 0 once and grab incrementals the
rest of the time, I thought I'd set it up like this, but something is
obviously wrong somewhere...


dumpcycle = maximum amount of time between level 0s of any particular DLE
  (disk list entry)
runspercycle = number of times you'll run amdump per dumpcycle
tapecycle = number of tapes you'll let amanda use, should be at least
1.5*runspercycle*runtapes (preferable 2*)

For your setup, dumpcycle=1 week, runspercycle=4.  Having runspercycle=1 
is what's getting you level 0s every amdump.


--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


Re: Amanda

2006-05-18 Thread H. Wilmer

James Wilson wrote:
more than one dump to a tape? Any config examples or pointers are 
appreciated, right now I only have the basics completed like the client 
setup the hosts, directories, etc.


check out http://wiki.zmanda.com/index.php/Main_Page


Re: Amanda

2006-05-18 Thread Joshua Baker-LePain

On Thu, 18 May 2006 at 9:11am, James Wilson wrote

I am new to Amanda and I was just wondering if anyone here has configured a 
Dell powervault 132T with 2 drives and 23 slots or anything close to this.


What sort of tape drive?  I've got an Overland Neo2K with 2 LTO3 drives 
and 30 slots that I'm quite happily running amanda with.


When I run amtapetype I get an unknow-tapetype is the right for the 
powervault? Also wondering if Amanda can backup directories or does it just 
backup the whole hard drive? Can I write more than one dump to a tape? Any 
config examples or pointers are appreciated, right now I only have the basics 
completed like the client setup the hosts, directories, etc.


These are all FAQs to some extent.  Amanda can back up directories if you 
use tar for the backup tool and partitions only if you use dump.  Amanda 
does not append to tapes.  Dig through the docs and grok dumpcycle, 
runspercycle, runtapes, and tapecycle and then come on back with specific 
questions.


--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


amrecover issues with 2.5.0pl1

2006-05-18 Thread stan
I tried to use amrecover on the Amanda tape/index server to recover files
from another machine. The files are stored in vtapes. Here is teh tail end
of the amrecover.debug file:

add_file: (Successful) Added dir / at date 2006-04-26
add_file: (Successful) Added dir / at date 2006-04-21
amrecover: bind_portrange2: trying port=1008
amrecover: stream_client_privileged: connected to 170.85.109.24.10083
amrecover: stream_client_privileged: our side is 0.0.0.0.1008
amrecover: try_socksize: receive buffer size is 65536
amrecover: Could not read from control socket: Success

amrecover: pid 31704 finish time Thu May 18 10:26:32 2006

Where should I start looking for the problem here?

-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967


Runspercycle?

2006-05-18 Thread John Clement
Hi list,

I've got a no brainer for you, what is runspercycle?  I've rtfmed but
the explanation just dones't make sense to me.

At the moment I've got

Dumpcycle 4
Runspercycle 1
Tapecycle 10

Its set up so it runs every Mon-Thurs night and we have two weeks worth.
I've noticed that it appears to be doing level 0 on everything every
night, pressumably because it's a 400GB tape and the total data that's
backed up at the moment is considerably less.  Is there any way of
forcing amanda to only do the level 0 once and grab incrementals the
rest of the time, I thought I'd set it up like this, but something is
obviously wrong somewhere...

Thanks, as always!

john 



Amanda

2006-05-18 Thread James Wilson

Hi,

I am new to Amanda and I was just wondering if anyone here has 
configured a Dell powervault 132T with 2 drives and 23 slots or anything 
close to this. When I run amtapetype I get an unknow-tapetype is the 
right for the powervault? Also wondering if Amanda can backup 
directories or does it just backup the whole hard drive? Can I write 
more than one dump to a tape? Any config examples or pointers are 
appreciated, right now I only have the basics completed like the client 
setup the hosts, directories, etc.


Thanks,

James


Re: Dealing with incompressible data

2006-05-18 Thread Jason L Tibbitts III
> "JL" == Jon LaBadie <[EMAIL PROTECTED]> writes:

JL> I don't think an automatic tool is needed.  The compressibility of
JL> a DLE doesn't change often.

It does for me.  All it takes is for a user to decide to gzip a few
data sets.  Compression can swing from 10:1 to inflation in one
night.  And back again as those data sets are migrated offline.

JL> However a tool to check and recommend might be useful.  And it
JL> could be entended to take action automatically if desired.

Seems reasonable as a first pass.  I think it would be reasonable to
have an "adaptive" compression type that was built into the system,
but I wouldn't know where to start adding it.  However, I can cook up
a Perl script to process my disklist.

 - J<


Backup with dump program

2006-05-18 Thread Rajeh kuri

Hi,

I am new to the  Amanda utility and evaluating it on SUSE Linux
10(2.6.16 kernel)
I have been trying to backup the my home directory using dump program.

The amstatus showing
planner: ["backup path",all estimate failed]

but iam able to backup using "GNU TAR" program.

Can I know what is going wrong.
If iam not giving enough info for clue please let me know what need to be
sent.

-- Regards
rajesh



Re: Error in building 2.5.0p2 on Solaris 9

2006-05-18 Thread Paul Bijnens

On 2006-05-16 18:20, George wrote:


I'm attempting to compile and install amanda-2.5.0p2 on a 2-way Sunfire 
V210 running Solaris 9 w/ 2gb RAM. Compiler is gcc, v3.4.2, linker is 
Sun's supplied /usr/ccs/bin/ld. Worthy of note is that this same package 
configured and compiled flawlessly on a 2-way Dell 1850 server running 
RHES 3.0.


Here are my configure parameters:

./configure --prefix=/usr/local/prdamanda --with-index-server=amanda2 
--with-user=prdamanda --with-group=disk --with-config=prodbackup 
--with-tmpdir=/tmp/prdamanda --with-gnutar=/usr/local/bin/tar



The configure runs to completion with no warnings or errors save one, 
GNUplot not being installed. No biggie there. The "make" produces the 
following warnings as it proceeds through the building the code:


[...]

../common-src/amanda-int.h:339:1: warning: "UINT8_MAX" redefined

[...]

=
Despite the warnings, everything goes smoothly until the build process 
reaches the building the "man" pages section, when it errors out completely:


No idea about those warnings...



[...]

creating amrecover
Making all in man
/usr/local/libxslt/sparcv9/bin/xsltproc --path ./xslt/ --xinclude 
--stringparam latex.imagebasedir "amanda.conf.5/" --stringparam 
noreference 1 --output xml-source/amanda.conf.5.proc.xml 
./xslt/expand-sambadoc.xsl xml-source/amanda.conf.5.xml
/usr/local/libxslt/sparcv9/bin/xsltproc --path ./xslt/ --output 
amanda.conf.5 man.xsl xml-source/amanda.conf.5.proc.xml
warning: failed to load external entity 
"http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";

compilation error: file ./xslt//man.xsl line 8 element import
xsl:import : unable to load 
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

*** Error code 5
make: Fatal error: Command failed for target `amanda.conf.5'
Current working directory /export/home/gkofoed/amanda-2.5.0p2/man
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

==

Not sure where to go from here, I've never seen this when building 
amanda from source before. If I've missed supplying any necessary 
information to help trouble-shoot, please let me know. Any help/guidance 
appreciated. Thanks.



To suppress the xls errors, you can quickly configure with:
  ./configure --with-user=...  --without-built-manpages

This way, the installer will use the prebuilt man pages instead of
building them from the xml source again.




--
Paul Bijnens, xplanation Technology ServicesTel  +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, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out  *
***



Re: Amanda reporting File shrank by...

2006-05-18 Thread Olivier Nicole
> So I will change to maildir and be done with it (less work than compiling)

That is a big task too :)

Olivier


Re: Amanda reporting File shrank by...

2006-05-18 Thread Luis Rodrigues
There is no need since I have a statusbord with all the services running on my 
company.
It has red, yellow and gree ligths , I just check the ones that are not green :)

So I will change to maildir and be done with it (less work than compiling)

Thanks.

Luis

On Thu, 18 May 2006 09:22:59 +0700 (ICT)
Olivier Nicole <[EMAIL PROTECTED]> wrote:

> > (I have a script that only sends me the report when this line
> > apears) so I had one less mail to check.
> 
> Change your script to filter the body of the email and to drop if the
> failure is on the mail directory.
> 
> But it is considered as a good practice to send email even if
> everything is going fine, that way you know that Amanda is still
> running. Else, if you don't receive email everyday, it could be that
> there is no problem or that there is no Amanda.
> 
> Best regards,
> 
> Olivier