Re: wrong link to 3.1.1 on download page

2010-08-25 Thread Tom Schutter
It is still broken.

On Tue 2010-08-24 17:03, Paddy Sreenivasan wrote:
> Hi Tom,
> 
> Thanks for reporting it. It has been fixed.
> 
> Paddy
> 
> On Tue, Aug 24, 2010 at 3:23 PM, Tom Schutter  wrote:
> > On http://amanda.org/download.php, what should be a link to 3.1.1 is
> > actually a link to 3.1.2.  The tag and branch links are OK, it is just
> > the "Release" link that is wrong.
> >
> > --
> > Tom Schutter
> > t.schut...@comcast.net
> >

-- 
Tom Schutter
t.schut...@comcast.net


3.1.2 Windows binary

2010-08-24 Thread Tom Schutter
Does anyone know when the 3.1.2 Windows binary will be available?  It is
not listed at http://www.zmanda.com/download-amanda.php

-- 
Tom Schutter
t.schut...@comcast.net


wrong link to 3.1.1 on download page

2010-08-24 Thread Tom Schutter
On http://amanda.org/download.php, what should be a link to 3.1.1 is
actually a link to 3.1.2.  The tag and branch links are OK, it is just
the "Release" link that is wrong.

-- 
Tom Schutter
t.schut...@comcast.net


Re: What is the best way to duplicate a tape?

2006-04-18 Thread Tom Schutter
On Mon, 2006-04-17 at 16:01 -0400, Jon LaBadie wrote:
> On Mon, Apr 17, 2006 at 01:35:04PM -0600, Tom Schutter wrote:
> > I was wondering if anyone can tell be the best way to duplicate an
> > Amanda tape on a Linux box.  I will have two identical tape drives.  I
> > would much prefer to use standard UNIX commands.  The program "tcopy"
> > would be perfect, but it is not available on Debian, it a google search
> > indicates that is has problems.
> > I would think that "dd" could do the trick, but what is the correct
> > incantation?
> > 
> 
> tcopy was going to be my suggestion until you said you were
> not using Solaris :(  Is tcopy available on any other OS?
> 
> If you know the tape block size (amanda's is 32K) then
> I think it would be:
> 
>   dd bs=32k if=/dev/ of=/dev/
> 
> where xxx are the no compression devices or with compression
> turned off.
> 
> As I type this I realize that dd will only copy the first
> tape file.  So this will have to loop.  And you will need
> to use the no-rewind device.  So something like:
> 
>   $ mt -f /dev/n rewind
>   $ mt -f /dev/n rewind
> 
>   $ while dd bs=32k if=/dev/n of=/dev/n
>   > do
>   >   :   # a colon == no-op command
>   > done
> 
> dd returns 0 on successful copy, non-zero on failure.
> The loop should terminate when the input fails at EOT.

Perfect, just what I needed.  For the archives, a slight improvement (so
the command is easier to repeat):
  while dd bs=32k if=/dev/n of=/dev/n ; do : ; done
-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



What is the best way to duplicate a tape?

2006-04-17 Thread Tom Schutter
I was wondering if anyone can tell be the best way to duplicate an
Amanda tape on a Linux box.  I will have two identical tape drives.  I
would much prefer to use standard UNIX commands.  The program "tcopy"
would be perfect, but it is not available on Debian, it a google search
indicates that is has problems.
I would think that "dd" could do the trick, but what is the correct
incantation?

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



Re: tapecycle and the doc

2005-03-17 Thread Tom Schutter
On Tue, 2005-03-15 at 23:52 +0100, Stefan G. Weichinger wrote:
> Hi, Tom,
> 
> on Dienstag, 15. März 2005 at 23:32 you wrote to amanda-users:
> 
> TS> On Tue, 2005-03-15 at 10:25 -0700, Tom Schutter wrote:
> >> On Tue, 2005-03-15 at 01:03 -0500, Jon LaBadie wrote:
> >> > While amanda is always willing to use a new tape in its rotation,
> >> > it refuses to reuse a tape until at least 'tapecycle' number of
> >> > other tapes have been used.
> 
> TS> Ooops.  I think that should be:
> TS>  While amanda is always willing to use a new tape in its rotation,
> TS>  it refuses to reuse a tape until at least 'tapecycle-1' number of
> TS>  other tapes have been used.
> 
> 10 points for that.

In case you forgot, it does not appear to be fixed here yet:
  http://www.amanda.org/docs/amanda.8.html

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)




Re: tapecycle and the doc

2005-03-15 Thread Tom Schutter
On Tue, 2005-03-15 at 10:25 -0700, Tom Schutter wrote:
> On Tue, 2005-03-15 at 01:03 -0500, Jon LaBadie wrote:
> > While amanda is always willing to use a new tape in its rotation,
> > it refuses to reuse a tape until at least 'tapecycle' number of
> > other tapes have been used.

Ooops.  I think that should be:
 While amanda is always willing to use a new tape in its rotation,
 it refuses to reuse a tape until at least 'tapecycle-1' number of
 other tapes have been used.

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)




Re: tapecycle and the doc

2005-03-15 Thread Tom Schutter
On Tue, 2005-03-15 at 01:03 -0500, Jon LaBadie wrote:
> On Mon, Mar 14, 2005 at 09:14:43AM -0700, Tom Schutter wrote:
> > Here is my bad attempt at an improvement, please do not use it verbatim:
>
> Here is my attempt at a revision:
> 
> tapecycle int
> Default: 15 tapes.  Typically tapes are used by amanda in
>   an ordered rotation.  The tapecycle parameter defines the
>   size of that rotation.  The number of tapes in rotation must
>   be larger than the number of tapes required for a complete
>   dump cycle (see the dumpcycle parameter). This is calculated
>   by multiplying the number of amdump runs per dump cycle
>   (runspercycle parameter) times the number of tapes used per
>   run (runtapes parameter).  Typically two to four times this
>   calculated number of tapes are in rotation.
> 
>   While amanda is always willing to use a new tape in its rotation,
>   it refuses to reuse a tape until at least 'tapecycle' number of
>   other tapes have been used.  It is considered good administrative
>   practice to set the tapecycle parameter slightly lower than the
>   actual number of tapes in rotation.  This allows the administrator
>   to more easily cope with damaged or misplaced tapes or schedule
>   adjustments that call for slight adjustments in the rotation order.

Your attempt is far better than mine, and it says what I meant.

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)




tapecycle and the doc

2005-03-14 Thread Tom Schutter
I had some questions regarding tapecycle, and after reading the man
page and the doc (old and new), I think that they fall short on
describing what tapecycle should be set to.  The minimum value of
tapecycle is well covered, but not the maximum value, and how
tapecycle should relate to the number of tapes that have been
labeled.

>From the man page:
   tapecycle int
  Default: 15 tapes.  The  number  of  tapes  in  the
  active  tape  cycle.   This  must  be  at least one
  larger than the number of Amanda runs done during a
  dump  cycle (see the dumpcycle parameter) times the
  number of tapes used  per  run  (see  the  runtapes
  parameter).

  For  instance,  if dumpcycle is set to 14 days, one
  Amanda run is done every day (Sunday through Satur-
  day),  and  runtapes  is set to one, then tapecycle
  must be at least 15 (14 days * one  run/day  *  one
  tape/run + one tape).

  In practice, there should be several extra tapes to
  allow for schedule adjustments or  disaster  recov-
  ery.

So what is an "active tape cycle"?  That is never defined anywhere.

Although the last sentence is correct and it makes sense, it does not
explain how tapecycle should relate to the actual number of labeled
tapes.

Here is my bad attempt at an improvement, please do not use it verbatim:

  You must have at least tapecycle tapes labeled, but you can have
  more.  By labeling extra tapes, you can allow for schedule
  adjustments or disaster recovery.  For example, lets say that your
  tapecycle is set to 20 and you have 20 labeled tapes.  If you
  discover that tape #5 that you are about to put in the drive is bad,
  your only alternative is to immediately label a new replacement
  tape.  If tapecycle was 20 and you had 25 labeled tapes, then you
  could put tape #6 in the drive and deal with the problem later.

  On the other hand, if the number of labeled tapes greatly exceeds
  tapecycle, then AMANDA (insert inefficiency issue here).

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)




Re: columm widths in daily mail report

2003-01-30 Thread Tom Schutter
On Thu, 2003-01-30 at 13:16, Darin Dugan wrote:
> At 01:33 PM 1/30/2003, Joshua Baker-LePain wrote:
> >On Thu, 30 Jan 2003 at 2:16pm, Mitch Collinsworth wrote
> >
> > > On Thu, 30 Jan 2003, Joshua Baker-LePain wrote:
> > >
> > > > On Thu, 30 Jan 2003 at 12:47pm, Don Carlton wrote
> > > >
> > > > > Has anyone changed the mail report to produce html?
> > > >
> > > > Oh, the horror!  ;)
> > >
> > > Agreed if sent by e-mail,  but if it were instead dumped into a web-served
> > > directory...
> >
> >Well, IMO it's still unnecessary.  Webservers serve out plain text just
> >fine.
> >
> >Sometimes I feel like such a curmudgeon.
> 
> Agreed. (the first part, not the curmudgeon) But there's a difference 
> between needed features and desired features. HTML formatted reports 
> probably fall into the desired category.
> 
> That said, web-based Amanda reports could be useful for those who would 
> rather check a central web site than read yet another piece of mail. My 
> first order of business in the day is to open a central console that fires 
> off to MRTG graphs, big brother reports, a call database, etc. Amanda could 
> be another one of those.

A good reason to have HTML reports is features, not prettyness.  Use the
hypertext part of HTML.

For example, error messages could be links to doc that explains in
detail what the error means, and how to fix it.

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)




Re: Trouble getting SAMBA to work with AMANDA

2002-12-05 Thread Tom Schutter
I pulled this comment from my disklist file:
# PCs via Samba
# If you edit this section, you must also edit ./amandapass
# To test a new entry, use the commands:
# smbclient '\\HOST\backup' PASSWORD -d 3 -U USER -c 'recurse;dir'
# amcheck -c daily

The smbclient command is what the estimation phase sends to the PC.
By running it from a command prompt, you usually can find the problem.
Don't forget to replace HOST, PASSWORD, and USER when running the
command.

On Thu, 2002-12-05 at 14:38, Jeffery Smith wrote:
> I will give that a try tomorrow (the ntbackup approach).  Sounds like a
> great idea.
> 
> I double checked the "backup" account on the Win2k box.  It is in the
> administrators group, so I am fairly certain is has full control.  I
> failed to mention in my last reply that the drive on this one is NTFS,
> not FAT.  Your ntbackup approach sounds perfect as I believe that would
> preserve all the permissions.  I am not sure how the smbclient approach
> handles permissions, etc.  I will try the backup again tomorrow with a
> subdirectory instead of the entire disk.  If I can get that to work, I
> will use your ntbackup idea.
> 
> I also checked the Win95 box again and I have the share set to
> full-control.  I'm not sure what is going on there.  Of course this
> drive is FAT32.
> 
> I am completely baffled.  If I mount the shares on zeus, I have no
> problems.  I can move around and copy files and everything seems fine. 
> I didn't think of checking the samba lists...I will take a peek over
> there tomorrow, too...it's been a long day.
> 
> Thanks again for your help!
> 
> Jeff
> 
> On Thu, 2002-12-05 at 16:25, Richard B. Tilley (Brad) wrote:
> > On the 2000 box, be certain that the user that smbclient uses to access
> > the share has full-control over the files within that share. In order to
> > avoid this problem, I us ntbackup to create an archive of all the files
> > that I want backed-up and then only allow access to the user that
> > amanda/smbclient uses to get to that file. And, I give that user
> > full-control. If possible, it's best to create a separate partition 
> > formated NTFS so you can control access.
> > 
> > I do this on 75 2000 boxes without problems. I have an old 95 box that
> > used to display the same error that you listed, but when I set its share
> > to full-control, the error  stopped and amanda worked just fine. I read
> > someplace once (a long time ago) that the user that smbclient uses to
> > access the shares has to have write/change ability in order to do
> > incrementals.
> > 
> > Maybe someone else (more familiar with this) can go into this more. Try
> > the samba list too.
> > 
> 
> -- 
> +--------+
> | Jeffery Smith - Systems Administrator - [EMAIL PROTECTED] |
> | Sky Computers, Inc. (www.skycomputers.com) |
> ++
> 
-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)




Re: OpenBSD and GnuTar

2002-06-12 Thread Tom Schutter

Amanda 2.4.2p2 has been in the OpenBSD ports tree since 2.9.
You can either use the port (misc/amanda), or look at the port makefile
to see the configuration options.

On Wed, 2002-06-12 at 12:22, Lalo Castro wrote:
> Hi,
>   I would like to be able to use gnutar (gtar) on an amanda 2.4.2p2 client 
> running OpenBSD 2.9.  Is there a problem with OpenBSD running amandad 
> running gtar?  Are there configuration options I should include when 
> compiling amanda to get Gnutar running on an OpenBSD client?  Has anyone 
> else had experience running amanda on an OpenBSD machine?
>   Make-ing the amanda configuration does not include the GNUTAR option, 
> even when explicitly included (as #./configure 
> --with-gnutar=/usr/local/bin/gtar).  The 'tell' is; when amandad gets 
> called and makes the amandad.DATE file in /tmp/amanda, the amandad.DATE 
> file does not have that GNUTAR="/usr/local/bin/gtar" entry in it's list 
> of options.
>   Installation on the other clients have produced knowledge of gnutar, even 
> when not explicitly configured.  However, none of the other clients are 
> OpenBSD (2 FreeBSD and a RH Linux).
>   OpenBSD includes a port for gtar, so I don't think the problem is with 
> OpenBSD itself.
>   There are other gnutar options that could be included in the compilation, 
> but I'm not sure what they do.  --with-gnutar-listdir=DIR and 
> --with-gnu-ld.  Has anyone used these options?
>   Rewriting the calcsize program might work, but that seems awfully deep to 
> go for Gnutar.  The calcsize is what returns the "GNUTAR is not 
> available on this system." error.
>   I would really like to be able to use the functionality of tar with my 
> downloads.
>   Thanks in advance,
>   Lalo
> 
-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)




Re: Tape stuck

2001-10-02 Thread Tom Schutter

Yes, you must label the tapes before Amanda can use them.  But when I
try to label a tape that has not been labeled before, then I get the
"Input/output" errors on my ADR30 drive.

Note that the "mt offline" command will not eject a tape from an ADR30
drive.  It will rewind the tape, but not eject it.

[EMAIL PROTECTED] wrote:
> 
> Actually, Amanda can't use tapes that hasn't been previously labeled by
> amlabel.
> 
> As for me, for ejecting the tape, I use to issue "mt offline -f /dev/nst0"
> 
> En réponse à Tom Schutter <[EMAIL PROTECTED]>:
> 
> > I have a ADR30 and have similar problems.
> >
> > The "Input/output" errors seemed to go away for me once I used amlabel
> > to label the tape.  In other words, it seemed to give the errors only
> > when the tape had never been written to.
> >
> > As for ejecting the tape, my solution has been to try multiple
> > "mt rewind" commands.  When I press the eject button, the light flashes
> > but then nothing happens.  But if I do a few "mt rewind" commands, then
> > the eject button works.
> >
> > Radu Filip wrote:
> > >
> > > Hi!
> > >
> > > By two days I've got "Input/output" error everytime amanda tries to
> > backup
> > > or just check if proper tape is inserted. The same errors occurs if I
> > try
> > > to manually rewind or retension the tape.
> > >
> > > I'm located in Romania and my server is in US, so I cannot figure out
> > > what's happens. But a guy from copmany that colocate the server told
> > me
> > > the he was not able to eject the tape! So how to proceed in this
> > > situation?
> > >
> > > I know it's not directly related to Amanda, but I don't know anyother
> > > place where to ask and I assume that there are peoples here that could
> > > have an advice for me.
> > >
> > > Thank you in advance,
> > >   Radu Filip
> > >
> > > ------ Forwarded message --
> > > Date: Tue, 18 Sep 2001 14:22:59 -0400
> > > From: [EMAIL PROTECTED]
> > > To: radu Filip <[EMAIL PROTECTED]>
> > > Subject: Re: Please check the tape
> > >
> > > Radu,
> > >
> > > he tape is not ejecting at all.  I have tried to eject the tape two
> > times
> > > and it still has not ejected.
> > >
> > > How would you like us to proceed from here??
> >
> > --
> > Tom Schutter (mailto:[EMAIL PROTECTED])
> > Platte River Associates, Inc. (http://www.platte.com)
> >

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



Re: Tape stuck

2001-09-19 Thread Tom Schutter

1) There is no power switch on a ADR30 drive.

2) The ADR30 manual is too thin to answer this question.

Radu Filip wrote:
> 
> On 19 Sep 2001, Gene Heskett wrote:
> 
> > >By two days I've got "Input/output" error everytime amanda tries to backup
> > >or just check if proper tape is inserted. The same errors occurs if I try
> > >to manually rewind or retension the tape.
> 
> This trisk is doesn't worked.
> 
> A question for you, guys: ADR50 tape drive can be turned off and then on
> without rebooting the server or not? Please remember that I'm located on
> another continent than the server and I don't have access to manuals and
> to tape drive.
> 
> Thx,
>   Radu

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



Re: Tape stuck

2001-09-19 Thread Tom Schutter

I have a ADR30 and have similar problems.

The "Input/output" errors seemed to go away for me once I used amlabel
to label the tape.  In other words, it seemed to give the errors only
when the tape had never been written to.

As for ejecting the tape, my solution has been to try multiple
"mt rewind" commands.  When I press the eject button, the light flashes
but then nothing happens.  But if I do a few "mt rewind" commands, then
the eject button works.

Radu Filip wrote:
> 
> Hi!
> 
> By two days I've got "Input/output" error everytime amanda tries to backup
> or just check if proper tape is inserted. The same errors occurs if I try
> to manually rewind or retension the tape.
> 
> I'm located in Romania and my server is in US, so I cannot figure out
> what's happens. But a guy from copmany that colocate the server told me
> the he was not able to eject the tape! So how to proceed in this
> situation?
> 
> I know it's not directly related to Amanda, but I don't know anyother
> place where to ask and I assume that there are peoples here that could
> have an advice for me.
> 
> Thank you in advance,
>   Radu Filip
> 
> -- Forwarded message --
> Date: Tue, 18 Sep 2001 14:22:59 -0400
> From: [EMAIL PROTECTED]
> To: radu Filip <[EMAIL PROTECTED]>
> Subject: Re: Please check the tape
> 
> Radu,
> 
> he tape is not ejecting at all.  I have tried to eject the tape two times
> and it still has not ejected.
> 
> How would you like us to proceed from here??

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



Re: does anyone know the config for HP-DAT40

2001-05-30 Thread Tom Schutter

define tapetype HP-SURESTORE-DAT40 {
comment "just produced by tapetype program"
length 19560 mbytes
filemark 1147 kbytes
speed 2957 kps
}

> richard wrote:
> 
> Dear sir,
>   I have bought another tope of HP:
> HP-DAT40
> Does anyone know the tapetype of HP-DAT40 for my conf file
> amanda.conf?
>Thanks.
> 
> Yours,
> Richard Ao
> 
> 

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



Re: holding space estimates

2001-05-07 Thread Tom Schutter

FYI, I have run into this problem as well.  In my case it was when
my "holding disk" was actually just a subdirectory.  It just so happened
to be on the same partition as /tmp.  So even though nothing else of
significance was running, Amanda was getting into a fight with herself.

"John R. Jackson" wrote:
> 
> >Ideally amanda should look every time a chunk is written to disk how much
> >space ios free ...
> 
> That's probably a good idea.  I've added it to the TODO list.
> 
> >Gerhard den Hollander
> 
> John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



Where is kerberos support for 2.4.2p2?

2001-05-04 Thread Tom Schutter

On the FTP site, all I see is:
  amanda-krb4-2.4.0-2.4.0p1.diff.gz
  amanda-krb4-2.4.0p1.tar.gz
  old-versions

So where can I get the kerberos bits for 2.4.2p2?

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



What is the purpose and location of /etc/amandates?

2001-04-27 Thread Tom Schutter

I have a couple of questions regarding /etc/amandates.

1) What is the current purpose of /etc/amandates?  I know that it is
   updated on the client on every run.  But are the contents actually
   used?  Or is it just information for the sysadm?

2) Why is amandates in /etc?  My guess is because it is close in
   functionality to /etc/dates, which is written by dump.  But history
   aside, wouldn't it be better located in localstatedir
   (/usr/local/var)?

Thanks,
-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



Re: More OnStream trouble...

2001-04-24 Thread Tom Schutter

"John R. Jackson" wrote:
> On the other hand, here is a comment posted by Johannes Niess:
> 
>   According to the SCSI newsgroups they are out of buisness.

I thought that they were out of business as well, but apparantly they
are not dead yet.  This is from
http://www.onstream.com/channel/index.html: 

  Eindhoven (Netherlands), March 20, 2001 - On March 16, OnStream Inc.,
  the US parent company of OnStream BV, filed for bankruptcy under
  Chapter 7. However, for OnStream in Eindhoven, the market looks
  promising. OnStream's sales have continuously increased and
  development and production are located in OnStream's facility in
  The Netherlands.  Prospective investors are confident that the
  company has enough potential to continue its activities. OnStream
  expects the results of discussions that are taking place now with
  new investors to be positive, and worldwide sales to continue from
  the Netherlands.

  OnStream's activities consist of the development and production of
  high-capacity tape drives and the thin film heads that are used in
  them. Therefore the closure of the American office will have minimal
  effect on the supply of existing and new ADR tape drives. OnStream
  expects to resume its business activities within a few weeks.

Of course, I have an OnStream drive at home, but would not recommend
it to anyone.  It does have problems writing multiple files to tape
(but there is a patch for amanda that was posted earlier to this list).
My drive sometimes refuses to eject the tape, and I must issue
multiple "mt rewind" commands to make it let go.  And of course there
are the kernel patch issues (patches only exist for older kernels).
And I have yet to get any response from OnStream tech support.

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



Do you use Amanda on OpenBSD

2001-04-23 Thread Tom Schutter

I am upgrading the OpenBSD binary package of Amanda.  If you are willing
to test it, please let me know.
-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



Backing up MS Outlook .pst files

2001-03-20 Thread Tom Schutter

Does anyone have a good solution for backing up MS Outlook .pst files?
If the user leaves MS Outlook running when they go home, then Amanda
is unable to backup the open .pst file.

I would suspect that scheduling an export of the contents of the .pst
file could work, but I have been unable to figure out how to do so.

Any ideas?
-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



Re: exclude list format

2001-03-16 Thread Tom Schutter

I have a suggestion for you Andrew (of course it involves more work
for you).

A number of times I have seen on this list (and I have experienced it
myself) that exclusion problems are related to broken versions of
GNU tar.

At a minimum, you should have a "Broken GNU tar" section, and let
other people tell you what those broken versions are.

[EMAIL PROTECTED] wrote:
> 
> > Any volunteers?  (yeah, I thought not :-).
> >
> 
> I would be willing to write an EXCLUDE doc.  It took me over two hours
> yesterday to figure this one out.  The tar man page and a ps on the
> client were my  friends here.  I would need a least a week to allow my
> schedule to open up.  Is there any start point yet?
> 
> Andrew Hall

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



Re: does any one know the setting of HP DDS-4 SureStore DAT40i Internal DAT drvie in amanda.conf?

2001-02-09 Thread Tom Schutter

define tapetype HP-SURESTORE-DAT40 {
comment "just produced by tapetype program"
length 19560 mbytes
filemark 1147 kbytes
speed 2957 kps
}

richard wrote:
> 
> Dear all,
>   I have just bought a new HP DAT40i. May I know if someone can tell me its
> setting for the amanda.conf file?
> 
> Thanks for your help.
> 
> Yours,
> Richard Ao
> Newsbook Limited
> 
> - Original Message -
> From: "Mike O'Shaughnessy" <[EMAIL PROTECTED]>
> To: "Bernhard R. Erdmann" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>; "amanda-users" <[EMAIL PROTECTED]>
> Sent: Tuesday, December 12, 2000 3:57 PM
> Subject: RE: does any one know the setting of HP DDS-3 SureStore DAT24i
> Internal DAT drvie in amanda.conf?
> 
> > I have these drives - here is the tapetype
> >
> > define tapetype HP-DAT24 {
> > comment "HP SureStore DAT24, no compression"
> > comment "DDS-3 125 meter tape"
> > comment "produced by tapetype program"
> > length 11703 mbytes # 12 GB
> > filemark 0 kbytes
> > speed 1000 kbytes
> > }
> >

-- 
Tom Schutter (mailto:[EMAIL PROTECTED])
Platte River Associates, Inc. (http://www.platte.com)



Re: running a command/script BEFORE a backup starts

2000-12-14 Thread Tom Schutter

How about this.  The script run from cron looks like this:

rsh client command
amdump DailySet1;

Dave Heafey wrote:

> Hi Phil,
> 
> that would work if amdump and "command" needed to run on the
> same system.  In my configuration, amdump runs on the Amanda
> Server and "command" needs to run on an Amanda client.
> 
> Thanks,
> 
> Dave
> 
> -- Original Message --
> From: Phil Davis <[EMAIL PROTECTED]>
> Date: Wed, 13 Dec 2000 16:23:38 -0800
> 
> 
>> This would be fairly easy, all you need to do is modify the cron settings.
>> 
>> one of two ways... either run a cron job to execute your Perforce checkpoint
>> program on a cron job x mins before the cron job for amanda happens knowing
>> that the perforce program takes x mins to complete (and of course some buffering
>> wouldn't hurt) and then have the cron job for amdump run after.  Or, just make
>> your own shell script owned by user backup that can do both in the script for you
>> and then remove the amdump cron job and have the shell script do this for you.  
>> 
>> i.e.
>> 
>> #!/bin/bash
>> # a shell script to execute command "command" before running the daily
>> # amanda dumps
>> 
>> command ;
>> 
>> amdump DailySet1;
>> 
>> 
>> 
>> That should do it really, you could do more complex coding to error check if 
>> you wanted, but that should do what you want, and of course, in the previous 
>example, 
>> you need bash on your solaris machine, or you modify it to work w/ csh (not much
>> difference if I remember csh...) and then replace command w/ whatever the command 
>is that runs the
>> Perforce checkpoint program.  Also you may have issues w/ needing to run the 
>perforce
>> command as some other user than backup, in which case you may do better to use the 
>cron
>> way mentioned first.
>> 
>> Hopefully this is a lead in the right direction
>> 
>> Phil
>> 
>> 
>> On Wed 13 Dec 2000 at 18:58:27 -0500, you wrote:
>> 
>> 
>>> Folks,
>>> 
>>> I have a source code control system (Perforce) running on a Solaris Amanda
>>> Client (2.4.1p1).  Perforce has the ability to "checkpoint" its metadata in
>>> journal files, essentially taking a human-readable snapshot of the metadata
>>> at that particular.  I'd like to do this checkpoint and then backup the
>>> checkpoint
>>> with as short an interval as possible between the 2.
>>> 
>>> Is there a way to run a "pre-backup" script or command prior to Amanda
>>> starting the backup?
>>> 
>>> Thanks,
>>> 
>>> Dave
>> 
>> 
>> 
>> -- 
>> Phillip Davis, MIS Department
>> 415.354.4238 tel or x4238 @ 415.354.4878 
>> [EMAIL PROTECTED], http://www.linuxcare.com/
>> 
>> Linuxcare. Support for the Revolution.
>>