Re: newbie ? - tapeless operation -> amlabel error

2007-05-30 Thread Paul Bijnens
On 2007-05-29 22:11, Robert Echlin wrote:
> Hi, Stefan,
> In your HOWTO, you have the following configuration for tapedev:
> 
>   tapedev  "file:/amandatapes/daily" 
> 
> Should that be file:// ?

No a single slash is fine.

> 
> Ref: http://forums.zmanda.com/archive/index.php/t-470.html

Note the original poster had:

   tapedev "file:/space/amanda-vtapes/tape"

but explained that the subdir of amanda-vtapes is "daily" and not "tape"
So this is the correct value:

   tapedev "file:/space/amanda-vtapes/daily/slots"

and you may add as many slashes as you want, as Unix does not
threat those special:
  "ls //"   is equivalent to "ls /"  or even "ls ///"


-- 
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: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Stefan G. Weichinger
Jeanna Geier schrieb:
> Thanks so much to both you and Rob for the great info; I'll
> start over and follow this HOWTO from the get-go and see
> where I end up.

Feel free to come back again here before you end up completely.

;)

Stefan

-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 


Re: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Stefan G. Weichinger
Jeanna Geier schrieb:
> Thanks so much for the reply!
> 
> I can change that parameter value, however, in the 'HOWTO'
> I was following, it tells me to comment out that specific
> parameter so I don't think that will help:
> 
>-
>/etc/amanda/DailySet1/amanda.conf
>-
># These are the options that differ from  
>examples/amanda.conf
> 
>dumpcycle 14 days
>tapecycle 14
>#runspercycle  # defaults to 1 per day
> 
>runtapes 1
>tpchanger "chg-multi"
>changerfile "/etc/amanda/DailySet1/changer.conf"
># Comment out tapedev and changerdev
> 
> Thanks for the input, though - I'll make sure to
> double-check the value so when I do get ready to write it
> to tape, the value is correct!

This is OK for using the changer-script chg-multi.
chg-disk is preferred for quite a while now by most people.

Stefan

-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 


Re: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Stefan G. Weichinger
Robert Echlin schrieb:
> Hi, Stefan,
> In your HOWTO, you have the following configuration for tapedev:
> 
>   tapedev  "file:/amandatapes/daily" 
> 
> Should that be file:// ?

What works for you?

;)

Checked a working vtape-setup of one of my customers right now (got a
valid report from that system an hour ago):

It should be

file:/

(one slash) as mentioned in the HOWTO.

"file:" chooses the driver (would have to browse the docs for the spot
where this is described in detail), the part after the ":" gives the
directory in this case.

Greets,
Stefan

-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 


Re: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Jeanna Geier
Thanks so much to both you and Rob for the great info; I'll
start over and follow this HOWTO from the get-go and see
where I end up.

Thanks again for your time and input, it is very much
appreciated!!
-jg

On Tue, 29 May 2007 21:57:02 +0200
 "Stefan G. Weichinger" <[EMAIL PROTECTED]> wrote:
> Jeanna Geier schrieb:
> > Hello- Thank you for the reply.
> > 
> > "Are you *sure* you want your vtapes in /usr/src/amanda
> ?"
> > No - I'm not sure of anything for sure, I'm just trying
> to
> > get this running! =)  But, have not been successful!
> 
> Jeanna,
> 
> storing backups in /usr/src isn't compliant to the way of
> doing things.
> /usr/src is for source-text, like the linux kernel, but
> not for backups.
> 
> But this is not your primary problem in setting up
> amanda.
> 
> > I started with that HOWTO
> > (http://www.amanda.org/docs/howto-filedriver.html), and
> was
> > told that for testing, they wanted it to write to the
> > harddisk vs. tapes, so I found the other link; how do I
> > know what to parameters to change exactly?
> 
> Simple answer (simple for me): Follow the HOWTO exactly.
> 
> Longer answer (A bit simpler for you):
> 
> You didn't follow the HOWTO.
> 
> For example:
> 
> tpchanger "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
> 
> should be more like
> 
> tpchanger "chg-disk"
> 
> Your config points to *something* but does not configure
> amanda
> correctly. No need for paths here. This parameter chooses
> a script
> inside amanda's own directories, not inside a slot of
> your virtual changer.
> 
> --
> 
> Just read and follow the HOWTO from start, again.
> It has worked for quite a lot of people so far.
> 
> I'll be happy to improve it when necessary, but I think
> you didn't read
> it in detail.
> 
> Also think about your paths.
> 
> It is important for you and your backups (*and restores*)
> to understand
> what you do and why you do things.
> 
> --
> 
> And Rob has provided lots of infos in the meantime as
> well ;)
> 
> Stefan
> 
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 



Jeanna Geier
System Administrator
Webteam, Inc.
[EMAIL PROTECTED]
http://www.webteam.net

ph: 608.788.8100
fx: 608.788.6613
tf: 866.788.0023


RE: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Robert Echlin
Hi, Stefan,
In your HOWTO, you have the following configuration for tapedev:

  tapedev  "file:/amandatapes/daily" 

Should that be file:// ?

Ref: http://forums.zmanda.com/archive/index.php/t-470.html

Thanks,
Rob

--
Rob Echlin
Software Development Environment Prime
Espial IPTV
Rechlin -at- espial.com
Phone: +1 613-230-4770 ext 1150
www.espial.com

 Espial Group Inc. Confidential 
Important Notice: This communication is intended to be received only by
the individual or entity to whom or to which it is addressed and may
contain information that is privileged, confidential and/or subject to
copyright. Any unauthorized use, copying, review or disclosure of this
communication is strictly prohibited. If you have received this
communication in error, please delete the message and notify the sender
by reply email. Thank you for your cooperation.
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan G. Weichinger
Sent: Tuesday, May 29, 2007 3:57 PM
To: amanda-users@amanda.org
Subject: Re: newbie ? - tapeless operation -> amlabel error


Jeanna Geier schrieb:
> Hello- Thank you for the reply.
> 
> "Are you *sure* you want your vtapes in /usr/src/amanda ?"
> No - I'm not sure of anything for sure, I'm just trying to
> get this running! =)  But, have not been successful!

Jeanna,

storing backups in /usr/src isn't compliant to the way of doing things.
/usr/src is for source-text, like the linux kernel, but not for backups.

But this is not your primary problem in setting up amanda.

> I started with that HOWTO
> (http://www.amanda.org/docs/howto-filedriver.html), and was
> told that for testing, they wanted it to write to the
> harddisk vs. tapes, so I found the other link; how do I
> know what to parameters to change exactly?

Simple answer (simple for me): Follow the HOWTO exactly.

Longer answer (A bit simpler for you):

You didn't follow the HOWTO.

For example:

tpchanger "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"

should be more like

tpchanger "chg-disk"

Your config points to *something* but does not configure amanda
correctly. No need for paths here. This parameter chooses a script
inside amanda's own directories, not inside a slot of your virtual
changer.

--

Just read and follow the HOWTO from start, again.
It has worked for quite a lot of people so far.

I'll be happy to improve it when necessary, but I think you didn't read
it in detail.

Also think about your paths.

It is important for you and your backups (*and restores*) to understand
what you do and why you do things.

--

And Rob has provided lots of infos in the meantime as well ;)

Stefan

-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 



Re: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Jeanna Geier
Thanks so much for the reply!

I can change that parameter value, however, in the 'HOWTO'
I was following, it tells me to comment out that specific
parameter so I don't think that will help:

   -
   /etc/amanda/DailySet1/amanda.conf
   -
   # These are the options that differ from  
   examples/amanda.conf

   dumpcycle 14 days
   tapecycle 14
   #runspercycle  # defaults to 1 per day

   runtapes 1
   tpchanger "chg-multi"
   changerfile "/etc/amanda/DailySet1/changer.conf"
   # Comment out tapedev and changerdev

Thanks for the input, though - I'll make sure to
double-check the value so when I do get ready to write it
to tape, the value is correct!

-jg
> 
> 
> On Tue, 29 May 2007 15:23:27 -0400
>  "Robert Echlin" <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I ran into a similar message :
> > "
> > amlabel: could not load slot "1": could not read result
> > from
> > "/usr/lib/amanda/chg-disk"
> > "
> > 
> > I found the answer on the forums:
> > http://forums.zmanda.com/archive/index.php/t-470.html
> > 
> > In your amanda.conf, you need to define:
> > tapedev "file://path/to/your/slots"
> > 
> > Rob
> > 
> > 
> > -----Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > Jeanna Geier
> > Sent: Tuesday, May 29, 2007 3:01 PM
> > To: amanda-users@amanda.org
> > Subject: newbie ? - tapeless operation -> amlabel error
> > 
> > 
> > Hi All!
> > 
> > I'm new to Amanda and am trying to configure it for
> > tapeless operation using the instructions in the
> > following
> > link:
> > http://amanda.sourceforge.net/fom-serve/cache/191.html.
> > I'm
> > down to the labeling in step #5 'Use amlabel to label
> the
> > tapes'; however, when I run the amlabel command, I get
> > the
> > following error:
> > [EMAIL PROTECTED]:/usr/src/amanda-2.5.2/sbin$ amlabel
> > DailySet3 DailySet301 slot 1
> > amlabel: could not load slot "1": could not read result
> > from "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
> > 
> > I'm running VERSION 2.5.2 on Linux.
> > 
> > My 'amanda.conf' file:
> > 
> > ... Stuff cut ...
> > 
> > runtapes 1 # number of tapes to be used in a single run
> > of
> > amdump
> > tpchanger
> "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
> > #
> > the tape-changer glue script
> > #tapedev "/dev/nst0" # the no-rewind tape device to be
> > used
> > rawtapedev "/dev/null" # the raw device to be used
> (ftape
> > only)
> > 
> > ... Stuff cut ...
> > 
> > --
> > Rob Echlin
> > Software Development Environment Prime
> > Espial IPTV
> > Rechlin -at- espial.com
> > Phone: +1 613-230-4770 ext 1150
> > www.espial.com
> > 
> >  Espial Group Inc. Confidential 
> > Important Notice: This communication is intended to be
> > received only by
> > the individual or entity to whom or to which it is
> > addressed and may
> > contain information that is privileged, confidential
> > and/or subject to
> > copyright. Any unauthorized use, copying, review or
> > disclosure of this
> > communication is strictly prohibited. If you have
> > received this
> > communication in error, please delete the message and
> > notify the sender
> > by reply email. Thank you for your cooperation.
> >  
> 
> 
> 
> Jeanna Geier
> System Administrator
> Webteam, Inc.
> [EMAIL PROTECTED]
> http://www.webteam.net
> 
> ph: 608.788.8100
> fx: 608.788.6613
> tf: 866.788.0023



Jeanna Geier
System Administrator
Webteam, Inc.
[EMAIL PROTECTED]
http://www.webteam.net

ph: 608.788.8100
fx: 608.788.6613
tf: 866.788.0023


Re: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Stefan G. Weichinger
Stefan G. Weichinger schrieb:

> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 


g  stupid thunderbird-extension again 

sorry

S




Re: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Stefan G. Weichinger
Jeanna Geier schrieb:
> Hello- Thank you for the reply.
> 
> "Are you *sure* you want your vtapes in /usr/src/amanda ?"
> No - I'm not sure of anything for sure, I'm just trying to
> get this running! =)  But, have not been successful!

Jeanna,

storing backups in /usr/src isn't compliant to the way of doing things.
/usr/src is for source-text, like the linux kernel, but not for backups.

But this is not your primary problem in setting up amanda.

> I started with that HOWTO
> (http://www.amanda.org/docs/howto-filedriver.html), and was
> told that for testing, they wanted it to write to the
> harddisk vs. tapes, so I found the other link; how do I
> know what to parameters to change exactly?

Simple answer (simple for me): Follow the HOWTO exactly.

Longer answer (A bit simpler for you):

You didn't follow the HOWTO.

For example:

tpchanger "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"

should be more like

tpchanger "chg-disk"

Your config points to *something* but does not configure amanda
correctly. No need for paths here. This parameter chooses a script
inside amanda's own directories, not inside a slot of your virtual changer.

--

Just read and follow the HOWTO from start, again.
It has worked for quite a lot of people so far.

I'll be happy to improve it when necessary, but I think you didn't read
it in detail.

Also think about your paths.

It is important for you and your backups (*and restores*) to understand
what you do and why you do things.

--

And Rob has provided lots of infos in the meantime as well ;)

Stefan

-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 
Stefan G. Weichinger
amanda core team member
mailto: [EMAIL PROTECTED]
pgp:3C64175D
-- 
oops! linux consulting & implementation
http://www.oops.co.at
-- 


RE: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Robert Echlin
Hi, Jeanna,

The setting I mentioned, pointing tapedev at the "slots" directory on
disk, is what I use for writing to virtual tapes, i.e. writing to disk.
Did you notice that the HOWTO you are using is dated Nov 2001? A lot has
changed since then. Try the HOWTO in the wiki at:
http://wiki.zmanda.com/index.php/Test_environment_with_virtual_tapes
<http://wiki.zmanda.com/index.php/Test_environment_with_virtual_tapes> 

I also referred to other pages on the wiki:
http://wiki.zmanda.com/index.php/File_driver
<http://wiki.zmanda.com/index.php/File_driver> 
http://wiki.zmanda.com/index.php/Changers
<http://wiki.zmanda.com/index.php/Changers> 

And when I was creating many slots this afternoon, I recorded the
following notes (copied from the wiki I use internally at work). Lots of
this is specific to my configuration, like the user names. Note that the
phrase `seq 1 50` and similar are enclosed in back-quotes and all of
this was done in the bash shell:

Mount the new disk on /mnt/Amanda/Set2 where 2 is the number for the
backup disk, could be 3 for instance 

*   As root, create vtapes folder on the backup disk, set owner
amandabackup user, group disk, not readable or executable by "other" 

1.  mkdir vtapes 

2.  chown amandabackup:disk vtapes 

3.  chmod 750 vtapes 

*   Change to the amandabackup user. 

*   Create a DailySet2 folder inside vtapes 

*   Create slots inside vtapes/DailySet2 

*   for i in `seq 1 50`; do mkdir slot$i; done 

*   Put it "online" by creating the required data symlink 

*   ln -s slot1 data 

*   Check it - this command should return ONLINE 

*   ammt -f file:/mnt/Amanda/Set2/vtapes/DailySet2/slots/ status 

*   Label the tapes - the changer must be "online" first 

*   for i in `seq 1 9`; do amlabel DailySet2 DailySet2-0${i}; done 

*   for i in `seq 10 50`; do amlabel DailySet2 DailySet2-${i}; done 

*   Check it's OK 

*   amcheck DailySet2

Rob

-Original Message-
From: Jeanna Geier [mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
Sent: Tuesday, May 29, 2007 3:33 PM
To: amanda-users@amanda.org; Robert Echlin
Subject: Re: newbie ? - tapeless operation -> amlabel error


Thanks so much for the reply!

I can change that parameter value, however, in the 'HOWTO'
I was following, it tells me to comment out that specific
parameter so I don't think that will help:

   -
   /etc/amanda/DailySet1/amanda.conf
   -
   # These are the options that differ from 
   examples/amanda.conf

   dumpcycle 14 days
   tapecycle 14
   #runspercycle  # defaults to 1 per day

   runtapes 1
   tpchanger "chg-multi"
   changerfile "/etc/amanda/DailySet1/changer.conf"
   # Comment out tapedev and changerdev

Thanks for the input, though - I'll make sure the
double-check the value so when I do get ready to write it
to tape, the value is correct!

-jg


On Tue, 29 May 2007 15:23:27 -0400
 "Robert Echlin" <[EMAIL PROTECTED]> wrote:
> Hi,
> I ran into a similar message :
> "
> amlabel: could not load slot "1": could not read result
> from
> "/usr/lib/amanda/chg-disk"
> "
>
> I found the answer on the forums:
> http://forums.zmanda.com/archive/index.php/t-470.html
<http://forums.zmanda.com/archive/index.php/t-470.html> 
>
> In your amanda.conf, you need to define:
> tapedev "file://path/to/your/slots  "
>
> Rob
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ] On Behalf Of
> Jeanna Geier
> Sent: Tuesday, May 29, 2007 3:01 PM
> To: amanda-users@amanda.org
> Subject: newbie ? - tapeless operation -> amlabel error
>
>
> Hi All!
>
> I'm new to Amanda and am trying to configure it for
> tapeless operation using the instructions in the
> following
> link:
> http://amanda.sourceforge.net/fom-serve/cache/191.html
<http://amanda.sourceforge.net/fom-serve/cache/191.html> .
> I'm
> down to the labeling in step #5 'Use amlabel to label the
> tapes'; however, when I run the amlabel command, I get
> the
> following error:
> [EMAIL PROTECTED]:/usr/src/amanda-2.5.2/sbin$ amlabel
> DailySet3 DailySet301 slot 1
> amlabel: could not load slot "1": could not read result
> from "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
>
> I'm running VERSION 2.5.2 on Linux.
>
> My 'amanda.conf' file:
>
> ... Stuff cut ...
>
> runtapes 1 # number of tapes to be used in a single run
> of
> amdump
> tpchanger "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
> #
> the tape-changer glue script
> #tapedev "/

RE: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Robert Echlin
Hi,
I ran into a similar message :
"
amlabel: could not load slot "1": could not read result from
"/usr/lib/amanda/chg-disk"
"

I found the answer on the forums:
http://forums.zmanda.com/archive/index.php/t-470.html

In your amanda.conf, you need to define:
tapedev "file://path/to/your/slots"

Rob


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeanna Geier
Sent: Tuesday, May 29, 2007 3:01 PM
To: amanda-users@amanda.org
Subject: newbie ? - tapeless operation -> amlabel error


Hi All!

I'm new to Amanda and am trying to configure it for
tapeless operation using the instructions in the following
link:
http://amanda.sourceforge.net/fom-serve/cache/191.html. I'm
down to the labeling in step #5 'Use amlabel to label the
tapes'; however, when I run the amlabel command, I get the
following error:
[EMAIL PROTECTED]:/usr/src/amanda-2.5.2/sbin$ amlabel
DailySet3 DailySet301 slot 1
amlabel: could not load slot "1": could not read result
from "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"

I'm running VERSION 2.5.2 on Linux.

My 'amanda.conf' file:

... Stuff cut ...

runtapes 1 # number of tapes to be used in a single run of
amdump
tpchanger "/usr/src/amanda/etc/amanda/DailySet3/chg.disk" #
the tape-changer glue script
#tapedev "/dev/nst0" # the no-rewind tape device to be used
rawtapedev "/dev/null" # the raw device to be used (ftape
only)

... Stuff cut ...

--
Rob Echlin
Software Development Environment Prime
Espial IPTV
Rechlin -at- espial.com
Phone: +1 613-230-4770 ext 1150
www.espial.com

 Espial Group Inc. Confidential 
Important Notice: This communication is intended to be received only by
the individual or entity to whom or to which it is addressed and may
contain information that is privileged, confidential and/or subject to
copyright. Any unauthorized use, copying, review or disclosure of this
communication is strictly prohibited. If you have received this
communication in error, please delete the message and notify the sender
by reply email. Thank you for your cooperation.
 



Re: newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Jeanna Geier
Hello- Thank you for the reply.

"Are you *sure* you want your vtapes in /usr/src/amanda ?"
No - I'm not sure of anything for sure, I'm just trying to
get this running! =)  But, have not been successful!

I started with that HOWTO
(http://www.amanda.org/docs/howto-filedriver.html), and was
told that for testing, they wanted it to write to the
harddisk vs. tapes, so I found the other link; how do I
know what to parameters to change exactly?

Thanks!
-jg



On Tue, 29 May 2007 21:09:24 +0200
 "Stefan G. Weichinger" <[EMAIL PROTECTED]> wrote:
> Jeanna Geier schrieb:
> > Hi All!
> > 
> > I'm new to Amanda and am trying to configure it for
> > tapeless operation using the instructions in the
> following
> > link:
> > http://amanda.sourceforge.net/fom-serve/cache/191.html.
> I'm
> > down to the labeling in step #5 'Use amlabel to label
> the
> > tapes'; however, when I run the amlabel command, I get
> the
> > following error:
> > [EMAIL PROTECTED]:/usr/src/amanda-2.5.2/sbin$ amlabel
> > DailySet3 DailySet301 slot 1
> > amlabel: could not load slot "1": could not read result
> > from "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
> 
> Are you *sure* you want your vtapes in /usr/src/amanda ?
> 
> Apart from that I recommend the official howto:
> 
> http://www.amanda.org/docs/howto-filedriver.html
> 
> Your changerfile is wrong ... at least ... you dropped a
> load of
> information here ...
> 
> -- 
> Stefan G. Weichinger
> amanda core team member
> mailto:   [EMAIL PROTECTED]
> pgp:  3C64175D
> -- 
> oops! linux consulting & implementation
> http://www.oops.co.at
> -- 



Jeanna Geier
System Administrator
Webteam, Inc.
[EMAIL PROTECTED]
http://www.webteam.net

ph: 608.788.8100
fx: 608.788.6613
tf: 866.788.0023


newbie ? - tapeless operation -> amlabel error

2007-05-29 Thread Jeanna Geier
Hi All!

I'm new to Amanda and am trying to configure it for
tapeless operation using the instructions in the following
link:
http://amanda.sourceforge.net/fom-serve/cache/191.html. I'm
down to the labeling in step #5 'Use amlabel to label the
tapes'; however, when I run the amlabel command, I get the
following error:
[EMAIL PROTECTED]:/usr/src/amanda-2.5.2/sbin$ amlabel
DailySet3 DailySet301 slot 1
amlabel: could not load slot "1": could not read result
from "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"

I'm running VERSION 2.5.2 on Linux.

My 'amanda.conf' file:

org "DailySet3" # your organization name for reports
mailto "amanda" # space separated list of operators at your
site
dumpuser "amanda" # the user to run dumps under

inparallel 4 # maximum dumpers that will run in parallel
(max 63)
# this maximum can be increased at compile-time,
# modifying MAX_DUMPERS in server-src/driverio.h
dumporder "sssS" # specify the priority order of each
dumper
# s -> smallest size
# S -> biggest size
# t -> smallest time
# T -> biggest time
# b -> smallest bandwitdh
# B -> biggest bandwitdh
# try "BTBTBTBTBTBT" if you are not holding
# disk constrained

taperalgo first # The algorithm used to choose which dump
image to send
# to the taper.
# Possible values:
# [first|firstfit|largest|largestfit|smallest|last]
# Default: first.
# first First in - first out.
# firstfit The first dump image that will fit
# on the current tape.
# largest The largest dump image.
# largestfit The largest dump image that will fit
# on the current tape.
# smallest The smallest dump image.
# last Last in - first out.

displayunit "k" # Possible values: "k|m|g|t"
# Default: k.
# The unit used to print many numbers.
# k=kilo, m=mega, g=giga, t=tera

netusage 90 mbps # maximum net bandwidth for Amanda, in KB
per sec

dumpcycle 7 # the number of days in the normal dump cycle
#runspercycle 7 # the number of amdump runs in dumpcycle
days
# (4 weeks * 5 amdump runs per week -- just weekdays)
tapecycle 7 tapes # the number of tapes in rotation
# 4 weeks (dumpcycle) times 5 tapes per week (just
# the weekdays) plus a few to handle errors that
# need amflush and so we do not overwrite the full
# backups performed at the beginning of the previous
# cycle

bumpsize 20 Mb # minimum savings (threshold) to bump level
1 -> 2
bumppercent 20 # minimum savings (threshold) to bump level
1 -> 2
bumpdays 1 # minimum days at each level
bumpmult 4 # threshold = bumpsize * bumpmult^(level-1)

etimeout 600 # number of seconds per filesystem for
estimates.
dtimeout 1800 # number of idle seconds before a dump is
aborted.
ctimeout 30 # maximum number of seconds that amcheck waits
# for each client host

tapebufs 20 # A positive integer telling taper how many
# 32k buffers to allocate. The default is 20 (640k).

usetimestamps yes

runtapes 1 # number of tapes to be used in a single run of
amdump
tpchanger "/usr/src/amanda/etc/amanda/DailySet3/chg.disk" #
the tape-changer glue script
#tapedev "/dev/nst0" # the no-rewind tape device to be used
rawtapedev "/dev/null" # the raw device to be used (ftape
only)
#changerfile "/usr/src/amanda/etc/amanda/DailySet3/changer"
#changerfile
"/usr/src/amanda/etc/amanda/DailySet3/changer-status"
changerfile "/usr/src/amanda/etc/amanda/DailySet3/chg.disk"
#changerdev "/dev/sg3"

# Use with caution.
## label_new_tapes "DailySet1-%%%"

maxdumpsize -1 # Maximum number of bytes the planner will
schedule
# for a run (default: runtapes * tape_length).
tapetype HARD-DISK # what kind of tape it is (see tapetypes
below)
labelstr "^DailySet3[0-9][0-9]*$" # label constraint regex:
all tapes must match

amrecover_do_fsf yes # amrecover will call amrestore with
the
# -f flag for faster positioning of the tape.
amrecover_check_label yes # amrecover will call amrestore
with the
# -l flag to check the label.
amrecover_changer "/dev/null" # amrecover will use the
changer if you restore
# from this device.
# It could be a string like 'changer' and
# amrecover will use your changer if you
# set your tape with 'settape changer'

# Specify holding disks.
holdingdisk hd1 {
comment "main holding disk"
directory "/backup" # where the holding disk is
use -1000 Mb # how much space can we use on it
# a non-positive value means:
# use all space but that value
chunksize 1Gb # size of chunk if you want big dump to be
# dumped on multiple files on holding disks
# N Kb/Mb/Gb split images in chunks of size N
# The maximum value should be
# (MAX_FILE_SIZE - 1Mb)
# 0 same as INT_MAX bytes
}
#holdingdisk hd2 {
# directory "/dumps2/amanda"
# use 1000 Mb
# }
#holdingdisk hd3 {
# directory "/mnt/disk4"
# use 1000 Mb
# }


# If amanda cannot find a tape on which to stor

Re: Tapeless operation

2003-12-18 Thread Jon LaBadie
On Thu, Dec 18, 2003 at 02:18:40PM -0200, [EMAIL PROTECTED] wrote:
> Hi fellows,
> 
> OS: RH9
> AMANDA: 2.4.3
> 
> I configured AMANDA for tapeless operation but when amcheck runs its return 
> the followed error:
> 
> amcheck-server: could not get changer info: could not read result 
> from "/usr/lib/amanda/chg-disk"
> 
> My amanda.conf look as follow:
> 
> tapedev "file:/BACKUP2/slots/"
> rawtapedev "file:/BACKUP2/slots/"
> changerdev "/dev/null"
> tpchanger "chg-disk"
> 
> I've downloaded the chg-disk driver from 
> http://www.elysiria.org/projects/amanda/chg-disk.tgz
> 
> If I run amdump manually so Amanda mails me:
> 
> *** A TAPE ERROR OCCURRED: [new tape not found in rack].
> Some dumps may have been left in the holding disk.
> Run amflush to flush them to tape.
> The next tape Amanda expects to use is: a new tape.
>  
> Somebody help-me.
> I dont know what to do anymore.

Have you configured and labeled any virtual tapes?
Do you have a "tapelist" file with reasonable entries created by amlabel?
Can you use amtape to select a tape?

Even if you do not build and install the latest amanda version,
I'd encourage you to download it an take a look in the doc's directory.
There is a new "how-to" for disk based operations.

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


Tapeless operation

2003-12-18 Thread bjfarah
Hi fellows,

OS: RH9
AMANDA: 2.4.3

I configured AMANDA for tapeless operation but when amcheck runs its return 
the followed error:

amcheck-server: could not get changer info: could not read result 
from "/usr/lib/amanda/chg-disk"

My amanda.conf look as follow:

tapedev "file:/BACKUP2/slots/"
rawtapedev "file:/BACKUP2/slots/"
changerdev "/dev/null"
tpchanger "chg-disk"

I've downloaded the chg-disk driver from 
http://www.elysiria.org/projects/amanda/chg-disk.tgz

If I run amdump manually so Amanda mails me:

*** A TAPE ERROR OCCURRED: [new tape not found in rack].
Some dumps may have been left in the holding disk.
Run amflush to flush them to tape.
The next tape Amanda expects to use is: a new tape.
 
Somebody help-me.
I dont know what to do anymore.

Thanks

Beejay.






Re: tapeless operation

2003-08-14 Thread Matt Hyclak
On Tue, Jul 22, 2003 at 11:10:34AM -0700, Joseph Andorful enlightened us:
> I'm trying to configure amanda for tapeless operation.
>  Does anyone know of any other instructions for doing
> so besides what is posted on Amanda Faq-O-Matic?  I'm
> having a lot of problems, and I'm not sure where the
> errors are occuring.
> 

See http://groups.yahoo.com/group/amanda-users/message/45450 by Andreas
Ntaflos. 

Andreas - is there any way you could put this online somewhere that people
could more easily get to it?

Matt



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


pgp0.pgp
Description: PGP signature


RE: tapeless operation

2003-07-22 Thread Josh Welch
Joseph Andorful said:
>
> I'm trying to configure amanda for tapeless operation.
>  Does anyone know of any other instructions for doing
> so besides what is posted on Amanda Faq-O-Matic?  I'm
> having a lot of problems, and I'm not sure where the
> errors are occuring.
>

Look at the last message in this thread (link may wrap)
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&th=6a1625310bcd2
a1c&rnum=3



tapeless operation

2003-07-22 Thread Joseph Andorful
I'm trying to configure amanda for tapeless operation.
 Does anyone know of any other instructions for doing
so besides what is posted on Amanda Faq-O-Matic?  I'm
having a lot of problems, and I'm not sure where the
errors are occuring.

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com


Re: Tapeless Operation

2002-06-23 Thread Joshua Baker-LePain

On Wed, 21 Nov 2001 at 2:27pm, Rajasekhar Madasu wrote

> Does anyone know how to get AMANDA to backup to a holding disk and not
> have the tapes/tape drive in the equation atall ?
> 
Look in the archives for posts regarding the tapeio branch in CVS.  This 
lets you use files on disk as "tapes".  It's still experimental, but 
others seem to be using it in production.

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



Re: Tapeless operation

2002-06-23 Thread Joshua Baker-LePain

On Thu, 14 Mar 2002 at 12:38pm, Eric Zylstra wrote

> I have terrabytes of storage available via NFS.  I want to backup to 
> that NFS mount.  No tape will ever be involved.
> 
> I'm using 2.4.p2.  I've seen discussion before about doing such a thing 
> with older versions.

Using files on disk like tapes has only ever been supported in the 
2.4.2-tapeio branch of CVS, which (as I understand it) became 2.4.3b3.  So 
you'll need to go that route.  As I mentioned, details are in amanda(8) in 
that distrib.  Also, look through the recent mailing list archives -- this 
has been discussed a fair bit recently.

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



Re: Backup to disk drive (tapeless operation)

2002-06-10 Thread John D. Bickle

I am not sure if i have it working the best way, but it meets our needs, so here is 
one suggestion (i hope it is usefull to you).

1. compile, install and follow the instructions and configure amanda.conf to use the 
file driver instead of tape drivers (i can send you our amanda.conf if you need it). 
Most of the info you need is in the install doc.

2. create a directory for your backups, such as /var/spool/backup

3. Under this directory, put subdirectories which will correspond with the 'tapes', or 
the day's backups. In our config, i have named them according to the date, such as 
20020609, 20020610, etc.

4. make a symbolic link called 'data' and link it to the directory which will hold the 
days backups.

5. using amlabel, label the daily backup directory, (eg. amlabel DailySet1 
DailyBackup20020610), which will write a bit if info in the directory as if it was 
labelling a tape.

6. Run the day's backups.

7. when your backup is complete, unlink 'data' and link it to the new directory you 
will then use for the next day's backups.

8. I made this process a bit more automated by writing a shell script which 
accomplishes these tasks each night before the backups run out of cron.

It seems to work fine for us, and i would be happy to answer with more details if you 
need it.

good luck!

cheers,
john.

Jeremy Koski wrote:
> 
> 
> I read somewhere that the ability to back up directly to a hard drive
> rather than tape exists in 2.4.3. Could somebody point me in the right
> direction on how to set this up? I looked through the amanda.conf and
> searched through the documentation, but couldn't find anything that would
> relate to this.
> 
> 
> Thank you.
> 
> Sincerely,
> Jeremy Koski
> 




Backup to disk drive (tapeless operation)

2002-06-10 Thread Jeremy Koski



I read somewhere that the ability to back up directly to a hard drive
rather than tape exists in 2.4.3. Could somebody point me in the right
direction on how to set this up? I looked through the amanda.conf and
searched through the documentation, but couldn't find anything that would
relate to this.


Thank you.

Sincerely,
Jeremy Koski





Re: Amanda and tapeless operation.

2002-03-16 Thread Joshua Baker-LePain

On Sat, 16 Mar 2002 at 6:53pm, Anders Olausson wrote

> Is it possible to setup Amanda for a complete tapeless operation?

Yes.

> I don't have any tapedevice so I want to do my backups to a big disk.
> 
> How? :)

Download 2.4.3b3 and read the relevant bits of man/amanda(8).  Also, 
search the archives of this list, where this has been discussed quite a 
bit recently.

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




Amanda and tapeless operation.

2002-03-16 Thread Anders Olausson

Hi,

Is it possible to setup Amanda for a complete tapeless operation?

I don't have any tapedevice so I want to do my backups to a big disk.

How? :)

Thanks in advance
  //Anders





Re: Tapeless operation

2002-03-14 Thread Joshua Baker-LePain

On Thu, 14 Mar 2002 at 12:38pm, Eric Zylstra wrote

> I have terrabytes of storage available via NFS.  I want to backup to 
> that NFS mount.  No tape will ever be involved.
> 
> I'm using 2.4.p2.  I've seen discussion before about doing such a thing 
> with older versions.

Using files on disk like tapes has only ever been supported in the 
2.4.2-tapeio branch of CVS, which (as I understand it) became 2.4.3b3.  So 
you'll need to go that route.  As I mentioned, details are in amanda(8) in 
that distrib.  Also, look through the recent mailing list archives -- this 
has been discussed a fair bit recently.

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




Re: Tapeless operation

2002-03-14 Thread Eric Zylstra


On Wednesday, March 13, 2002, at 01:34 PM, Joshua Baker-LePain wrote:

> On Wed, 13 Mar 2002 at 1:21pm, Eric Zylstra wrote
>
>> I've been looking, but don't know where to find info about tapeless
>> use.  The FAQ has an entry on this, but no answer.  Any pointers?
>>
> Do you mean degraded mode (i.e. you usually use a tape, but one wasn't 
> in)
> or the file: driver?  If the latter, you need 2.4.3b3 (or whatever the
> latest is), and info you need is in amanda(8).  If the latter, just set
> reserve to something greater than 0 and have at it.
>

I have terrabytes of storage available via NFS.  I want to backup to 
that NFS mount.  No tape will ever be involved.

I'm using 2.4.p2.  I've seen discussion before about doing such a thing 
with older versions.

Thanks,

EZ






Re: Tapeless operation

2002-03-13 Thread Joshua Baker-LePain

On Wed, 13 Mar 2002 at 1:21pm, Eric Zylstra wrote

> I've been looking, but don't know where to find info about tapeless 
> use.  The FAQ has an entry on this, but no answer.  Any pointers?
> 
Do you mean degraded mode (i.e. you usually use a tape, but one wasn't in) 
or the file: driver?  If the latter, you need 2.4.3b3 (or whatever the 
latest is), and info you need is in amanda(8).  If the latter, just set 
reserve to something greater than 0 and have at it.

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




Tapeless operation

2002-03-13 Thread Eric Zylstra

I've been looking, but don't know where to find info about tapeless 
use.  The FAQ has an entry on this, but no answer.  Any pointers?

Thanks,

Eric Zylstra




Re: ...finally seem to have tapeless operation working...

2001-11-28 Thread Adam Haberlach

On Wed, Nov 28, 2001 at 12:58:08PM -0500, Jon LaBadie wrote:
> On Wed, Nov 28, 2001 at 06:24:32AM -0500, Joshua Baker-LePain wrote:
> > On Tue, 27 Nov 2001 at 4:09pm, someone else wrote
> > 
> > > Is there any chance that real documentation (other then the FAQ-O-MATIC)
> > > will ever be produced for Amanda?  I had a hell of a time figuring things
> > > out, and I'm far from stupid.
> > 
> > Err, do you mean beyond docs/INSTALL and "the chapter" at 
> > www.backupcentral.com?  Those got me going, along with this list.
> > 
> >>> End of included message <<<
> 
> I'm getting testy in my senior years.  But it annoys me that many
> pre-packaged amanda's do not supply the docs provided in the source
> and/or new users do not look for them.
> 
> I just took a look at my amanda distribution tree.
> 
>   100+ Kb  of man pages under "man" dir
>   100+ Kb  of sample config files under "example" dir
>   200+ Kb  of how-to and other information under "docs" dir
> 
> Could they be better/extended/updated?  Sure.  And as Joshua wrote:
> 
> > All that having been said, and in the true OSS tradition, feel free to 
> > write more/better documentation.
> 
> Or code :))

Well, the code is already quite readable.  My main complaint is that the
online resources (other then "The Book", which seems to be better now that
I've looked at it a bit) are pretty scattered and hard to get to from the
www.amanda.org site.

I also don't like the reliance on sample configs, especially when they
say "This config won't work without being modified" at the top.

I don't have any easy solutions at the moment, but I found myself using
Google way too much to find information from all sorts of places in order
to get things working.   I'll keep it in mind and maybe work on putting
together something a little better, in my copious spare time.


-- 
Adam Haberlach | Computer science has the unfortunate characteristic
[EMAIL PROTECTED]| that many of the pioneers of the field are still
   | alive and doing research.
   |-- Adam Rifkin



Re: ...finally seem to have tapeless operation working...

2001-11-28 Thread Jon LaBadie

On Wed, Nov 28, 2001 at 06:24:32AM -0500, Joshua Baker-LePain wrote:
> On Tue, 27 Nov 2001 at 4:09pm, someone else wrote
> 
> > Is there any chance that real documentation (other then the FAQ-O-MATIC)
> > will ever be produced for Amanda?  I had a hell of a time figuring things
> > out, and I'm far from stupid.
> 
> Err, do you mean beyond docs/INSTALL and "the chapter" at 
> www.backupcentral.com?  Those got me going, along with this list.
> 
>>> End of included message <<<

I'm getting testy in my senior years.  But it annoys me that many
pre-packaged amanda's do not supply the docs provided in the source
and/or new users do not look for them.

I just took a look at my amanda distribution tree.

100+ Kb  of man pages under "man" dir
100+ Kb  of sample config files under "example" dir
200+ Kb  of how-to and other information under "docs" dir

Could they be better/extended/updated?  Sure.  And as Joshua wrote:

> All that having been said, and in the true OSS tradition, feel free to 
> write more/better documentation.

Or code :))

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



Re: ...finally seem to have tapeless operation working...

2001-11-28 Thread Joshua Baker-LePain

On Tue, 27 Nov 2001 at 4:09pm, Adam Haberlach wrote

> Is there any chance that real documentation (other then the FAQ-O-MATIC)
> will ever be produced for Amanda?  I had a hell of a time figuring things
> out, and I'm far from stupid.

Err, do you mean beyond docs/INSTALL and "the chapter" at 
www.backupcentral.com?  Those got me going, along with this list.  Also 
keep in mind that the tapeio branch is not officially a released product.
All that having been said, and in the true OSS tradition, feel free to 
write more/better documentation.

> On to other things, however, are there plans for a more secure and/or TCP
> transport for amanda?  I'm going to be pulling backups off of a colocated
> server, and it would be nice if it could be tunneled or used a better
> method for authentication...

See the recent thread on 'secure' amanda.

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





...finally seem to have tapeless operation working...

2001-11-27 Thread Adam Haberlach

This seems to be the magic document that has almost all the information
that I needed.

http://www.mail-archive.com/amanda-users@amanda.org/msg07758.html

Is there any chance that real documentation (other then the FAQ-O-MATIC)
will ever be produced for Amanda?  I had a hell of a time figuring things
out, and I'm far from stupid.

---

On to other things, however, are there plans for a more secure and/or TCP
transport for amanda?  I'm going to be pulling backups off of a colocated
server, and it would be nice if it could be tunneled or used a better
method for authentication...

-- 
Adam Haberlach | Computer science has the unfortunate characteristic
[EMAIL PROTECTED]| that many of the pioneers of the field are still
   | alive and doing research.
   |-- Adam Rifkin



Re: rewind problem with tapeless operation.

2001-11-27 Thread Mitch Collinsworth


On Tue, 27 Nov 2001, Chris Freeman wrote:

> [amanda@jabba amanda]$ /usr/local/sbin/amlabel DiskDump DiskDump00
> rewinding
> amlabel: tape_rewind: rewinding tape: file:/backup/DiskDump:
> Input/output error

tapeio was motivated by the desire to be able to debug amanda
code without the need of a tape drive.  That it can also be
used to run backups without a tape drive is a secondary benefit.
I think it's for this reason that tapeio goes to great lengths
to simulate a tape drive as closely as possible.  Hence it is
designed to perform all normal tape operations such as labelling
a "tape", having to be rewound before reading or writing a "tape",
etc.

The "no-rewind device" that you specify in the conf file is not a
device that doesn't need to be rewound, it's the no-rewind device
file for your tape drive.  In unix-speak this is the access method
that does not automatically rewind the tape drive each time it is
used.  Software accessing the tape drive through this device file
needs to explicitly request a rewind operation when it is desired.
In the case of tapeio the "device file" is a directory, but when
the time comes for a rewind, tapeio does in fact simulate a rewind
operation on the simulated tape drive.

With that background behind us, the error you're getting sounds
to me like a directory or file permission problem.  I'd suggest
double-checking all your file/directory ownership/group/permission
settings.

-Mitch




rewind problem with tapeless operation.

2001-11-26 Thread Chris Freeman

Hello all,
I am trying to configure amanda to run without a tapedrive, so that it
backups up to a disk partition.
So far I have downloaded amanda 2.4.2p2-tapeio, and installed it as per
INSTALL file, then I configured amanda as per Clintons email to this
list: http://groups.yahoo.com/group/amanda-users/message/29732

When I go to run amlabel or anything else for that matter I get the
error:

[amanda@jabba amanda]$ /usr/local/sbin/amlabel DiskDump DiskDump00
rewinding
amlabel: tape_rewind: rewinding tape: file:/backup/DiskDump:
Input/output error

I am new to amanda and apologise for anything simple that I am not
understanding, but I thought that by specifing tapedev I indicated that
I did not wish to rewind the device (as implied by # the no-rewind tape
device etc).

has anyone encountered this problem before and if so do they know what
is going on here?

much appreciation for any help offered.
Chris Freeman.

my amanda.conf file includes:

#runtapes 1 # number of tapes to be used in a single run of
amdump
#tpchanger "chg-manual" # the tape-changer glue script
tapedev "file:/backup/DiskDump" # the no-rewind tape device to be used
#rawtapedev "/dev/null" # the raw device to be used (ftape only)
#changerfile "/usr/adm/amanda/DailySet1/changer"
#changerfile "/usr/adm/amanda/DailySet1/changer-status"
#changerfile "/usr/local/etc/amanda/DailySet1/changer.conf"
#changerdev "/dev/null"
tapetype HARD-DISK  # what kind of tape it is (see tapetypes
below)
labelstr "^DiskDump[0-9][0-9]*$"# label constraint regex: all
tapes must match
...
holdingdisk sdb1 {
comment "main holding disk"
directory "/backup/HoldingDisk" # where the holding disk is
use 290 Mb  # how much space can we use on it
# a non-positive value means:
#use all space but that value
chunksize 1Gb   # size of chunk if you want big dump to be
# dumped on multiple files on holding disks
#  N Kb/Mb/Gb split images in chunks of size N
# The maximum value should be
# (MAX_FILE_SIZE - 1Mb)
#  0  same as INT_MAX bytes
}
...
define tapetype HARD-DISK {
comment "hard-disk"
length 5 mbytes
}

is there anything else that is relavent to the problem?



Re: Tapeless Operation

2001-11-21 Thread Ben Coman

do you mean doing incremental or full backups?

Rajasekhar Madasu wrote:
> 
> Hi
> 
> Does anyone know how to get AMANDA to backup to a holding disk and not
> have the tapes/tape drive in the equation atall ?
> 
> Thanks in advance
> Madasu



Re: Tapeless Operation

2001-11-21 Thread Joshua Baker-LePain

On Wed, 21 Nov 2001 at 2:27pm, Rajasekhar Madasu wrote

> Does anyone know how to get AMANDA to backup to a holding disk and not
> have the tapes/tape drive in the equation atall ?
> 
Look in the archives for posts regarding the tapeio branch in CVS.  This 
lets you use files on disk as "tapes".  It's still experimental, but 
others seem to be using it in production.

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




Tapeless Operation

2001-11-20 Thread Rajasekhar Madasu

Hi

Does anyone know how to get AMANDA to backup to a holding disk and not
have the tapes/tape drive in the equation atall ?

Thanks in advance
Madasu




Re: Backing up to disk (tapeless operation)

2001-03-07 Thread John R. Jackson

>Reading over the documentation, I have been unable to
>discern how, or even if, one would backup clients
>directly to disk.  ...

In addition to the comments from Johannes Niess, there is experimental
(but stable, from all accounts) code in the Amanda CVS tree based on
2.4.2 that allow you to treat a directory as a pseudo tape.  This has
some advantages over the "leave it in the holding disk" approach because
Amanda will do a better job of incrementals.

The branch to get is amanda-242-tapeio.

>Nate Getrich

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]



Re: Backing up to disk (tapeless operation)

2001-03-07 Thread Johannes Niess

Nate Getrich <[EMAIL PROTECTED]> writes:

> Reading over the documentation, I have been unable to
> discern how, or even if, one would backup clients
> directly to disk.  I am fortunate to have the luxury
> of having copious amounts of disk space and would
> prefer to not deal with tapes at all.  If I have
> configured a filesystem for each client host, is it
> possible to configure Amanda to store backup images
> directly to these local filesystems rather than
> writing to tape?
> 
> Any suggestions or redirections would be greatly appreciated.

Nate,

the tape device in these cases is "/dev/nosuchdevice" or any other
nonexisting device. Writing dumps to tape fails, and data is left in
the holding disk (your huge file system). Amanda can do recoveries
from the holding disk. I'd use one directory per configuration, not
per client.

As the subdirectories in the holding disk (named after date in
MMDD format) get created, you'll need a little script to remove
the outdated ones.

Unless you want long time archiving, you might avoid using tapes. Tape
is a lot cheaper per gigabyte than disks. And saver, too.

Johannes Niess




Backing up to disk (tapeless operation)

2001-03-07 Thread Nate Getrich

Reading over the documentation, I have been unable to
discern how, or even if, one would backup clients
directly to disk.  I am fortunate to have the luxury
of having copious amounts of disk space and would
prefer to not deal with tapes at all.  If I have
configured a filesystem for each client host, is it
possible to configure Amanda to store backup images
directly to these local filesystems rather than
writing to tape?

Any suggestions or redirections would be greatly appreciated.

=
XOXOXOXOXOXOXOXOXOXOXOXOXOXOXOXXOXOXOXOXOXOXOXOXOXOXOXOXOXOX
"Who steals my purse steals trash: 'tis something, nothin, 'twas mine, 'tis his, and 
has been slave to thousands. But he who filches
from me my good name, robs me of that which not enriches him and makes me poor indeed"
-- William Shakespeare

Nate Getrich
[EMAIL PROTECTED]

__
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/