question about tapetype

2002-01-11 Thread Thomas Vander Stichele

Hi,

I have an Onstream ADR50, and I'm just learning how to get amanda
configured on RH72.  One of the things I wanted to try was find the right
tape type, so I ran tapetype, thinking it would do some diagnostics and
print some information about the tape type.

Well, it's been running for more than a day now, and so far it only
managed two lines of output, namely :

wrote 671985 32Kb blocks in 2055 files in 29620 seconds (short write)
wrote 533173 32Kb blocks in 3271 files

and it's still counting on the second line.

So my question is :
a) is this standard behaviour ?
b) how long is it going to take ?

Thanks,
Thomas


The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
-*-  -*-
I can't leave you alone
because you're so disarming
and I'm caught in the midst of you
-*- [EMAIL PROTECTED] -*-
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/




Re: question about tapetype

2002-01-11 Thread Moritz Both


You should really search the mailing list archives for OnStream and
ADR. At the moment, the ADR50 has a firmware bug that prevents it
from working with amanda at all.

Greetings,
Moritz


 Hi,

 I have an Onstream ADR50, and I'm just learning how to get amanda
 configured on RH72.  One of the things I wanted to try was find the right
 tape type, so I ran tapetype, thinking it would do some diagnostics and
 print some information about the tape type.

 Well, it's been running for more than a day now, and so far it only
 managed two lines of output, namely :

 wrote 671985 32Kb blocks in 2055 files in 29620 seconds (short write)
 wrote 533173 32Kb blocks in 3271 files

 and it's still counting on the second line.

 So my question is :
 a) is this standard behaviour ?
 b) how long is it going to take ?

 Thanks,
 Thomas


 The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
 -*-  -*-
 I can't leave you alone
 because you're so disarming
 and I'm caught in the midst of you
 -*- [EMAIL PROTECTED] -*-
 URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/




Re: S.O.S.

2002-01-11 Thread Joshua Baker-LePain

On Fri, 11 Jan 2002 at 11:19am, Túlio Machado de Faria wrote

 Help me, please.

 I need to use amanda with two units of tape in one backup.
 
 How?
 
Look in the documentation for the parameter 'runtapes' and, if you don't 
have a tape changer, how to set up 'chg-manual'.

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




Re: S.O.S.

2002-01-11 Thread Túlio Machado de Faria

Ok,

I modifed my amanda.com with:

runtapes  2

but, the amcheck is not check my second tape unit.
Where is problem?

 In a message dated: Fri, 11 Jan 2002 11:19:19 -0200

 =?iso-8859-15?q?T=FAlio=20Machado=20de=20Faria?= said:
 Help me, please.
 
 I need to use amanda with two units of tape in one backup.
 
 How?

 man amanda(8) see 'runtapes'




Finding tapes

2002-01-11 Thread Paul Lussier


Hi all,

I've been asked to locate a set up tapes based on dates.  Any idea 
how I do this?  Basically I just need to search the date stamps for 
each tape and tell my boss which tapes contain backups for the 
specified period of time.

I looked at the amadmin command, but the sub-commands all seem to 
want a hostname.  I need the information for *all* systems.

Basically, if the tape was written to during the specified range, I 
need to know.

Any ideas?

Thanks,


-- 

Seeya,
Paul


  God Bless America!

 If you're not having fun, you're not doing it right!

...we don't need to be perfect to be the best around,
and we never stop trying to be better. 
   Tom Clancy, The Bear and The Dragon





Re: S.O.S.

2002-01-11 Thread Paul Lussier


In a message dated: Fri, 11 Jan 2002 13:05:58 -0200
=?iso-8859-1?q?T=FAlio=20Machado=20de=20Faria?= said:

Ok,

I modifed my amanda.com with:

runtapes  2

but, the amcheck is not check my second tape unit.
Where is problem?

Are you saying you want to backup to 2 tapes or to 2 different tape 
drives?
-- 

Seeya,
Paul


  God Bless America!

 If you're not having fun, you're not doing it right!

...we don't need to be perfect to be the best around,
and we never stop trying to be better. 
   Tom Clancy, The Bear and The Dragon





Re: S.O.S.

2002-01-11 Thread Túlio Machado de Faria

2 different tape drivers.

Em Sex 11 Jan 2002 13:56, you wrote:
 In a message dated: Fri, 11 Jan 2002 13:05:58 -0200

 =?iso-8859-1?q?T=FAlio=20Machado=20de=20Faria?= said:
 Ok,
 
 I modifed my amanda.com with:
 
 runtapes  2
 
 but, the amcheck is not check my second tape unit.
 Where is problem?

 Are you saying you want to backup to 2 tapes or to 2 different tape
 drives?




Re: Finding tapes

2002-01-11 Thread Joshua Baker-LePain

On Fri, 11 Jan 2002 at 10:59am, Paul Lussier wrote

 I've been asked to locate a set up tapes based on dates.  Any idea 
 how I do this?  Basically I just need to search the date stamps for 
 each tape and tell my boss which tapes contain backups for the 
 specified period of time.
 
 I looked at the amadmin command, but the sub-commands all seem to 
 want a hostname.  I need the information for *all* systems.

But the hostname is typically optional.  For example:

[jlb@chaos jlb]$ sudo su amanda -c amadmin RAID find --sort d | grep 2002-01-11
2002-01-11 $HOST /data/dls130 RAIDSet1-0115 OK
2002-01-11 $HOST /data/bgeiman  0 RAIDSet1-0114 OK
2002-01-11 $HOST /data/krn  1 RAIDSet1-0113 OK
2002-01-11 $HOST /data/mag110 RAIDSet1-0112 OK
2002-01-11 $HOST /data/jjd  1 RAIDSet1-0111 OK
2002-01-11 $HOST /data/amanda   0 RAIDSet1-0110 OK
2002-01-11 $HOST /data/jlb  1 RAIDSet1-01 9 OK
2002-01-11 $HOST /data/kgammel  1 RAIDSet1-01 8 OK
2002-01-11 $HOST /data/get  1 RAIDSet1-01 7 OK
2002-01-11 $HOST /data/gfp  0 RAIDSet1-01 6 OK
2002-01-11 $HOST /data/lnb  1 RAIDSet1-01 5 OK
2002-01-11 $HOST /data/cgk3 1 RAIDSet1-01 4 OK
2002-01-11 $HOST /data/mlp6 1 RAIDSet1-01 3 OK
2002-01-11 $HOST /data/cmg101 RAIDSet1-01 2 OK
2002-01-11 $HOST /data/anc4 1 RAIDSet1-01 1 OK


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





Re: S.O.S.

2002-01-11 Thread Paul Lussier


In a message dated: Fri, 11 Jan 2002 14:24:01 -0200
=?iso-8859-1?q?T=FAlio=20Machado=20de=20Faria?= said:

2 different tape drivers.

I don't think you can do this easily.  You'll need to set up 
different amanda configurations each pointing to a different drive 
and split the total number of file systems to back up between the 2 
different 'disklist' files for the 2 different configurations.
-- 

Seeya,
Paul


  God Bless America!

 If you're not having fun, you're not doing it right!

...we don't need to be perfect to be the best around,
and we never stop trying to be better. 
   Tom Clancy, The Bear and The Dragon





Re: S.O.S.

2002-01-11 Thread Stephen Carville

runtapes 2

You have to have a working changer configuration.

On Fri, 11 Jan 2002, [iso-8859-15] Túlio Machado de Faria wrote:

- Help me, please.
-
-
- I need to use amanda with two units of tape in one backup.
-
- How?
-
-

-- 
-- Stephen Carville
UNIX and Network Administrator
Ace Flood USA
310-342-3602
[EMAIL PROTECTED]




Re: Finding tapes

2002-01-11 Thread Stephen Carville

Try amadmin config find

This prints out date, host, disk, level, tape, and status for
everything in config.

On Fri, 11 Jan 2002, Paul Lussier wrote:

-
- Hi all,
-
- I've been asked to locate a set up tapes based on dates.  Any idea
- how I do this?  Basically I just need to search the date stamps for
- each tape and tell my boss which tapes contain backups for the
- specified period of time.
-
- I looked at the amadmin command, but the sub-commands all seem to
- want a hostname.  I need the information for *all* systems.
-
- Basically, if the tape was written to during the specified range, I
- need to know.
-
- Any ideas?
-
- Thanks,
-
-
-

-- 
-- Stephen Carville
UNIX and Network Administrator
Ace Flood USA
310-342-3602
[EMAIL PROTECTED]




Re: S.O.S.

2002-01-11 Thread Túlio Machado de Faria

I use two DAT units
The /teste have 2GBytes
I ran amdump, but got the following messages.
why amanda didn't fineshed the backup 


These dumps were to tapes avati01, avati02.
*** A TAPE ERROR OCCURRED: [[writing file: No space left on device]].
Some dumps may have been left in the holding disk.
Run amflush to flush them to tape.
The next 2 tapes Amanda expects to used are: a new tape, avati01.

FAILURE AND STRANGE DUMP SUMMARY:
  localhost  /teste lev 0 FAILED [data write: Connection reset by peer]
  localhost  /teste lev 0 FAILED [dump to tape failed]
  localhost  /teste lev 0 FAILED [data write: Connection reset by peer]
  localhost  /teste lev 0 FAILED [out of tape]
  localhost  /teste lev 0 FAILED [dump to tape failed]


STATISTICS:
                          Total       Full      Daily
                              
Estimate Time (hrs:min)    0:00
Run Time (hrs:min)         1:46
Dump Time (hrs:min)        0:00       0:00       0:00
Output Size (meg)           0.0        0.0        0.0
Original Size (meg)         0.0        0.0        0.0
Avg Compressed Size (%)     --         --         -- 
Filesystems Dumped            0          0          0
Avg Dump Rate (k/s)         --         --         -- 

Tape Time (hrs:min)        0:00       0:00       0:00
Tape Size (meg)             0.0        0.0        0.0
Tape Used (%)               0.0        0.0        0.0
Filesystems Taped             0          0          0
Avg Tp Write Rate (k/s)     --         --         -- 


FAILED AND STRANGE DUMP DETAILS:

/-- localhost  /teste lev 0 FAILED [data write: Connection reset by peer]
sendbackup: start [localhost:/teste level 0]
sendbackup: info BACKUP=/bin/tar
sendbackup: info RECOVER_CMD=/bin/tar -f... -
sendbackup: info end
\

/-- localhost  /teste lev 0 FAILED [data write: Connection reset by peer]
sendbackup: start [localhost:/teste level 0]
sendbackup: info BACKUP=/bin/tar
sendbackup: info RECOVER_CMD=/bin/tar -f... -
sendbackup: info end
\


NOTES:
  planner: Adding new disk localhost:/teste.
  taper: tape avati01 kb 1663520 fm 1 writing file: No space left on device
  taper: retrying localhost:/teste.0 on new tape: [writing file: No space 
left on device]
  taper: tape avati02 kb 1956224 fm 1 writing file: No space left on device


DUMP SUMMARY:
                                     DUMPER STATS            TAPER STATS 
HOSTNAME     DISK        L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
-- - 
localhost    /teste      0 FAILED ---


--  Mensagem repassada  --
Subject: Re: S.O.S.
Date: Fri, 11 Jan 2002 14:24:01 -0200
From: Túlio Machado de Faria [EMAIL PROTECTED]
To: [EMAIL PROTECTED]


2 different tape drivers.

Em Sex 11 Jan 2002 13:56, you wrote:
 In a message dated: Fri, 11 Jan 2002 13:05:58 -0200

 =?iso-8859-1?q?T=FAlio=20Machado=20de=20Faria?= said:
 Ok,
 
 I modifed my amanda.com with:
 
 runtapes  2
 
 but, the amcheck is not check my second tape unit.
 Where is problem?

 Are you saying you want to backup to 2 tapes or to 2 different tape
 drives?




Short write with tapeio and file: driver

2002-01-11 Thread Jeremy Wadsack

I'm using Amanda version 2.4.2p2-tapeio (from cvs) to run backups to a
hard drive instead of a tape. Using the file: driver went fine for a
couple days, now consistently produces short write errors.

Specifically the error message looks like this:

FAILURE AND STRANGE DUMP SUMMARY:
  10.0.0.16  hda4 lev 0 FAILED [out of tape]
  taper: FATAL syncpipe_get: r: unexpected EOF


The definition for the disk 'tapetype' is this:

define tapetype HARD-DISK {
comment Hard disk instead of tape
length 15000 mbytes  # Simulates end of tape on hard disk
}


And the changer.conf file looks like this:

multieject 0
gravity 0
needeject 0
ejectdelay 0

statefile /usr/local/etc/amanda/daily/changer-status

firstslot 1
lastslot 8

slot 1 file:/home/amanda/dumps/tape01
slot 2 file:/home/amanda/dumps/tape02
slot 3 file:/home/amanda/dumps/tape03
slot 4 file:/home/amanda/dumps/tape04
slot 5 file:/home/amanda/dumps/tape05
slot 6 file:/home/amanda/dumps/tape06
slot 7 file:/home/amanda/dumps/tape07
slot 8 file:/home/amanda/dumps/tape08

  
The file for the failed client/drive is 2056 MB. Could this be a 2GB
file size limitation problem I'm getting? If so, is there any way to
set a 'chunksize' equivalent for the tape definition?

Thanks,

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group




Re: S.O.S.

2002-01-11 Thread Dan Wilder

On Fri, Jan 11, 2002 at 04:42:37PM -0200, T?lio Machado de Faria wrote:
 I use two DAT units
 The /teste have 2GBytes
 I ran amdump, but got the following messages.
 why amanda didn't fineshed the backup 

Because it ran out of tape?

It tries to put one item from the disklist on one tape.
I'm just now tweaking locations of things in a filesystem on 
one of my servers because what's in the filesystem won't
go on one tape, and I don't have budget to buy a bigger
tape drive this month.

 
 These dumps were to tapes avati01, avati02.
 *** A TAPE ERROR OCCURRED: [[writing file: No space left on device]].
 Some dumps may have been left in the holding disk.
 Run amflush to flush them to tape.
 The next 2 tapes Amanda expects to used are: a new tape, avati01.
 
 FAILURE AND STRANGE DUMP SUMMARY:
 ? localhost ?/teste lev 0 FAILED [data write: Connection reset by peer]
 ? localhost ?/teste lev 0 FAILED [dump to tape failed]
 ? localhost ?/teste lev 0 FAILED [data write: Connection reset by peer]
 ? localhost ?/teste lev 0 FAILED [out of tape]
 ? localhost ?/teste lev 0 FAILED [dump to tape failed]
 
 
 STATISTICS:
 ? ? ? ? ? ? ? ? ? ? ? ? ? Total ? ? ? Full ? ? ?Daily
 ? ? ? ? ? ? ? ? ? ? ? ?  ?  ? 
 Estimate Time (hrs:min) ? ?0:00
 Run Time (hrs:min) ? ? ? ? 1:46
 Dump Time (hrs:min) ? ? ? ?0:00 ? ? ? 0:00 ? ? ? 0:00
 Output Size (meg) ? ? ? ? ? 0.0 ? ? ? ?0.0 ? ? ? ?0.0
 Original Size (meg) ? ? ? ? 0.0 ? ? ? ?0.0 ? ? ? ?0.0
 Avg Compressed Size (%) ? ? -- ? ? ? ? -- ? ? ? ? -- 
 Filesystems Dumped ? ? ? ? ? ?0 ? ? ? ? ?0 ? ? ? ? ?0
 Avg Dump Rate (k/s) ? ? ? ? -- ? ? ? ? -- ? ? ? ? -- 
 
 Tape Time (hrs:min) ? ? ? ?0:00 ? ? ? 0:00 ? ? ? 0:00
 Tape Size (meg) ? ? ? ? ? ? 0.0 ? ? ? ?0.0 ? ? ? ?0.0
 Tape Used (%) ? ? ? ? ? ? ? 0.0 ? ? ? ?0.0 ? ? ? ?0.0
 Filesystems Taped ? ? ? ? ? ? 0 ? ? ? ? ?0 ? ? ? ? ?0
 Avg Tp Write Rate (k/s) ? ? -- ? ? ? ? -- ? ? ? ? -- 
 
 
 FAILED AND STRANGE DUMP DETAILS:
 
 /-- localhost ?/teste lev 0 FAILED [data write: Connection reset by peer]
 sendbackup: start [localhost:/teste level 0]
 sendbackup: info BACKUP=/bin/tar
 sendbackup: info RECOVER_CMD=/bin/tar -f... -
 sendbackup: info end
 \
 
 /-- localhost ?/teste lev 0 FAILED [data write: Connection reset by peer]
 sendbackup: start [localhost:/teste level 0]
 sendbackup: info BACKUP=/bin/tar
 sendbackup: info RECOVER_CMD=/bin/tar -f... -
 sendbackup: info end
 \
 
 
 NOTES:
 ? planner: Adding new disk localhost:/teste.
 ? taper: tape avati01 kb 1663520 fm 1 writing file: No space left on device
 ? taper: retrying localhost:/teste.0 on new tape: [writing file: No space 
 left on device]
 ? taper: tape avati02 kb 1956224 fm 1 writing file: No space left on device
 
 
 DUMP SUMMARY:
 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?DUMPER STATS ? ? ? ? ? ?TAPER STATS 
 HOSTNAME ? ? DISK ? ? ? ?L ORIG-KB OUT-KB COMP% MMM:SS ?KB/s MMM:SS ?KB/s
 -- - 
 localhost ? ?/teste ? ? ?0 FAILED ---
 
 
 --  Mensagem repassada  --
 Subject: Re: S.O.S.
 Date: Fri, 11 Jan 2002 14:24:01 -0200
 From: T?lio Machado de Faria [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 
 
 2 different tape drivers.
 
 Em Sex 11 Jan 2002 13:56, you wrote:
  In a message dated: Fri, 11 Jan 2002 13:05:58 -0200
 
  =?iso-8859-1?q?T=FAlio=20Machado=20de=20Faria?= said:
  Ok,
  
  I modifed my amanda.com with:
  
  runtapes  2
  
  but, the amcheck is not check my second tape unit.
  Where is problem?
 
  Are you saying you want to backup to 2 tapes or to 2 different tape
  drives?
 

-- 
-
 Dan Wilder [EMAIL PROTECTED]   Technical Manager  Editor
 SSC, Inc. P.O. Box 55549   Phone:  206-782-8808
 Seattle, WA  98155-0549URL http://embedded.linuxjournal.com/
-



Re: S.O.S.

2002-01-11 Thread Túlio Machado de Faria

I am using:
tpchanger chg-multi 
for automatically dumb of unit.


Em Sex 11 Jan 2002 17:18, Dan Wilder escreveu:
 On Fri, Jan 11, 2002 at 04:42:37PM -0200, T?lio Machado de Faria wrote:
  I use two DAT units
  The /teste have 2GBytes
  I ran amdump, but got the following messages.
  why amanda didn't fineshed the backup

 Because it ran out of tape?

 It tries to put one item from the disklist on one tape.
 I'm just now tweaking locations of things in a filesystem on
 one of my servers because what's in the filesystem won't
 go on one tape, and I don't have budget to buy a bigger
 tape drive this month.

  These dumps were to tapes avati01, avati02.
  *** A TAPE ERROR OCCURRED: [[writing file: No space left on device]].
  Some dumps may have been left in the holding disk.
  Run amflush to flush them to tape.
  The next 2 tapes Amanda expects to used are: a new tape, avati01.
 
  FAILURE AND STRANGE DUMP SUMMARY:
  ? localhost ?/teste lev 0 FAILED [data write: Connection reset by peer]
  ? localhost ?/teste lev 0 FAILED [dump to tape failed]
  ? localhost ?/teste lev 0 FAILED [data write: Connection reset by peer]
  ? localhost ?/teste lev 0 FAILED [out of tape]
  ? localhost ?/teste lev 0 FAILED [dump to tape failed]
 
 
  STATISTICS:
  ? ? ? ? ? ? ? ? ? ? ? ? ? Total ? ? ? Full ? ? ?Daily
  ? ? ? ? ? ? ? ? ? ? ? ?  ?  ? 
  Estimate Time (hrs:min) ? ?0:00
  Run Time (hrs:min) ? ? ? ? 1:46
  Dump Time (hrs:min) ? ? ? ?0:00 ? ? ? 0:00 ? ? ? 0:00
  Output Size (meg) ? ? ? ? ? 0.0 ? ? ? ?0.0 ? ? ? ?0.0
  Original Size (meg) ? ? ? ? 0.0 ? ? ? ?0.0 ? ? ? ?0.0
  Avg Compressed Size (%) ? ? -- ? ? ? ? -- ? ? ? ? --
  Filesystems Dumped ? ? ? ? ? ?0 ? ? ? ? ?0 ? ? ? ? ?0
  Avg Dump Rate (k/s) ? ? ? ? -- ? ? ? ? -- ? ? ? ? --
 
  Tape Time (hrs:min) ? ? ? ?0:00 ? ? ? 0:00 ? ? ? 0:00
  Tape Size (meg) ? ? ? ? ? ? 0.0 ? ? ? ?0.0 ? ? ? ?0.0
  Tape Used (%) ? ? ? ? ? ? ? 0.0 ? ? ? ?0.0 ? ? ? ?0.0
  Filesystems Taped ? ? ? ? ? ? 0 ? ? ? ? ?0 ? ? ? ? ?0
  Avg Tp Write Rate (k/s) ? ? -- ? ? ? ? -- ? ? ? ? --
 
 
  FAILED AND STRANGE DUMP DETAILS:
 
  /-- localhost ?/teste lev 0 FAILED [data write: Connection reset by
  peer] sendbackup: start [localhost:/teste level 0]
  sendbackup: info BACKUP=/bin/tar
  sendbackup: info RECOVER_CMD=/bin/tar -f... -
  sendbackup: info end
  \
 
  /-- localhost ?/teste lev 0 FAILED [data write: Connection reset by
  peer] sendbackup: start [localhost:/teste level 0]
  sendbackup: info BACKUP=/bin/tar
  sendbackup: info RECOVER_CMD=/bin/tar -f... -
  sendbackup: info end
  \
 
 
  NOTES:
  ? planner: Adding new disk localhost:/teste.
  ? taper: tape avati01 kb 1663520 fm 1 writing file: No space left on
  device ? taper: retrying localhost:/teste.0 on new tape: [writing file:
  No space left on device]
  ? taper: tape avati02 kb 1956224 fm 1 writing file: No space left on
  device
 
 
  DUMP SUMMARY:
  ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?DUMPER STATS ? ? ? ? ? ?TAPER STATS
  HOSTNAME ? ? DISK ? ? ? ?L ORIG-KB OUT-KB COMP% MMM:SS ?KB/s MMM:SS ?KB/s
  -- - 
  localhost ? ?/teste ? ? ?0 FAILED ---
 
 
  --  Mensagem repassada  --
  Subject: Re: S.O.S.
  Date: Fri, 11 Jan 2002 14:24:01 -0200
  From: T?lio Machado de Faria [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
 
 
  2 different tape drivers.
 
  Em Sex 11 Jan 2002 13:56, you wrote:
   In a message dated: Fri, 11 Jan 2002 13:05:58 -0200
  
   =?iso-8859-1?q?T=FAlio=20Machado=20de=20Faria?= said:
   Ok,
   
   I modifed my amanda.com with:
   
   runtapes  2
   
   but, the amcheck is not check my second tape unit.
   Where is problem?
  
   Are you saying you want to backup to 2 tapes or to 2 different tape
   drives?




Re: S.O.S.

2002-01-11 Thread Joshua Baker-LePain

On Fri, 11 Jan 2002 at 6:31pm, Túlio Machado de Faria wrote

 I am using:
 tpchanger chg-multi 
 for automatically dumb of unit.
 
You cannot have a single filesystem (disklist entry) that is bigger than 
your tapes -- amanda doesn't span.  How big are your tapes?

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




samba: subdirectories and/or using *

2002-01-11 Thread Tyler

the general problem is wanting to back up a bunch of win2k machines with
amanda.

the best solution would be if i could tell amanda to backup:

//win2k-machine/C$/directory1
//win2k-machine/C$/directory2
...
//win2k-machine/C$/directoryN

the C$ shares already exist, so the administrative overhead for the client
machines is very minimal.

it appears that amanda can't do this. i'm guessing amanda just calls
smbclient (i haven't started looking through the source, so i'm not sure),
and smbclient wants to connect to a real share (and not a subdirectory of
one), so i'm stuck on this point. one of the options i see is to hack the
amanda source so that it can use smbclient to connect to a share, and then
work within smbclient (somehow) to grab things within that share, but that
seems difficult.

also, this post (http://groups.yahoo.com/group/amanda-users/message/31162)
contains quoted text that suggests that doing this won't work. i can't
find the actual post that was quoted from, because yahoo groups's
threading is fairly effectively broken.

so if there is a way to access subdirectories of samba shares, that would
be ideal.

a slightly less-good solution would be to have all the client machines
share things they want backed-up explicitly. so if the machine HOMER wants
to share c:\donuts and c:\porkchops, it makes shares backup-donuts and
backup-porkchops.

now what would be great is if amanda could back-up backup-* on each client
it knows about. the amanda docs in SAMBA suggest that this should be
possible:

May be asterisk (*) to match all remaining shares for this Samba server.
The first match in the file is used, so specific entries must be listed
first.

if amanda can only get remaining shares, this solution might not really
work either, because i'd have to enumerate all regular shares and ignore
them, and then backup //HOMER/*. but ideally, i'd like to do
//homer/backup-* and have amanda know what i'm talking about.

when i try this, it doesn't work. amcheck and amdump both throw back the
messages that smbclient gives when you try to tell smbclient to connecto
to //machine/* -- namely, that this share does not exist. (and
incidentally, my amanda setup works fine for explicitly-named samba
shares, so i'm pretty sure this * thing is the problem).

since these two avenues have failed, the solution i'm looking at
implementing involves explicitly sharing dirctories on the client that
need to be backed up, and *also* maintaining this list on the amanda
server's disklist file (probably through a cgi or whatever). this solution
has sort of a lot of overhead.

so is there a better way of doing what i'm trying to do? or is this
labor-intensive path i'm starting to walk pretty much the only way?

please cc me on any replies, as i'm not subscribed to this list.

also, i'm still hoping for a reply on my question better authentication
than .amandahosts?
(http://groups.yahoo.com/group/amanda-users/message/32244?threaded=1).
fortunately, it's easier to hack around these kinds of problems on the
UNIX side than on the windows side.

thanks,
tyler

-- 
It's Redhat 7. You don't even *need* the root password.
 --tyler




Re: samba: subdirectories and/or using *

2002-01-11 Thread Tyler

replying to myself...

 the best solution would be if i could tell amanda to backup:

 //win2k-machine/C$/directory1
 //win2k-machine/C$/directory2
 ...
 //win2k-machine/C$/directoryN

 the C$ shares already exist, so the administrative overhead for the client
 machines is very minimal.

 it appears that amanda can't do this. i'm guessing amanda just calls

it looks like this functionality exists in the 2.3 stuff. how stable is
2.3? normally, i have no problem at all tracking development releases, but
with the backup infrastructure, i have to be a little paranoid :).

also, it looks like the 2.3 codebase has a security api which will let me
use ssh authentication (which would resolve my other issue about weak
authentication of this whole backup process), but i can't see where this
is configured or how it works. can someone speak to that?

please cc me on responses.

thanks again,
tyler

-- 
In philosophy you never hear the expression 'fine, let's move on'.
 It doesn't exist.
 --Ramachandran