Re: Problems using amanda to backup SMB shares

2006-07-12 Thread Olivier Nicole
> My point is, on _my_ amanda server, that files does NOT exist:

Then create an empty file with the name /etc/amandates and that is
owned by amanda.

And that should do it.

Olivier


Re: Feeling lazy, do I have to upgrade to 2.5.0p2?

2006-07-12 Thread Olivier Nicole
> I quickly glanced at the documentation for incompatibility issues 2.4.4 vs
> 2.5.0p2, but found none.

I think I remember reading that the versions were compatible, either
client or server.

Bests,

Olivier


Feeling lazy, do I have to upgrade to 2.5.0p2?

2006-07-12 Thread Tanniel Simonian

Amanda group,

I recently purchased the new Quantum LTO-3 library. I also purchased a
server that unfortunately works initially with Debian's Testing
installation which defaults to 2.5.0p2 of Amanda-server/client.

I can communicate with the 20 amanda-clients on 2.4.4 with the
amanda-server 2.5.0p2 amcheck, heck I am even able to dump/tar.

I've had many successful test backups so far, but don't want to be
surprised with a weird problem later on.

I quickly glanced at the documentation for incompatibility issues 2.4.4 vs
2.5.0p2, but found none.

Thanks!



planner: disk xxx:/, estimate of level N failed

2006-07-12 Thread Frank Smith
In the last few days I've started seeing a couple of messages like
the above in the NOTES section of my daily reports.  The DLEs in
question do get backed up, but it is a level 0 each night. Originally
it was just one server, now it is two.
   Both are running 2.5.0p2-1 Debian etch packages, one is x86, the
other is arm.   A third amd64 machine is still working fine so far.
The appearance of the errors may have coincided with package updates,
but I'm not sure (although they have been 2.5.x for awhile).
   Since I've been running Amanda for years, my first thought was
just to check the /tmp/amanda/*debug files, but was surprised to
find that those files don't exist on any of the 2.5.0 machines,
all that is in /tmp/amanda are selfcheck*exclude, sendbackup*exclude,
and sendsize*exclude files.
   It's not critical, theses are my home machines and I have the
space to handle nightly level 0s, but I had been considering an
upgrade of my work machines to 2.5 from 2.4.5 and am now concerned
that this might be a bug that needs fixing before I upgrade. The
estimate error may be just a Debian package thing, either in the
Amanda package or possibly in tar, but evidently the debug files have
been missing longer than the estimate error.

Any debug suggestions?

Frank


-- 
Frank Smith  [EMAIL PROTECTED]
Sr. Systems Administrator   Voice: 512-374-4673
Hoover's Online   Fax: 512-374-4501


Re: amrecover "Tape is not a dump tape" but amrestore works?

2006-07-12 Thread Jon LaBadie
On Wed, Jul 12, 2006 at 11:03:38AM -0400, Julian C. Dunn wrote:
> On Wed, 12 Jul 2006, Jon LaBadie wrote:
> 
> >
> >So whatever was fed by amrecover to the restore program did not
> >appear to be created by the corresponding dump program.
> >
> >Do you use dump/restore in your amanda dumptypes or gnutar?
> 
> I use dump/restore. I was trying to restore files from babelfish (a 
> FreeBSD 6.1 box) on the tape server aphrodite (a FreeBSD 4.9 box). One 
> would think the dump/restore utilities would be the same between versions 
> though?

One would think, wouldn't one.

But then again ...

How about extracting the raw dump file from the tape on to aphrodite.
amrestore has options (I always have to look them up) to pull it off.
If it is gzip'ped, expand it and check whether the file(1) cmd sees
it as a dump archive and whether the old restore can recover from it.
Probably a table of contents would be sufficient.  Or extract a few
files.

Then transfer it (the archive) to bablefish and ensure it can restore
from the archive.

If you can only do it from bablefish, perhaps the new dump has options
to make old archives.  Or maybe the new restore can be compiled and
added to the old OS.

Finally, you should be able to do an amrecover from bablefish rather
than on the server.

> 
> >When directed to do so, did you manually load the correct tape
> >and rewind it before typeing "y"?
> 
> Yep... I'm not that silly :-)
> 

Amazing how many don't do this step.  Thinking it is merely a
notice and request for permission.

> What did work was this:
> 
> 1) use amrestore to pull the dumps off the tape and save them manually
> 2) run "restore" on the target machine to do interactive restore

So you did the second part of my thoughts above, how about restore
on the pulled dumps before sending them to the target?

> 
> But I'd rather not have to do that in the future, so I'd like to fix this.
> 

Would there be a problem doing amrecover from the target?  If they
were not similar OS's that would be the "proper" way.


-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: Ran a Tapetype for LTO-3 if anyone is interested

2006-07-12 Thread Tanniel Simonian
I am unsure why my tape is half the speed but almost 40 gigs more than the
others in the Amanda Wiki. My tapes are Imation Ultrium LTO 3 tapes. Maybe
they are a little longer?

Amtapetype was executred with the device /dev/st0, I do not think this
would make a difference, or can it?  Also SCSI generic support was not
available at the time.

Now that I have everything from the barcode reader working to the tapes
labeled, I will run the tapetype again. I also have SCSI generic enabled
and plan to run tapetype with the /dev/nst0 device.

I will cut and paste the complete console message after the job is
complete if it comes out different. I will use the same tape that I used
to run the original tapetype too.

After all, I too am wondering why I got more space but half the speed. I'd
rather have the reverse.

Tano

On Wed, July 12, 2006 12:18 am, Paul Bijnens wrote:
> On 2006-07-11 19:46, Tanniel Simonian wrote:
>> Amanda Group
>> I ran the amtapetype from Amanda 2.5.0p2 last night, took about 6 hours
>> to
>> complete the estimate:
>>
>> Model: Quantum Superload 3  LTO-3 16 Tape Library.
>>
>> define tapetype QS3LTO-3 {
>>  comment "Quantum Super Loader 3 LTO-3 16 tape library"
>>  length 448369 mbytes
>>  filemark 6403 kbytes
>>  speed 37739 kps
>> }
>>
>> I ran amtapetype on /dev/st0 on a debian Testing distribution.
>> SCSI interface VHDI 68 Pin Ultra 160 connector running on a Adaptec
>> 39160
>> 2 channel SCSI 160 PCI-X interface. Server DELL PE 850 Dual Core P4 3.4
>> GHZ 4 GB RAM
>
> Wow.  You got 440 Gbyte on a 400 Gbyte tape???
> But your speed is about half what others got...
>
> Compare this to:
>
> http://wiki.zmanda.com/index.php/Tapetype_definitions#LTO_Ultrium_3_with_400.2F800_Gbyte_tapes
>
> I'm curious about the cause these significant differences!
>
> (Not owning an LTO3 -- just curious.)
>
> --
> 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: amreport - confused !

2006-07-12 Thread Paul Bijnens

Alan Pearson schreef:

Hi Users,

I'm looking for some enlightenment about amreport.


This is "amstatus" output ...

Below is a snippet from the last dump run, and I'm particularly confused 
by the 'no-dumpers' entries.


The "no-dumpers" here means, that Amanda could not start an additional
dump, because all dumpers were busy :-)
Good!
"client-constrained" means that the client had already "maxdumps" 
running or that all DLE's todo are on a spindle that is in use by

another backup.


I've set inparallel to 12, but I don't understand why all 12 don't get 
used simultaneously or am I misunderstanding below ?


On this subject how can more than one dumper run on a client ? Surely 
only one copy of tar or dump or whatever can run at a time (presuming 
only one disklist entry per client)


see "maxdumps" as the dumptype  parameter in amanda.conf

(and set the splindle in that case!)

[...]
9 dumpers busy :  0:01:59  (  3.31%)  no-dumpers:  0:01:59  
(100.00%)
10 dumpers busy :  0:00:03  (  0.09%)  client-constrained:  0:00:02  ( 
88.63%)
11 dumpers busy :  0:02:56  (  4.89%)  no-dumpers:  0:02:15  ( 
76.45%)
   client-constrained:  0:00:40  ( 



--
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  *
***


amreport - confused !

2006-07-12 Thread Alan Pearson

Hi Users,

I'm looking for some enlightenment about amreport.
Below is a snippet from the last dump run, and I'm particularly  
confused by the 'no-dumpers' entries.
I've set inparallel to 12, but I don't understand why all 12 don't  
get used simultaneously or am I misunderstanding below ?


On this subject how can more than one dumper run on a client ? Surely  
only one copy of tar or dump or whatever can run at a time (presuming  
only one disklist entry per client)


Really, and help understanding what Amanda is at here appreciated !
Thanks
---
AlanP


12 dumpers idle : no-dumpers
taper idle
network free kps:   110
holding space   : 57220m (100.00%)
chunker0 busy   :  0:00:00  (  0.00%)
chunker1 busy   :  0:00:00  (  0.00%)
chunker2 busy   :  0:00:00  (  0.00%)
chunker3 busy   :  0:00:00  (  0.00%)
chunker4 busy   :  0:00:00  (  0.00%)
chunker5 busy   :  0:00:00  (  0.00%)
chunker6 busy   :  0:00:00  (  0.00%)
chunker7 busy   :  0:00:00  (  0.00%)
chunker8 busy   :  0:00:00  (  0.00%)
chunker9 busy   :  0:00:00  (  0.00%)
chunker10 busy   :  0:00:00  (  0.00%)
chunker11 busy   :  0:00:00  (  0.00%)
dumper0 busy   :  0:25:04  ( 41.55%)
dumper1 busy   :  0:02:49  (  4.68%)
dumper2 busy   :  0:01:12  (  1.99%)
dumper3 busy   :  0:13:01  ( 21.58%)
dumper4 busy   :  0:20:31  ( 34.02%)
dumper5 busy   :  0:03:30  (  5.82%)
dumper6 busy   :  0:05:30  (  9.12%)
dumper7 busy   :  0:25:02  ( 41.49%)
dumper8 busy   :  0:17:31  ( 29.05%)
dumper9 busy   :  0:25:01  ( 41.49%)
dumper10 busy   :  0:20:06  ( 33.32%)
dumper11 busy   :  0:22:31  ( 37.35%)
   taper busy   :  0:47:27  ( 78.65%)
0 dumpers busy :  0:35:37  ( 59.04%)  no-dumpers:  0:27:23   
( 76.87%)
 not-idle:  0:08:14   
( 23.13%)
1 dumper busy  :  0:00:02  (  0.06%)  no-dumpers:  0:00:02   
(100.00%)

2 dumpers busy :  0:00:00  (  0.01%)
3 dumpers busy :  0:02:29  (  4.14%)  no-dumpers:  0:02:29   
(100.00%)
4 dumpers busy :  0:02:00  (  3.33%)  no-dumpers:  0:02:00   
(100.00%)
5 dumpers busy :  0:00:25  (  0.70%)  no-dumpers:  0:00:25   
(100.00%)
6 dumpers busy :  0:02:34  (  4.27%)  no-dumpers:  0:02:34   
(100.00%)
7 dumpers busy :  0:04:30  (  7.47%)  no-dumpers:  0:04:30   
(100.00%)
8 dumpers busy :  0:07:30  ( 12.46%)  no-dumpers:  0:07:30   
(100.00%)
9 dumpers busy :  0:01:59  (  3.31%)  no-dumpers:  0:01:59   
(100.00%)
10 dumpers busy :  0:00:03  (  0.09%)  client-constrained:  0:00:02   
( 88.63%)
11 dumpers busy :  0:02:56  (  4.89%)  no-dumpers:  0:02:15   
( 76.45%)
   client-constrained:  0:00:40   
( 23.09%)

12 dumpers busy :  0:00:00  (  0.00%)




Re: Problems using amanda to backup SMB shares

2006-07-12 Thread Jon LaBadie
On Wed, Jul 12, 2006 at 09:31:09AM -0500, Michael D Schleif wrote:
> * Jon LaBadie <[EMAIL PROTECTED]> [2006:07:12:00:09:07-0400] scribed:
> 
> 
> > When asked to, and if run by root, they record the date and
> > time and level of the dumps in a file /etc/dumpdates.  This
> > file then can be used by dump in the future to decide what
> > needs backing up at various dump levels.
> > 
> > Tar does not have this built-in, so amanda mimics it in
> > /etc/amandates.
> 
> My point is, on _my_ amanda server, that files does NOT exist:
> 
> # sudo ls /etc/ama*
> Password:
> /etc/amandahosts  /etc/amandapass
> 
> /etc/amanda:
> DailySet1  crontab.amanda
> 
> 
> What am I missing?

On each client that is using tar for dumping you need
/etc/amandadates, owned by client's "amandauser/group",
rw by user&group

If your server is also a client, then you need that file.

amandahosts should be ".amandahosts" and it should not
be in /etc, but in the home directory of amandauser.

BTW in your line:

> # sudo ls /etc/ama*

Do you really need to sudo to execute ls on the /etc dir?
Particularly if you are already running as root ('# ' prompt).

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


RE: Cygwin amanda client behind firewall

2006-07-12 Thread McGraw, Robert P.




> -Original Message-
> From: Paul Bijnens [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 12, 2006 4:37 PM
> To: McGraw, Robert P.
> Cc: amanda-users@amanda.org
> Subject: Re: Cygwin amanda client behind firewall
> 
> 
> McGraw, Robert P. schreef:
> > My question is, is the 0.0.0.0 ip address something that I should have
> to
> > enter into a firewall configuration to get traffic to pass through?
> >
> > The IP 0.0.0.0 seems to be blocked my firewall that I am using?
> 
> The 0.0.0.0 means the program is acting as a "server".  I remember
> vaguely from some old ZoneAlarm program that you have to add that
> priviledge to a program.
[McGraw, Robert P.] 

Actually the cygwin client that is protected by ZoneAlarm firewall is
working. I had to add the 0.0.0.0 as a trusted IP in the ZoneAlarm file. 

I was using this client to test the amanda cygwin build as this was my first
attempt.

> 
> Anyway, is there any clue in the /tmp/amanda directory on the client?
> There should be a file named selfcheck.datetime.debug.  Contents?
[McGraw, Robert P.] 

The client that I really need to backup, is behind a Sonicwall firewall. 

To test that I can contact the 10080 port I use the netcat (nc) program. 

The host coriolis is the test cygwin client which is behind the ZoneAlarm
firewall.

##R##-zorn->[46] ##> ./nc -z -v -u coriolis 10080

coriolis.xxx.yyy.edu [128.210.n.nnn] 10080 (amanda) open

The host mailrelay is the host behind the Sonicwall firewall. I have opened
up the firewall to allow the amanda server through for any service.
 
##R##-zorn->[47] ##> ./nc -z -v -u mailrelay 10080

mailrelay.xxx.yyy.edu [128.210.n.nnn] 10080 (amanda) open

They both show that the Amanda server can contact both clients on 10080 UDP
port.

The following is my amcheck for each client 

zorn->[42] > ./amcheck -c daily coriolis

Amanda Backup Client Hosts Check

Client check: 1 host checked in 1.443 seconds, 0 problems found

(brought to you by Amanda 2.4.5p1)
 

zorn->[43] > ./amcheck -c daily mailrelay

Amanda Backup Client Hosts Check

WARNING: mailrelay: selfcheck request timed out.  Host down?
Client check: 1 host checked in 30.025 seconds, 1 problem found

(brought to you by Amanda 2.4.5p1)



> 
> 
> >
> > On both firewalls I have my amanda server IP address set in the firewall
> to
> > allow any type traffice through. Should this be enough?
> 
> Remember that you also have to configure the intermediate firewall
> Amcheck uses only UDP 10080, but a real run uses more TCP ports, which
> amcheck currently does not test.
> 
> See:  http://wiki.zmanda.com/index.php/Configuration_with_iptables
> and:  http://wiki.zmanda.com/index.php/TCP/UDP_ports
[McGraw, Robert P.] 

I have a call into Sonicwall support but when I called them yesterday they
were not familiar with the 0.0.0.0 IP.

 
> 
> 
> --
> 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]

[McGraw, Robert P.] 
Thanks again for your help.


smime.p7s
Description: S/MIME cryptographic signature


Re: Cygwin amanda client behind firewall

2006-07-12 Thread Paul Bijnens

McGraw, Robert P. schreef:

My question is, is the 0.0.0.0 ip address something that I should have to
enter into a firewall configuration to get traffic to pass through?

The IP 0.0.0.0 seems to be blocked my firewall that I am using?


The 0.0.0.0 means the program is acting as a "server".  I remember 
vaguely from some old ZoneAlarm program that you have to add that 
priviledge to a program.


Anyway, is there any clue in the /tmp/amanda directory on the client?
There should be a file named selfcheck.datetime.debug.  Contents?




On both firewalls I have my amanda server IP address set in the firewall to
allow any type traffice through. Should this be enough?


Remember that you also have to configure the intermediate firewall 
Amcheck uses only UDP 10080, but a real run uses more TCP ports, which 
amcheck currently does not test.


See:  http://wiki.zmanda.com/index.php/Configuration_with_iptables
and:  http://wiki.zmanda.com/index.php/TCP/UDP_ports


--
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  *
***


RE: Cygwin amanda client behind firewall

2006-07-12 Thread McGraw, Robert P.

> -Original Message-
> From: Paul Bijnens [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 12, 2006 4:19 PM
> To: McGraw, Robert P.
> Cc: amanda-users@amanda.org
> Subject: Re: Cygwin amanda client behind firewall
> 
> 
> McGraw, Robert P. schreef:
> > I am running 2.4.5P1 server on a Solaris host.
> >
> > I have a cygwin Win2003 client that sites behind a firewall.
> >
> > Can someone explain the IP address 0.0.0.0:PORTNUM. This seems to be
> causing
> > me problems in trying to get my amanda server to talk to the Win2003
> client.
> 
> It means that this program is listening on INADDR_ANY (0.0.0.0), i.e.
> any interface (not just 127.0.0.1 or 192.168.1.12, or whatever the IP
> number of your host is).  The programs then just waits until the other
> side connects to this portnumber.
> 
> 
> >
> > I have one firewall setting that that allows all IP on our subnet to get
> to
> > any host and to any service on the LAN. The firewall setting works
> because I
> > can run netcat from the amanda server to the 100080 UDP port of the
> cygwin
> > client behind the firewall and I get the proper response.
> >
> > But when I run amcheck I am getting the timed out message.
> >
> > ./amcheck -c daily cygwinclient
> > Amanda Backup Client Hosts Check
> > 
> > WARNING: cygwinclient: selfcheck request timed out.  Host down?
> > Client check: 1 host checked in 30.025 seconds, 1 problem found
> >
> > I believe it has to do with the 0.0.0.0:PORTNUMBER that is used by
> amanda to
> > communicate with the clients. I am not exactly sure what or how this
> works but
> > I know on a previous cygwin client, outside of the firewall that used
> > zonealarm, I had to trust the IP address 0.0.0.0.
> >
> > Is this something that I should be able to set on a the firewall?
> 
> I have no experience with ZoneAlarm, sorry.
> 
> 
> --
> 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]

[McGraw, Robert P.] 

My question is, is the 0.0.0.0 ip address something that I should have to
enter into a firewall configuration to get traffic to pass through?

The IP 0.0.0.0 seems to be blocked my firewall that I am using?

On both firewalls I have my amanda server IP address set in the firewall to
allow any type traffice through. Should this be enough?

Thanks for your reply.






smime.p7s
Description: S/MIME cryptographic signature


Re: Cygwin amanda client behind firewall

2006-07-12 Thread Paul Bijnens

McGraw, Robert P. schreef:

I am running 2.4.5P1 server on a Solaris host.

I have a cygwin Win2003 client that sites behind a firewall.

Can someone explain the IP address 0.0.0.0:PORTNUM. This seems to be causing 
me problems in trying to get my amanda server to talk to the Win2003 client.


It means that this program is listening on INADDR_ANY (0.0.0.0), i.e.
any interface (not just 127.0.0.1 or 192.168.1.12, or whatever the IP 
number of your host is).  The programs then just waits until the other 
side connects to this portnumber.





I have one firewall setting that that allows all IP on our subnet to get to 
any host and to any service on the LAN. The firewall setting works because I 
can run netcat from the amanda server to the 100080 UDP port of the cygwin 
client behind the firewall and I get the proper response.


But when I run amcheck I am getting the timed out message.

./amcheck -c daily cygwinclient
Amanda Backup Client Hosts Check

WARNING: cygwinclient: selfcheck request timed out.  Host down?
Client check: 1 host checked in 30.025 seconds, 1 problem found

I believe it has to do with the 0.0.0.0:PORTNUMBER that is used by amanda to 
communicate with the clients. I am not exactly sure what or how this works but 
I know on a previous cygwin client, outside of the firewall that used

zonealarm, I had to trust the IP address 0.0.0.0.

Is this something that I should be able to set on a the firewall?


I have no experience with ZoneAlarm, sorry.


--
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  *
***


Re: chunker ,amandad

2006-07-12 Thread Guy
2006/7/12, silpa kala <[EMAIL PROTECTED]>:
Hi,Please help me out in this problem.I seen the socket connection between the chunker andamandad. What is purpose of the socket?Actually I understood that backup data send by theamandad(client) and received by the
dumper(server)through the data port. Is it true?How the dumper will send the backup data to thechunker?I understood that chunker is introduced in 2.5version for new features splitsize. Suppose if i
didn't configure for this parameters, eventhoughchunker is playing as an important role. Why thedumper funda is moved to chunker.Taper is creating the Shared Memory. Why it isnecessary?Please clarify me these doubts.
Thanks & Regards,SilpakalaSorry but you are using the wrong mailing list, pal. This is amanda USERS, not HACKERS.  There is a mailing list devoted to amanda development. 



Perhaps an Amanda changer support problem?

2006-07-12 Thread irene

 Hello,
We are using Amanda 2.5.0p2 to backup data to a PowerVault 136T with 2 
LTO2 drives. We are running this on OpenBSD 3.9 and we are using 
CHG-CHIO

as the changer.  It works fine without barcode reader support.  However
we recently implemented barcode reader support in the OS and now we are
attempting to modify the changer script to use that support so that
the external tape labels are read to locate the required tape.
The changer successfully reports to Amanda that it is 'searchable' but
some commands are not responding to it like the tapechanger documentation
indicates it will.
These commands respond appropriately:
  amtape config update  (will execute 'tpchanger -label')
  amtape config label "labelstr"(will execute 'tpchanger -search')
The following commands DO NOT respond.  The documentation indicates they
should respond.
  amtape config taper   (does not try 'tpchanger -search')
  amcheck config(does not try 'tpchanger -search')
  amlabel config "labelstr" slot #  (does not try 'tpchanger 
-label') It seems that even though 'searchable' is set to 1, 
'searchlabel' is not

being set to 1 within Amanda.  Can anyone suggest what we may be missing
or overlookinging in our attempts?  Or is this a bug in the Amanda code?
Thank-you in advance for any suggestions or advice.

Irene Braun,
U. of Alberta
[EMAIL PROTECTED]



Re: backing up to DVD-Rs

2006-07-12 Thread Anne Wilson
On Wednesday 12 July 2006 18:17, Ross Vandegrift wrote:
> Make a holding area, and use dump with a tape size of just slightly
> less than the DVD-R size.  Tell dump to generate manifests and quick
> file access data.
>
> Then, all you have to do is burn each dump file to a DVD-R in
> pre-prepared mode (check man growisofs for details on this) and
> burn/store the index/QFA data somewhere.
>
Would you like to amplify this, please?

Anne


pgpuAjDpxUMyZ.pgp
Description: PGP signature


Re: backing up to DVD-Rs

2006-07-12 Thread Ross Vandegrift
On Wed, Jul 12, 2006 at 10:29:14AM +0100, Laurence Darby wrote:
> Bascially I have a 30GB directory (/home) and 50 4.7GB DVD-Rs.  Is there
> any support in Amanda for backing up to DVD-Rs?   Actually, the only
> thing I'm looking for is the capability to divide the 30GB into 4.7GB
> chunks, or slightly smaller to fit on a 4.7GB ext2 loopback file which
> can be burned to DVD.

Is this the only disklist item you'd have?  Also, how frequently will
you be running backups?

Basically, I found that Amanda with DVD-Rs was too much trouble for
backing up my home system.  Rather, I run dump manually.

Make a holding area, and use dump with a tape size of just slightly
less than the DVD-R size.  Tell dump to generate manifests and quick
file access data.

Then, all you have to do is burn each dump file to a DVD-R in
pre-prepared mode (check man growisofs for details on this) and
burn/store the index/QFA data somewhere.


Once you have that burnt, restores are easy.  You just tell restore to
restore from your DVD device.  When it asks for tape number X, you
insert DVD X and it does its thing.

It works quite well and prevent having to juggle all the information
that Amanda is going to keep about your filesystems.

-- 
Ross Vandegrift
[EMAIL PROTECTED]

"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37


Cygwin amanda client behind firewall

2006-07-12 Thread McGraw, Robert P.
I am running 2.4.5P1 server on a Solaris host.

I have a cygwin Win2003 client that sites behind a firewall.

Can someone explain the IP address 0.0.0.0:PORTNUM. This seems to be causing 
me problems in trying to get my amanda server to talk to the Win2003 client.

I have one firewall setting that that allows all IP on our subnet to get to 
any host and to any service on the LAN. The firewall setting works because I 
can run netcat from the amanda server to the 100080 UDP port of the cygwin 
client behind the firewall and I get the proper response.

But when I run amcheck I am getting the timed out message.

./amcheck -c daily cygwinclient
Amanda Backup Client Hosts Check

WARNING: cygwinclient: selfcheck request timed out.  Host down?
Client check: 1 host checked in 30.025 seconds, 1 problem found

I believe it has to do with the 0.0.0.0:PORTNUMBER that is used by amanda to 
communicate with the clients. I am not exactly sure what or how this works but 
I know on a previous cygwin client, outside of the firewall that used
zonealarm, I had to trust the IP address 0.0.0.0.

Is this something that I should be able to set on a the firewall?

I am kind of lost at this point.

Thanks

Robert





_
Robert P. McGraw, Jr.
Manager, Computer System EMAIL: [EMAIL PROTECTED]
Purdue University ROOM: MATH-807
Department of MathematicsPHONE: (765) 494-6055
150 N. University Street   FAX: (419) 821-0540
West Lafayette, IN 47907-2067




smime.p7s
Description: S/MIME cryptographic signature


RE: Problems with new Amanda release (2.5.0p2): amcheck not reporting tape errors via e-mail

2006-07-12 Thread donald.ritchey
Paul:

Thanks for the pointer to the patch.  After installing it, all is normal
again (or at least a normal as it gets around here).

Once again, the Amanda list has proved to be one of the best information
resources on the planet.

Best wishes to all,

Don

Donald L. (Don) Ritchey
Information Technology
Exelon Corporation

-Original Message-
From: Paul Bijnens [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 2:15 AM
To: Ritchey, Donald
Cc: amanda-users@amanda.org
Subject: Re: Problems with new Amanda release (2.5.0p2): amcheck not
reporting tape errors via e-mail


On 2006-07-12 02:03, [EMAIL PROTECTED] wrote:
> I recently upgraded the first of our Amanda installations to 2.5.0p2 ]
> and found an unwelcome surprise:  amcheck no longer reports tape
> problems
> via e-mail from an amcheck run out of the Amanda user's crontab file.
[...]
>   If I have the old tape loaded in the drive, I get an error about
>   the wrong tape loaded in the drive, but again I get nothing from
> 
>   amcheck -sm.
>   read label `emcpd-006', date `20060711'
>  (expecting tape emcpd-007 or a new tape)
> 
> Is there some change or magic switch that I missed or can someone
point me
> in the right direction to troubleshoot the issue?  Surely, someone
else is
> using amcheck from a crontab and getting useful results.


Yes, it's a bug:

http://marc.theaimsgroup.com/?l=amanda-users&m=115191286102753&w=2


-- 
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  *
***


-
***
*
This e-mail and any of its attachments may contain Exelon
Corporation proprietary information, which is privileged,
confidential, or subject to copyright belonging to the Exelon
Corporation family of Companies.
This e-mail is intended solely for the use of the individual or
entity to which it is addressed.  If you are not the intended
recipient of this e-mail, you are hereby notified that any
dissemination, distribution, copying, or action taken in relation
to the contents of and attachments to this e-mail is strictly
prohibited and may be unlawful.  If you have received this e-mail
in error, please notify the sender immediately and permanently
delete the original and any copy of this e-mail and any printout.
Thank You.
***
*




Re: Problems with new Amanda release (2.5.0p2): amcheck not reporting

2006-07-12 Thread Steven Backus
> This problem was fixed after the 2.5.0p2 release, use CVS or the latest 
> 2.5.0p2 snapshot from
> http://www.iro.umontreal.ca/~martinea/amanda/

Using any release later than 2.4.5p1 I still cannot restore any
files from the holding disk.  Is there a chance this too is fixed
in a snapshot?  Here's an example amrecover session:

amrecover> add ftpusers
Added /opt/sfw/etc/ftpusers
amrecover> extract

Extracting files from holding disk on host whimsy.
The following files are needed: 
/home1/dumps/amanda/20060501190001/ambiance.med.utah.edu.sdc1.0

Restoring files into directory /tmp
Continue [?/Y/n]? 

Extracting from file  
/home1/dumps/amanda/20060501190001/ambiance.med.utah.edu.sdc1.0
tar: Read 2541 bytes from -
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
amrecover: Extractor child exited with status 2

extract_list - child returned non-zero status: 1
Continue [?/Y/n/r]? 
amrecover> 
--
Monday - Thursday I dump to the holding disk then amflush everything
to tape Friday.  Each night I get "taper: FATAL syncpipe_get: r:
unexpected EOF" in my log when using 2.5.

TIA,
  Steve
-- 
Steven J. BackusComputer Specialist
University of Utah  E-Mail:  [EMAIL PROTECTED]
Biomedical Informatics  Alternate:  [EMAIL PROTECTED]
391 Chipeta Way -- Suite D150   Office:  801.587.9308
Salt Lake City, UT 84108-1266   http://www.math.utah.edu/~backus


Re: amrecover "Tape is not a dump tape" but amrestore works?

2006-07-12 Thread Julian C. Dunn

On Wed, 12 Jul 2006, Jon LaBadie wrote:


On Wed, Jul 12, 2006 at 08:38:16AM -0400, Julian C. Dunn wrote:

Just following up on my own message. I'll try and be more succinct;
maybe all my debugging info turned people off:

What does


8<
Extracting files using tape drive /dev/nrsa0 on host
aphrodite.acf.aquezada.com.Load tape dltbw14 now
Continue [?/Y/n/s/t]? Y
Tape is not a dump tape
extract_list - child returned non-zero status: 1
8<


mean?


Sometimes people just don't have an answer, so they don't post :)


I know, and sometimes people are discouraged by reams of debugging info 
(mea culpa) :-)



I grep'ed the source, that message "Tape is not a dump tape" does
not come directly from amanda.  It must be coming from an auxilliary
program.  As it is refering to "dump", I suspect it is coming from
the restore program (restore, ufsrestore, ???restore, not amrestore).

So whatever was fed by amrecover to the restore program did not
appear to be created by the corresponding dump program.

Do you use dump/restore in your amanda dumptypes or gnutar?


I use dump/restore. I was trying to restore files from babelfish (a 
FreeBSD 6.1 box) on the tape server aphrodite (a FreeBSD 4.9 box). One 
would think the dump/restore utilities would be the same between versions 
though?



When directed to do so, did you manually load the correct tape
and rewind it before typeing "y"?


Yep... I'm not that silly :-)

What did work was this:

1) use amrestore to pull the dumps off the tape and save them manually
2) run "restore" on the target machine to do interactive restore

But I'd rather not have to do that in the future, so I'd like to fix this.

- Julian

[ Julian C. Dunn <[EMAIL PROTECTED]>  *  "You can throw confetti,   ]
[ WWW: www.aquezada.com/staff/julian   *  but you're still going ]
[ PGP: 91B3 7A9D 683C 7C16 715F*  through the motions, baby" ]
[  442C 6065 D533 FDC2 05B9*- Aimee Mann ]


Re: Ran a Tapetype for LTO-3 if anyone is interested

2006-07-12 Thread Brian Cuttler

I got this... Now that I look at it the length seems a little short,
but we seem to be using only about 30% of the tape at this point (we
where running ok on the LTO1 but are constantly adding more DLEs).

define tapetype LTO3 {
comment "just produced by tapetype prog"
comment "brc, 25-may-2006 using /dev/rmt/3un"
length 386048 mbytes
filemark 0 kbytes
speed 61742 kps
}



On Wed, Jul 12, 2006 at 09:18:53AM +0200, Paul Bijnens wrote:
> On 2006-07-11 19:46, Tanniel Simonian wrote:
> >Amanda Group
> >I ran the amtapetype from Amanda 2.5.0p2 last night, took about 6 hours to
> >complete the estimate:
> >
> >Model: Quantum Superload 3  LTO-3 16 Tape Library.
> >
> >define tapetype QS3LTO-3 {
> > comment "Quantum Super Loader 3 LTO-3 16 tape library"
> > length 448369 mbytes
> > filemark 6403 kbytes
> > speed 37739 kps
> >}
> >
> >I ran amtapetype on /dev/st0 on a debian Testing distribution.
> >SCSI interface VHDI 68 Pin Ultra 160 connector running on a Adaptec 39160
> >2 channel SCSI 160 PCI-X interface. Server DELL PE 850 Dual Core P4 3.4
> >GHZ 4 GB RAM
> 
> Wow.  You got 440 Gbyte on a 400 Gbyte tape???
> But your speed is about half what others got...
> 
> Compare this to:
> 
> http://wiki.zmanda.com/index.php/Tapetype_definitions#LTO_Ultrium_3_with_400.2F800_Gbyte_tapes
> 
> I'm curious about the cause these significant differences!
> 
> (Not owning an LTO3 -- just curious.)
> 
> -- 
> 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  *
> ***
> 
---
   Brian R Cuttler [EMAIL PROTECTED]
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



Re: backing up to DVD-Rs

2006-07-12 Thread Anne Wilson
On Wednesday 12 July 2006 15:07, Jon LaBadie wrote:
> On Wed, Jul 12, 2006 at 10:29:14AM +0100, Laurence Darby wrote:
> > Hi,
> >
> > I'm sure this question has been asked many times before, but I couldn't
> > see it in the Faq-O-Matic.
> >
> > Bascially I have a 30GB directory (/home) and 50 4.7GB DVD-Rs.  Is there
> > any support in Amanda for backing up to DVD-Rs?   Actually, the only
> > thing I'm looking for is the capability to divide the 30GB into 4.7GB
> > chunks, or slightly smaller to fit on a 4.7GB ext2 loopback file which
> > can be burned to DVD.
> >
> > I tried using 'tar --multi-volume', which sort of does what I want,
> > but it's interactive, not compressed, and difficult to manage indexes.
> >
> > Thanks,
> > Laurence
> >
> > PS: The silly thing is, (and not "ironic" before anyone thinks it is,
> > because it is not), I maintain a Veritas NetBackup Enterprise solution
> > at work, but I have absolutely _zero_ chance of taking my HD's in and
> > backing up there...
>
> Not direct to DVD, but perhaps a with 2 step process.
> I believe at least one poster to the list, ?Anne Wilson?,
> may be using such a setup.  Perhaps she/they will comment.
>
Yes, indeed, although I have to admit I've not done as much testing of 
restores yet, as I should have done.  Nor have I yet added networked backups.

> Amanda has the ability to use a hard disk as a "virtual tape"
> using the "File:Driver".  The vtapes (as opposed to ptapes :)
> are headed by a single directory.  A collection of these
> can be thought of as "slots" in a changer and rotated
> through automatically using a changer script just like a
> a physical changer.
>
> You must specify a size for your vtapes, thus if you specify
> something slightly less than your recordable size, you can
> then transfer an entire vtape to a corresponding dvd.
>
I created a set of 21 vtapes.  I created one tapetype, HARD-DISK based on what 
I had read:
define tapetype HARD-DISK {
comment "WD 120GB drive hdb6"
lbl-templ "/usr/local/etc/amanda/Daily/3hole.ps"
#   length 4100 mbytes # will burn to DVD
}

but then, amongst the documentation somewhere I came across these examples, 
too:

define tapetype CD650 {
comment "CD-R 650MB sized vtape"
length 681984000 bytes
filemark 4 Kbytes
}

define tapetype CD700 {
comment "CD-R 700MB sized vtape"
length 73728 bytes
filemark 4 Kbytes
}

define tapetype DVD47 {
comment "A 4.7 Gbyte DVD-Sized vtape"
length 4000 mbytes
filemark 4 Kbytes
}

define tapetype DVD85 {
comment "A 8.5 GB DVD double layer"
length 8000 mbytes #approximately - exact value not found
filemark 4 Kbytes
}

My dumptype settings are:

define dumptype global {
comment "Global definitions"
index yes
# record no
tape_splitsize  400 Mb
#   split_diskbuffer"/tmp/dumps"
fallback_splitsize  100m
maxpromoteday   1
}

define dumptype root-tar {
  global
  program "GNUTAR"
}

define dumptype user-tar-span {
  root-tar
  tape_splitsize 400Mb
  comment "tape-spanning user partitions dumped with tar"



I back up three distinct areas, two of which are graphic and audio, so they 
are backed up without compression.  The third area is /home, and a Level 0 of 
that does require spanning.  The backup is broken down, and the vtapes can be 
burned to DVD.

As I said, I'm pretty new to this, and no kind of expert, but if you want any 
more info, please ask.

Anne


pgpQkE7PQNMGH.pgp
Description: PGP signature


Re: Problems using amanda to backup SMB shares

2006-07-12 Thread Michael D Schleif
* Jon LaBadie <[EMAIL PROTECTED]> [2006:07:12:00:09:07-0400] scribed:


> When asked to, and if run by root, they record the date and
> time and level of the dumps in a file /etc/dumpdates.  This
> file then can be used by dump in the future to decide what
> needs backing up at various dump levels.
> 
> Tar does not have this built-in, so amanda mimics it in
> /etc/amandates.

My point is, on _my_ amanda server, that files does NOT exist:

# sudo ls /etc/ama*
Password:
/etc/amandahosts  /etc/amandapass

/etc/amanda:
DailySet1  crontab.amanda


What am I missing?

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--


signature.asc
Description: Digital signature


Dealing more gracefully with tape overruns

2006-07-12 Thread Ronan KERYELL
We run AMANDA for many years with the same taper and the time comes with
more and more users until one tape per day is sometimes not enough. :-/

We don't have any changer and often one tape is enough. So I would like a
mode where AMANDA would decide it is not possible to have everything on
one tape *but* would not stop dumping and would go on on the holding
disk. Then the autoflush mode would flush everything the day after or a
manual flush could be done on a separate tape.

The problem is that when AMANDA notices that there is not enough space on
tape, it stops with messages such as:
  minou.info.enstb.org   /var  lev 0  FAILED [dumps 
too big, 180301 KB, but no incremental estimate]
  minou.info.enstb.org   /home lev 0  FAILED [dumps 
too big, 3309778 KB, but no incremental estimate]
  pei.info.enstb.org /mnt/bonbonne/subversion_backups  lev 0  FAILED [dumps 
too big, 1414910 KB, but cannot incremental dump new disk]
  minou.info.enstb.org   /export/bouteille lev 2  FAILED [dumps 
way too big, 4632849 KB, must skip incremental dumps]

I'd like to have incremental and even level 0 dumps on the holding disk,
where I have a lot of space.

I've played recently with
maxdumpsize -1  # Maximum number of bytes the planner will schedule
# for a run (default: runtapes * tape_length).
but it doesn't help since it says it can decide to dump more than a tape
but it fails later with the same messages than above.

So, is there an obvious way to deal with the not-so-frequent overrun we
encounter?

If not, what about adding a new strategy with a mode such as:
dump-on-holding-disk-if-degraded-mode yes
Should not be to difficult to implement.

I will try also to play with the reserve keyword next night with, for
example, reserve 50 % for full backups.

reserve  number
Default:  100.  The  part  of holding-disk  space  that
should be  reserved for incremental backups  if no tape
is  available,   expressed  as  a   percentage  of  the
available holding-disk space  (0-100). By default, when
there   is  no   tape  to   write  to,   degraded  mode
(incremental) backups will  be performed to the holding
disk. If  full backups should  also be allowed  in this
case,  the amount  of holding  disk space  reserved for
incrementals should be lowered.

But if it works, why this static allocation between incremental and full
backups?

Another approach: what about also a mode with runtapes > 1 without any
changer, assuming that the user will use amflush later?

Thank you,
-- 
  Ronan KERYELL   |\/  Tel:(+33|0) 2.29.00.14.15
  Département Informatique|/)  Fax:(+33|0) 2.29.00.12.82
  ENST Bretagne, CS 83818 KGSM:(+33|0) 6.13.14.37.66
  F-29238 PLOUZANÉ CEDEX  |\   E-mail: [EMAIL PROTECTED]
  FRANCE  | \  http://enstb.org/~keryell
   callto:ils.seconix.com/[EMAIL PROTECTED]



Re: amstatus during active dump

2006-07-12 Thread Jon LaBadie
On Wed, Jul 12, 2006 at 06:14:54AM -0700, Joe Donner (sent by Nabble.com) wrote:
> 
> When you run "amstatus config" while a dump is active, does it show you a
> "progress report" (for want of a better term)?
> 

The man command, or simply try it, is your friend here.

>From the man page:

   DESCRIPTION
   Amstatus gives the current state of the Amanda run specified
   by the config configuration.

   If there is no active Amanda running, it summarizes the result
   of the last run.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: amrecover "Tape is not a dump tape" but amrestore works?

2006-07-12 Thread Jon LaBadie
On Wed, Jul 12, 2006 at 08:38:16AM -0400, Julian C. Dunn wrote:
> Just following up on my own message. I'll try and be more succinct;
> maybe all my debugging info turned people off:
> 
> What does
> 
> > 8<
> > Extracting files using tape drive /dev/nrsa0 on host 
> > aphrodite.acf.aquezada.com.Load tape dltbw14 now
> > Continue [?/Y/n/s/t]? Y
> > Tape is not a dump tape
> > extract_list - child returned non-zero status: 1
> > 8<
> 
> mean?
> 

Sometimes people just don't have an answer, so they don't post :)

I grep'ed the source, that message "Tape is not a dump tape" does
not come directly from amanda.  It must be coming from an auxilliary
program.  As it is refering to "dump", I suspect it is coming from
the restore program (restore, ufsrestore, ???restore, not amrestore).

So whatever was fed by amrecover to the restore program did not
appear to be created by the corresponding dump program.

Do you use dump/restore in your amanda dumptypes or gnutar?

When directed to do so, did you manually load the correct tape
and rewind it before typeing "y"?

Are you trying to extract the files on a different machine
where the dump/restores are different than on the source?

Just random thoughts.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Re: backing up to DVD-Rs

2006-07-12 Thread Jon LaBadie
On Wed, Jul 12, 2006 at 10:29:14AM +0100, Laurence Darby wrote:
> 
> Hi,
> 
> I'm sure this question has been asked many times before, but I couldn't
> see it in the Faq-O-Matic.
> 
> Bascially I have a 30GB directory (/home) and 50 4.7GB DVD-Rs.  Is there
> any support in Amanda for backing up to DVD-Rs?   Actually, the only
> thing I'm looking for is the capability to divide the 30GB into 4.7GB
> chunks, or slightly smaller to fit on a 4.7GB ext2 loopback file which
> can be burned to DVD.
> 
> I tried using 'tar --multi-volume', which sort of does what I want,
> but it's interactive, not compressed, and difficult to manage indexes.
> 
> Thanks,
> Laurence
> 
> PS: The silly thing is, (and not "ironic" before anyone thinks it is,
> because it is not), I maintain a Veritas NetBackup Enterprise solution
> at work, but I have absolutely _zero_ chance of taking my HD's in and
> backing up there...

Not direct to DVD, but perhaps a with 2 step process.
I believe at least one poster to the list, ?Anne Wilson?,
may be using such a setup.  Perhaps she/they will comment.

Amanda has the ability to use a hard disk as a "virtual tape"
using the "File:Driver".  The vtapes (as opposed to ptapes :)
are headed by a single directory.  A collection of these
can be thought of as "slots" in a changer and rotated
through automatically using a changer script just like a
a physical changer.

You must specify a size for your vtapes, thus if you specify
something slightly less than your recordable size, you can
then transfer an entire vtape to a corresponding dvd.

As you seem to be talking about backing up a single directory
tree (/home), I would suggest that you read more about amanda's
unique scheduling of dumps and dump levels.  Combined with
amanda's refusal to append dumps to an active tape will be
different than your NetBackup experience.  It may influence
your choice of backup solutions.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


amstatus during active dump

2006-07-12 Thread Joe Donner (sent by Nabble.com)

When you run "amstatus config" while a dump is active, does it show you a
"progress report" (for want of a better term)?

Thanks.
-- 
View this message in context: 
http://www.nabble.com/amstatus-during-active-dump-tf1930763.html#a5288402
Sent from the Amanda - Users forum at Nabble.com.



Re: Hints on using amverify

2006-07-12 Thread Greg Troxel

amverify will read the tape, gunzip if gzipped, and use the list
option of restore/dump (which does not compare to disk contents).
(Really one can't compare to disk contents because they might have
changed, although a procedure of checking all and noting
matches/mismatches with ctime/mtime would be useful.)

In assessing how useful this is, it's helpful to think about the kinds
of errors that can happen:

* failure to read bits for the tape (media error, signaled on read)

* silently getting the wrong bits from the tape (i.e., not the ones
  that were written, but with no error indication)

* dump not dumping some files that it should

* dump producing the wrong bits on the client

* gzip producing the wrong bits

* changes in the bits from the client to the holding disk

* changes from the holding disk to the tape

* misconfigurations that fail to dump filesystems that should be
  backed up (amverify-like programs can't detect this of course).

I have seen the first two failures actually happen, and the last is of
course common.  The others seem not to happen much.

A key point is the use of gzip, which has a CRC.  So if you read a
file and the CRC is ok, then it is likely that the output of gzip (in
my case, on clients) was correctly transferred across the net, to the
holding disk, to the tape, and then back off the tape.

Without gzip, you'll get error indications if the metadata is
unreadable, but the data isn't checked.  So silent corruption may not
be detected.

I run amverify once a week (and amdump 5 times).  This is a tradeoff
between tape wear and quality control - if it works essentially every
time once a week, I'm pretty sure that things are generally ok.
Probably it should run with p=0.2 every night, to avoid checking the
same tapes.

-- 
Greg Troxel <[EMAIL PROTECTED]>


pgpxkgzcd098q.pgp
Description: PGP signature


Re: amrecover "Tape is not a dump tape" but amrestore works?

2006-07-12 Thread Julian C. Dunn
Just following up on my own message. I'll try and be more succinct;
maybe all my debugging info turned people off:

What does

> 8<
> Extracting files using tape drive /dev/nrsa0 on host 
> aphrodite.acf.aquezada.com.Load tape dltbw14 now
> Continue [?/Y/n/s/t]? Y
> Tape is not a dump tape
> extract_list - child returned non-zero status: 1
> 8<

mean?

- Julian

-- 
[ Julian C. Dunn <[EMAIL PROTECTED]>  *  "You can throw confetti,   ]
[ WWW: www.aquezada.com/staff/julian   *  but you're still going ]
[ PGP: 91B3 7A9D 683C 7C16 715F*  through the motions, baby" ]
[  442C 6065 D533 FDC2 05B9*- Aimee Mann ]


Re: Problems with new Amanda release (2.5.0p2): amcheck not reporting tape errors via e-mail

2006-07-12 Thread Jean-Louis Martineau

Hi,

This problem was fixed after the 2.5.0p2 release, use CVS or the latest 
2.5.0p2 snapshot from

http://www.iro.umontreal.ca/~martinea/amanda/

Jean-Louis

Jon LaBadie wrote:

On Tue, Jul 11, 2006 at 07:03:01PM -0500, [EMAIL PROTECTED] wrote:
  

I recently upgraded the first of our Amanda installations to 2.5.0p2 ]
and found an unwelcome surprise:  amcheck no longer reports tape
problems
via e-mail from an amcheck run out of the Amanda user's crontab file.





A similar (same?) bug was reported by J Tibbet in May and again
on June 30.  Supposedly it was corrected, so a newer snapshot
may be in order.  If not, Paul B, on July 3 posted a couple of
lines of patch you could apply to amcheck.c.


  




Re: amanda backup status - amstatus

2006-07-12 Thread Olivier Nicole
> How to verify how much data backed up? Is there anyway
> we can figure out from the amdump.1 log file.

The report that is emailed to you will tell you how much data was
dumped (before and after compression) and how much was saved to tape.

This is in the summary part of the report.

Olivier


amanda backup status - amstatus

2006-07-12 Thread silpa kala
Hi,

How to verify how much data backed up? Is there anyway
we can figure out from the amdump.1 log file.

Please clarify this doubt.

Thanks & Regards,
silpakala

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


RE backing up to DVD-Rs

2006-07-12 Thread Cyrille Bollu

[EMAIL PROTECTED] a écrit sur 12/07/2006
11:29:14 :

> 
> Hi,
> 
> I'm sure this question has been asked many times before, but I couldn't
> see it in the Faq-O-Matic.
> 
> Bascially I have a 30GB directory (/home) and 50 4.7GB DVD-Rs.  Is
there
> any support in Amanda for backing up to DVD-Rs?   Actually, the
only
> thing I'm looking for is the capability to divide the 30GB into 4.7GB
> chunks, or slightly smaller to fit on a 4.7GB ext2 loopback file which
> can be burned to DVD.
> 
> I tried using 'tar --multi-volume', which sort of does what I want,
> but it's interactive, not compressed, and difficult to manage indexes.
> 

I would say:  Use the file-driver (chapter 13
in Amanda how-to) and define a chunksize of about 4.5GB in your holdingdisk
defintion. Then, manage to burn the DVD and label them correctly so that
they match amanda indexes."

but that's just an idea...

Cheers,

Cyrille

backing up to DVD-Rs

2006-07-12 Thread Laurence Darby

Hi,

I'm sure this question has been asked many times before, but I couldn't
see it in the Faq-O-Matic.

Bascially I have a 30GB directory (/home) and 50 4.7GB DVD-Rs.  Is there
any support in Amanda for backing up to DVD-Rs?   Actually, the only
thing I'm looking for is the capability to divide the 30GB into 4.7GB
chunks, or slightly smaller to fit on a 4.7GB ext2 loopback file which
can be burned to DVD.

I tried using 'tar --multi-volume', which sort of does what I want,
but it's interactive, not compressed, and difficult to manage indexes.

Thanks,
Laurence

PS: The silly thing is, (and not "ironic" before anyone thinks it is,
because it is not), I maintain a Veritas NetBackup Enterprise solution
at work, but I have absolutely _zero_ chance of taking my HD's in and
backing up there...




Re: Graphical User Interface for Amanda

2006-07-12 Thread Martin Hepworth

silpa kala wrote:

Hi,

I am planning to develop the GUI for Amanda using Java
swings. I have two options . Please suggest me which
one is best.

1.Develop the new application for java and invoke the
planner and driver executable.Amanda code need not be
touched.

2.Convert the entire server code to Java and adding
the java swings for the Graphical User Interface.

Please help me out in this. 


Thanks & Regards,
Silpakala

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Hi

I'd say go for option 1. Then people can add it should they wish.

Also means there's not fork in the code, ie you don't to re-implement 
every patch etc which you would have to do with option 2.


--
Martin Hepworth
Senior Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

**

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.   

**



Re: Ran a Tapetype for LTO-3 if anyone is interested

2006-07-12 Thread Paul Bijnens

On 2006-07-11 19:46, Tanniel Simonian wrote:

Amanda Group
I ran the amtapetype from Amanda 2.5.0p2 last night, took about 6 hours to
complete the estimate:

Model: Quantum Superload 3  LTO-3 16 Tape Library.

define tapetype QS3LTO-3 {
 comment "Quantum Super Loader 3 LTO-3 16 tape library"
 length 448369 mbytes
 filemark 6403 kbytes
 speed 37739 kps
}

I ran amtapetype on /dev/st0 on a debian Testing distribution.
SCSI interface VHDI 68 Pin Ultra 160 connector running on a Adaptec 39160
2 channel SCSI 160 PCI-X interface. Server DELL PE 850 Dual Core P4 3.4
GHZ 4 GB RAM


Wow.  You got 440 Gbyte on a 400 Gbyte tape???
But your speed is about half what others got...

Compare this to:

http://wiki.zmanda.com/index.php/Tapetype_definitions#LTO_Ultrium_3_with_400.2F800_Gbyte_tapes

I'm curious about the cause these significant differences!

(Not owning an LTO3 -- just curious.)

--
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: Problems with new Amanda release (2.5.0p2): amcheck not reporting tape errors via e-mail

2006-07-12 Thread Paul Bijnens

On 2006-07-12 02:03, [EMAIL PROTECTED] wrote:

I recently upgraded the first of our Amanda installations to 2.5.0p2 ]
and found an unwelcome surprise:  amcheck no longer reports tape
problems
via e-mail from an amcheck run out of the Amanda user's crontab file.

[...]

If I have the old tape loaded in the drive, I get an error about
the wrong tape loaded in the drive, but again I get nothing from

amcheck -sm.
read label `emcpd-006', date `20060711'
   (expecting tape emcpd-007 or a new tape)

Is there some change or magic switch that I missed or can someone point me
in the right direction to troubleshoot the issue?  Surely, someone else is
using amcheck from a crontab and getting useful results.



Yes, it's a bug:

http://marc.theaimsgroup.com/?l=amanda-users&m=115191286102753&w=2


--
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  *
***



chunker responsible

2006-07-12 Thread silpa kala
Hi,

what is the responsibility of the chunker ?

Why the socket communication is required between the
chunker and amandad?

Please clarify these doubts.

Thanks & Regards,
Silpakala

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Usage of Shared Memory for Taper

2006-07-12 Thread silpa kala
Hi,

I seen that shared memory is used in taper program of
server code. Why this shared memory is required. What
is usage of this ? How amanda is doing the
syncronization between the processes ?

Please clarify this doubt.

Thanks & Regards,
Silpakala

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Problems using amanda to backup SMB shares

2006-07-12 Thread Jon LaBadie
On Tue, Jul 11, 2006 at 12:57:42PM -0500, Michael D Schleif wrote:
> * Jon LaBadie <[EMAIL PROTECTED]> [2006:07:11:11:59:30-0400] scribed:
> > On Tue, Jul 11, 2006 at 11:30:23AM -0400, Nathan Weston wrote:
> 
> 
> > > As for the second problem, I don't see anything in the .debug files that 
> > > gives me a clue. The permissions for /etc/amandates look like this:
> > > -rw-r-  1 amandabackup disk 0 Jul 10 17:20 /etc/amandates
> > 
> > My pre-built amanda server does use 'amandabackup' and 'disk' as the
> > amanda user and group.  Make sure your's does too and not something
> > like amanda/wheel or some other combo.  My amandates file's permissions
> > are 664, not 640.  If the owner is correct, maybe amanda expects to
> > write to the file via group, not owner permissions.
> 
> OK, I give up!
> 
> What is /etc/amandates?  I am running 2.5.0p2 ; and I have not found any
> reference to this file ;<

You know what, on a quick search I don't either.
Well, in some source files and changelogs, but ...

You may or may not be familiar with traditional unix backup
facilites, dump and restore and some filesystem specific
variants, like ufsdump/ufsrestore, xfsdump/xfsrestore, etc.

When asked to, and if run by root, they record the date and
time and level of the dumps in a file /etc/dumpdates.  This
file then can be used by dump in the future to decide what
needs backing up at various dump levels.

Tar does not have this built-in, so amanda mimics it in
/etc/amandates.

-- 
Jon H. LaBadie  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road(609) 252-0159
 Princeton, NJ  08540-4322  (609) 683-7220 (fax)


Communication between the chunker and amandad

2006-07-12 Thread silpa kala
Hi,

Please help me out in this problem. 

I seen the socket connection between the chunker and
amandad. What is purpose of the socket?

Actually I understood that backup data send by the
amandad(client) and received by the
dumper(server)through the data port. Is it true?

How the dumper will send the backup data to the
chunker?

I understood that chunker is introduced in 2.5 version
for new features splitsize. Suppose if i didn't
configure for this parameters, eventhough chunker is
playing as an important role. Why the dumper funda is
moved to chunker.

Taper is creating the Shared Memory. Why it is
necessary?

Please clarify me these doubts. 

Thanks & Regards,
Silpakala







__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com