Re: Parallelized restores?

2003-03-21 Thread Jon LaBadie
On Fri, Mar 21, 2003 at 09:10:30PM -0600, Kirk Strauser wrote:
> After restoring a workstation with several drives from a total of 5
> different tapes, and each filesystem being on at least two of them, it
> occurred to me that there *has* to be a better way to restore multiple
> filesystems.
> 
> Ideally, I'd like to see a system where a user could browse an entire host's
> contents with amrecover or a close derivative, select as many files as
> desired, then:
> 
>  1) amrecover would collate a list of every tape needed to recover every
> selected file,
>  2) amrecover would prompt for each one in turn, as it currently does, with
> the exception that it would extract files for every relevant filesystem
> stored on that tape, in order
> 
> 
> Does this seem like a workable possibility?
> 
> P.S.  If it already exists and I missed it, I am fully prepared to dine on
> my cap.

I'm sure the amanda developers would echo the sentiment I saw on another list:

   Patches gratefully accepted.


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


Parallelized restores?

2003-03-21 Thread Kirk Strauser
After restoring a workstation with several drives from a total of 5
different tapes, and each filesystem being on at least two of them, it
occurred to me that there *has* to be a better way to restore multiple
filesystems.

Ideally, I'd like to see a system where a user could browse an entire host's
contents with amrecover or a close derivative, select as many files as
desired, then:

 1) amrecover would collate a list of every tape needed to recover every
selected file,
 2) amrecover would prompt for each one in turn, as it currently does, with
the exception that it would extract files for every relevant filesystem
stored on that tape, in order

Example:

A user has 4 tapes, and backs up /, /usr, /home, and /var on a given host.

 / is on Tape1 and Tape4
 /usr  is on Tape2 and Tape4
 /home is on Tape1, Tape3, and Tape4
 /var  is on Tape4

1) amrecover (launched from the host's root directory) would prompt for
Tape1, and would extract the contents of / and /home from that tape.
2) It would ask for Tape2, and would extract /usr.

3) It would prompt for Tape3, and would extract /home.

4) Finally, it would prompt for Tape4, and would extract /, /usr, /home, and
/var.

This would be a radical improvement over the current process, as implemented
by me last week:

1) cd /; launch amrecover; insert Tape1; insert Tape4

2) cd /usr; launch amrecover; insert Tape2; insert Tape4

3) cd /home; launch amrecover; insert Tape1; insert Tape3; insert Tape4

4) cd /var; launch amrecover; insert Tape4

Does this seem like a workable possibility?

P.S.  If it already exists and I missed it, I am fully prepared to dine on
my cap.
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


Re: help restoring...

2003-03-21 Thread Jon LaBadie
On Fri, Mar 21, 2003 at 04:01:21PM -0700, b. ash wrote:
> Hi,
> 
> here is the setup: solaris 8 acting as the amanda server, and a linux 
> client with ext2/3 filesystem.
> 
> I have done an amrestore to get the nescessary file, that went well.  I 
> tried to use ufsrestore to examine this file, the seg faulted, I nfs 

I presume the backup was made with linux's dump, so it is HIGHLY unlikely
that ufsrestore would work.

> mounted the the directory where amrestore placed the file and then used 
> linux restore to access the contents of the file, I select all files to 
> be restored and then did the extract.. here is where the problem is.
> 
> restore -ivb 2 -f penne._.20030310.0
> 
> now I can see the files, and select them all.
> 
> 
> 
> I keep getting the error message for all of the files:
> 
> ./etc/cron.daily/tripwire-check: (inode 1889691) not found on tape
> 
> the directories get created...
> 

I don't see any logical reason for this idea to work, when what you did
does not, but have you tried running the amrestore from the linux client
rather than from the solaris server?


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


Re: help restoring...

2003-03-21 Thread b. ash
Yes!

Thanks that did it. The files are being restored using restore -r -f 

It seems strange that the interactive mode of restore spit out those 
error messages.  Any ideas???

Thanks

--bash

Jay Lessert wrote:

On Fri, Mar 21, 2003 at 04:01:21PM -0700, b. ash wrote:
 

I keep getting the error message for all of the files:

./etc/cron.daily/tripwire-check: (inode 1889691) not found on tape
   

It is *supposed* to mean that between the time that dump started and
the time that it got around to putting this file on the tape, the file
was removed.
It is unlikely that this actually happened for *all* files, though,
and probably not the content of cron.daily.  So this looks like
bad news.
What happens when you 'restore r' the whole thing?

 




Re: amandapass - Domain Account

2003-03-21 Thread Galen Johnson
Have you tried:
//bv-miene/test/ amanda%password agki
?
=G=

Matthias Unger wrote:

Hello,
 
I want to save a windows share on am win2k-workstation. I test the 
share with smbmount //bv-miene/test -o username=amanda/agki (amanda is 
the backup account in the agki domain). And it works.
Now I want to register it in the disklist and amandapass.
But how can I register it in amandapass?
//bv-miene/test/ amanda/agki%password or
//bv-miene/test/ amanda%password doesn't work! Because it is a domain 
account and not a local account.
 
Thanks
 

*Matthias Unger
*Universität Bremen




help restoring...

2003-03-21 Thread b. ash
Hi,

here is the setup: solaris 8 acting as the amanda server, and a linux 
client with ext2/3 filesystem.

I have done an amrestore to get the nescessary file, that went well.  I 
tried to use ufsrestore to examine this file, the seg faulted, I nfs 
mounted the the directory where amrestore placed the file and then used 
linux restore to access the contents of the file, I select all files to 
be restored and then did the extract.. here is where the problem is.

restore -ivb 2 -f penne._.20030310.0

now I can see the files, and select them all.



I keep getting the error message for all of the files:

./etc/cron.daily/tripwire-check: (inode 1889691) not found on tape

the directories get created...

what gives?

--bash




Re: amstatus, addition

2003-03-21 Thread Jon LaBadie
On Fri, Mar 21, 2003 at 03:48:52PM -0500, Jean-Louis Martineau wrote:
> On Fri, Mar 21, 2003 at 10:33:05AM -0500, Brian Cuttler wrote:
> > 
> > Amanda 2.4.4
> > 
> > I'd have expected
> > 
> > partions = wait + dumping_to_tape + dumping + dumped
> 
> You should have:
> 
> partition = estimated + flush + (estimate) failed
> estimated + (estimate) failed = number of entry in your disklist
> estimated = wait for dumping + dumping to tape + dumping + dumped + (dump) failed
> flush + dumped = wait for writing + wait to flush + writing to tape + taped
> 
> > Its not an error, it just didn't add up the way I'd have
> > expected it to.
> 
> It's an error, could you send me the amdump log file for this run? I will
> look at it.


I presume you mean this calculation as it is the only error I detect.

estimated = wait for dumping + dumping to tape + dumping + dumped + (dump) failed
  13  =   2  +0+6+   4+  0

i.e. 13 = 12.

However, shouldn't the right hand side also include "writing to tape"?
Then it would balance.


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


Re: amstatus, addition

2003-03-21 Thread Jean-Louis Martineau
On Fri, Mar 21, 2003 at 10:33:05AM -0500, Brian Cuttler wrote:
> 
> Amanda 2.4.4
> 
> I'd have expected
> 
>   partions = wait + dumping_to_tape + dumping + dumped

You should have:

partition = estimated + flush + (estimate) failed
estimated + (estimate) failed = number of entry in your disklist
estimated = wait for dumping + dumping to tape + dumping + dumped + (dump) failed
flush + dumped = wait for writing + wait to flush + writing to tape + taped

> Apparently dumped but not yet taped and waiting to flush also
> have to be added in ?
> 
> I guess in my mind writing to tape and waiting to flush are
> subsets of "dumping". I can argue it multiple ways though.
> 
> Its not an error, it just didn't add up the way I'd have
> expected it to.

It's an error, could you send me the amdump log file for this run? I will
look at it.

> 
> SUMMARY  part  real  estimated
>size   size
> partition   :  13
> estimated   :  13 75309353k
> flush   :   0 0k
> failed  :   00k   (  0.00%)
> wait for dumping:   2 26946589k   ( 35.78%)
> dumping to tape :   00k   (  0.00%)
> dumping :   6   2176352k  23846938k (  9.13%) (  2.89%)
> dumped  :   4   3880704k   3880587k (100.00%) (  5.15%)
> wait for writing:   0 0k 0k (  0.00%) (  0.00%)
> wait to flush   :   0 0k 0k (100.00%) (  0.00%)
> writing to tape :   1   2352672k   2352495k (100.01%) (  3.12%)
> failed to tape  :   0 0k 0k (  0.00%) (  0.00%)
> taped   :   3   1528032k   1528092k (100.00%) (  2.03%)

Jean-Louis
-- 
Jean-Louis Martineau email: [EMAIL PROTECTED] 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7Fax: (514) 343-5834


Re: Problems using runtar

2003-03-21 Thread Joe Benson
If you su up to whatever user you are running amanda as and then try to 
run runtar it will kick out an error message and tell you what user it 
is set to run as. You can then reinstall amanda to run as that user with 
the ./configure --with-user  option.

Joe

Joel wrote:
Joe Benson wrote:


Make sure amanda(or what ever user you are running amanda as) is a
member of the group backup.


I checked that and unless my tired eyes are missing something the user is
in the backup group. It's certainly behaving as though the backup user isn't.
If I make runtar executable by everyone it works fine. I just need to figure
out who it thinks the user is.
  - Joel






RE: Amcheck : hostnames mistakes

2003-03-21 Thread Pablo Jejcic
Yep, both working perfect... Any other thought, please!!! :)

Kind Regards.
  _  

Pablo Jejcic
Smartweb Senior system Administrator
School of Computing - Robert Gordon University
[EMAIL PROTECTED] T:44-(0)1224-262797 F:44-(0)1224-262790 
  _  


``The nice thing about standards is that there are so many to choose from.
And if you really don't like all the standards you just have to wait another
year until the one arises you are looking for.'' 
A. Tanenbaum, ``Introduction to Computer Networks'

  _  



-Original Message-
From: Lars Segerlund [mailto:[EMAIL PROTECTED] 
Sent: 21 March 2003 15:54
To: Pablo Jejcic
Subject: Re: Amcheck : hostnames mistakes



  dns !

  Does the hostname / name from name resolution resolve to the same 
thing ? ( also in reverse ? ).

  / Lars Segerlund

Pablo Jejcic wrote:
> Any thought will be really appreciated!!! I'm clueless
> 
> Subject: Amcheck : hostnames mistakes
> 
> 
> Hello,
>   I 'm trying to backup a Linux client, as it looks now everything is
> looking fine in the client. But when I try to do an amcheck in the 
> server I received the following error.
>   I'm completely sure that is my mistake in one of the config files, 
> but I checked many times and I can't find the error. Could any one 
> give me a clue?
> 
> 
> Amanda Backup Client Hosts Check
> 
> ERROR: : [hostnames do not match: ] Client
> check: 2 hosts checked in 1.044 seconds, 1 problem found
> 
> 
> Thanks.-
> 
> 
> Kind Regards.
>   _
> 
> Pablo Jejcic
> Smartweb Senior system Administrator
> School of Computing - Robert Gordon University
> [EMAIL PROTECTED] T:44-(0)1224-262797
> F:44-(0)1224-262790 
>   _  
> 
> 
> ``The nice thing about standards is that there are so many to choose
> from. And if you really don't like all the standards you just have to 
> wait another year until the one arises you are looking for.'' A. 
> Tanenbaum, ``Introduction to Computer Networks'
> 
>   _
> 
> 
> 




Re: amstatus, addition

2003-03-21 Thread Brian Cuttler

Amanda 2.4.4; amstatus

On second look - I can't make the numbers add correctly.

Output from another amstatus, where the tape drive is not
currently being utilized and nothing is waiting to be flushed.

partition   :  13
estimated   :  13 75309353k
flush   :   0 0k
failed  :   00k   (  0.00%)
wait for dumping:   2 26946589k   ( 35.78%)
dumping to tape :   00k   (  0.00%)
dumping :   5   4818848k  23380806k ( 20.61%) (  6.40%)
dumped  :   5   4346816k   4346719k (100.00%) (  5.77%)
wait for writing:   0 0k 0k (  0.00%) (  0.00%)
wait to flush   :   0 0k 0k (100.00%) (  0.00%)
writing to tape :   0 0k 0k (  0.00%) (  0.00%)
failed to tape  :   0 0k 0k (  0.00%) (  0.00%)
taped   :   5   4346816k   4346719k (100.00%) (  5.77%)




> 
> Amanda 2.4.4
> 
> I'd have expected
> 
>   partions = wait + dumping_to_tape + dumping + dumped
> 
> Apparently dumped but not yet taped and waiting to flush also
> have to be added in ?
> 
> I guess in my mind writing to tape and waiting to flush are
> subsets of "dumping". I can argue it multiple ways though.
> 
> Its not an error, it just didn't add up the way I'd have
> expected it to.
> 
> SUMMARY  part  real  estimated
>size   size
> partition   :  13
> estimated   :  13 75309353k
> flush   :   0 0k
> failed  :   00k   (  0.00%)
> wait for dumping:   2 26946589k   ( 35.78%)
> dumping to tape :   00k   (  0.00%)
> dumping :   6   2176352k  23846938k (  9.13%) (  2.89%)
> dumped  :   4   3880704k   3880587k (100.00%) (  5.15%)
> wait for writing:   0 0k 0k (  0.00%) (  0.00%)
> wait to flush   :   0 0k 0k (100.00%) (  0.00%)
> writing to tape :   1   2352672k   2352495k (100.01%) (  3.12%)
> failed to tape  :   0 0k 0k (  0.00%) (  0.00%)
> taped   :   3   1528032k   1528092k (100.00%) (  2.03%)
> 
> ---
>Brian R Cuttler [EMAIL PROTECTED]
>Computer Systems Support(v) 518 486-1697
>Wadsworth Center(f) 518 473-6384
>NYS Department of HealthHelp Desk 518 473-0773
> 



amstatus, addition

2003-03-21 Thread Brian Cuttler

Amanda 2.4.4

I'd have expected

partions = wait + dumping_to_tape + dumping + dumped

Apparently dumped but not yet taped and waiting to flush also
have to be added in ?

I guess in my mind writing to tape and waiting to flush are
subsets of "dumping". I can argue it multiple ways though.

Its not an error, it just didn't add up the way I'd have
expected it to.

SUMMARY  part  real  estimated
   size   size
partition   :  13
estimated   :  13 75309353k
flush   :   0 0k
failed  :   00k   (  0.00%)
wait for dumping:   2 26946589k   ( 35.78%)
dumping to tape :   00k   (  0.00%)
dumping :   6   2176352k  23846938k (  9.13%) (  2.89%)
dumped  :   4   3880704k   3880587k (100.00%) (  5.15%)
wait for writing:   0 0k 0k (  0.00%) (  0.00%)
wait to flush   :   0 0k 0k (100.00%) (  0.00%)
writing to tape :   1   2352672k   2352495k (100.01%) (  3.12%)
failed to tape  :   0 0k 0k (  0.00%) (  0.00%)
taped   :   3   1528032k   1528092k (100.00%) (  2.03%)

---
   Brian R Cuttler [EMAIL PROTECTED]
   Computer Systems Support(v) 518 486-1697
   Wadsworth Center(f) 518 473-6384
   NYS Department of HealthHelp Desk 518 473-0773



RE: Amcheck : hostnames mistakes

2003-03-21 Thread Pablo Jejcic
Any thought will be really appreciated!!! I'm clueless

Subject: Amcheck : hostnames mistakes


Hello,
I 'm trying to backup a Linux client, as it looks now everything is
looking fine in the client. But when I try to do an amcheck in the server I
received the following error.
I'm completely sure that is my mistake in one of the config files,
but I checked many times and I can't find the error. Could any one give me a
clue?


Amanda Backup Client Hosts Check

ERROR: : [hostnames do not match: ] Client check:
2 hosts checked in 1.044 seconds, 1 problem found


Thanks.-


Kind Regards.
  _  

Pablo Jejcic
Smartweb Senior system Administrator
School of Computing - Robert Gordon University
[EMAIL PROTECTED]
T:44-(0)1224-262797
F:44-(0)1224-262790 
  _  


``The nice thing about standards is that there are so many to choose from.
And if you really don't like all the standards you just have to wait another
year until the one arises you are looking for.'' 
A. Tanenbaum, ``Introduction to Computer Networks'

  _  




Re: Pornography

2003-03-21 Thread Kirk Strauser
At 2003-03-21T09:22:37Z, Scott Mcdermott <[EMAIL PROTECTED]> writes:

> Kirk Strauser on Thu 20/03 18:33 -0600:

> honestly...just give up this garbage.

OK, I was attempting to keep this at an adult level.  I didn't realize that
you did not wish to do so.

> Even if you post when you aren't subscribed, you STILL have to read the
> following posts through a gateway (or whatever) to determine if they are
> related to YOUR post.  There is no difference: do it through a web
> gateway, or do it through you mail user agent.  If you say "but they CC
> me" then I will say that that is fortunate for you, but not guaranteed
> (some people insist on this, and some people hate it -- welcome to mailing
> lists).

I've seen requests like this on various mailing lists with much higher
traffic all the time.  You know, I've been here a while, and if I see a
request for help from Gene Heskett asking for a reply via CC because his
server is down, I'm darn well going to answer it.  Furthermore, I'm sure
he'd do the same for me.  A technical list whose subject matter will
necessarily involved crippled servers from time to time is far different
from, say, a threaded discussion of Britney Spears.

> Stop expecting other people to shoulder your burden.  If you can't
> subscribe before you post, then you shouldn't friggin' post.

Why on Earth would you assume this is for my benefit?  I'm *ON* this list.
Unless something catastrophic happens, I have no problems asking for or
getting help via this mailing list.  Is it unimaginable that I may want to
leave an avenue of emergency help for others?

> Arrgh this is annoying.  What is so hard to understand? It's a cooperative
> venture for LOTS of people, not one provided for your benefit.

Sorry, Scott, but you seem to have posted without knowing what you're
talking about it.

> Sorry, I will shut up now.

Thanks.
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


amrecover failure, corrupted gzip file?

2003-03-21 Thread Mike Simpson
Hi --

Running Amanda 2.4.4 servers and clients, using a RedHat 7.3 tape 
host, backing up using DUMP method (dump/restore) ext2 filesystems on 
a RedHat 7.2 client host:

I tried to do an amrecover on the /home filesystem (~8 GB), which
recovered all of the directories (as expected) and about 2/3's of the
actual data before terminating with a message asking if I wanted to 
change volumes (which I stupidly forgot to cut and paste, and can't 
find in any of my scrollback buffers, sorry).  Then prompted for 
aborting, then whether or not to dump core, the terminated.  Nothing 
particularly unusual in the amrecover debug file on the client side.

The corresponding amidxtaped debug file on the tape host side seemed 
to be running normally, then terminating on a gzip error:

  amidxtaped: time 10.959: Ready to execv amrestore with:
  path = /usr/local/sbin/amrestore
  argv[0] = "amrestore"
  argv[1] = "-p"
  argv[2] = "-h"
  argv[3] = "-l"
  argv[4] = "LSX-13"
  argv[5] = "-f"
  argv[6] = "2"
  argv[7] = "/dev/tapex"
  argv[8] = "^whisper$"
  argv[9] = "^/home$"
  argv[10] = "20030315"
  amrestore:   2: restoring whisper._home.20030315.0

  gzip: stdin: invalid compressed data--format violated
  Error 32 (Broken pipe) offset -2147483648+131072, wrote 0
  amrestore: pipe reader has quit in middle of file.
  amidxtaped: time 3606.244: amrestore terminated normally with status: 2
  amidxtaped: time 3606.244: rewinding tape ...
  amidxtaped: time 3623.767: done
  amidxtaped: time 3623.768: pid 5140 finish time Thu Mar 20 11:11:19 2003

I was able to recover the raw file from tape using dd, i.e.

  dd if=/dev/tapex of=./label-x bs=128k count=1

which recovered:

  AMANDA: TAPESTART DATE 20030315 TAPE LSX-13

Then:

  mt -f /dev/tapex asf 2
  dd if=/dev/tapex of=./label-2 bs=128k count=1

which recovered:

  AMANDA: FILE 20030315 whisper /home lev 0 comp .gz program /sbin/dump
  To restore, position tape at start of file and run:
  dd if= bs=128k skip=1 | /usr/bin/gzip -dc | sbin/restore -f... -

I did that, and was successful in recovering the file from tape:

  -rw-r--r--1 msimpson msimpson 2872049664 Mar 20 13:20 whisper_home_0.gz

I tried to do the pipe to "restore", with a failure similar to the 
above.  The gzip file looks like it's become corrupted:

  $ file whisper_home_0.gz
  whisper_home_0.gz: gzip compressed data, from Unix, max speed

  $ file -z whisper_home_0.gz
  whisper_home_0.gz: new-fs dump file (little endian), This dump Sat Mar 15 20:03:59 
2003, Previous dump Wed Dec 31 18:00:00 1969, Volume 1, Level zero, type: tape header, 
Label none, Filesystem /home, Device /dev/datavg/homelv, Host whisper.doit.wisc.edu, 
Flags 1 (gzip compressed data, from Unix, max speed)

_but_:

  $ gzip -l /projects/archives/whisper_home_0.gz
compresseduncompressed  ratio uncompressed_name
2872049664   0   0.0% whisper_home_0

and when I try to unzip it, even using the trick I found at 
www.gzip.org to avoid the 4gb file limit that's apparently a problem 
on some versions of gzip, I get the same error as in the debug file:

  $ gunzip < whisper_home_0.gz > whisper_home_0

  gunzip: stdin: invalid compressed data--format violated

  $ ls -l whisper_home*
  -rw-r--r--1 msimpson msimpson 2872049664 Mar 20 13:20 whisper_home_0.gz
  -rw-r--r--1 msimpson msimpson 6030524416 Mar 20 15:23 whisper_home_0

Any tips or tricks or other thoughts?  Is this the Linux dump/restore 
problem I've seen talked about on the mailing list?  I don't 
understand how the gzip file could be corrupted by a problem internal 
to the dump/restore cycle.

Thanks for any help,

-mgs




Re: ccd and amanda

2003-03-21 Thread Jon LaBadie
On Fri, Mar 21, 2003 at 12:34:14PM +0200, Laas Toom wrote:
> 
> Hi!
> 
> I ran out of space on one of my ccd filesystems and therefore configured
> it to use other devices for free space... this seems to be correct (the
> system is up and running), but since the change amanda fails to back up
> the data on the ccd.
> 
> afaik everything is the same, except the mountingpoint of the filesystem,
> as described in /etc/fstab:
> /dev/ccd0a   /usr/database  ufs  rw 1 1
> 
> there used to be:
> /dev/ccd3a   /usr/database  ufs  rw 1 1
> 
> 
> Can anyone give me any pointers as of where to start looking for mistake?

What is specified in the disklist?

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


Re: Amanda License

2003-03-21 Thread Jon LaBadie
On Fri, Mar 21, 2003 at 10:19:35AM +0100, Michel Seyller wrote:
> Hi all,
> 
> was looking for amanda license and did not found.
> found almost copyrights but nothing about distribution and so on.
> What kind of license is in use here : GPL, Apache ?
> please help.
> Thanks a lot.
> Regards,
> Michel.

Could not have been much of a search.
Did you read the first paragraph of www.amanda.org?

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


Re: Problems using runtar

2003-03-21 Thread Joel
Joe Benson wrote:

> Make sure amanda(or what ever user you are running amanda as) is a
> member of the group backup.

I checked that and unless my tired eyes are missing something the user is
in the backup group. It's certainly behaving as though the backup user isn't.
If I make runtar executable by everyone it works fine. I just need to figure
out who it thinks the user is.

  - Joel






Re: ccd and amanda

2003-03-21 Thread Joshua Baker-LePain
On Fri, 21 Mar 2003 at 12:34pm, Laas Toom wrote

> I ran out of space on one of my ccd filesystems and therefore configured
> it to use other devices for free space... this seems to be correct (the
> system is up and running), but since the change amanda fails to back up
> the data on the ccd.

I have no idea what a ccd is, but...

> afaik everything is the same, except the mountingpoint of the filesystem,
> as described in /etc/fstab:
> /dev/ccd0a   /usr/database  ufs  rw 1 1
> 
> there used to be:
> /dev/ccd3a   /usr/database  ufs  rw 1 1
> 
> Can anyone give me any pointers as of where to start looking for mistake?

How is it referenced in the disklist?

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



Re: Disklist confusion

2003-03-21 Thread Joshua Baker-LePain
On Fri, 21 Mar 2003 at 1:20am, Mats Blomstrand wrote

> Hi all
> I have a very large disk (700GB) where my users have their $HOME's.
> Can someone please help me with a example disklist file for user 'foo'
> and 'bar' on separate "images"?
> 
> Reading manpages, the amanda chapter and other textfiles i have come
> up with this:
> 
> hostname home_foo /home/foo {
>   normal_backup
> } 1
> 
> hostname home_bar /home/bar {
>   normal_backup
> } 1
> 
> Can this be right?  (im confused...)

What are you confused about?  When using tar (as your dumptype is), a 
diskdevice can be any directory.  So, actually, the disknames in your DLEs 
are redundant.  For such a situation, I just do:

hostname /home/foo dumptype
hostname /home/bar dumptype

> What happens if i write
>   exclude /home/*
>   include /home/foo
> 
> or
>   include /home/foo
>   exclude /home/*
> 
> ? Either one seems backward-logic to me.

For those types of entries, your diskdevice would need to be the same over 
multiple DLEs:

hostname /home/foo /home {
   normal_backup
   include ./foo
}
hostname /home/bar /home {
   normal_backup
   include ./bar
}

I think part of what you're missing is that if you put an include in your 
dumptype, it overrides the default include *.  Puzzle over the included 
example disklist -- it took me a while, but I finally grokked 
include/exclude/etc by looking at that and amanda(8).

Good luck.

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



ccd and amanda

2003-03-21 Thread Laas Toom

Hi!

I ran out of space on one of my ccd filesystems and therefore configured
it to use other devices for free space... this seems to be correct (the
system is up and running), but since the change amanda fails to back up
the data on the ccd.

afaik everything is the same, except the mountingpoint of the filesystem,
as described in /etc/fstab:
/dev/ccd0a   /usr/database  ufs  rw 1 1

there used to be:
/dev/ccd3a   /usr/database  ufs  rw 1 1


Can anyone give me any pointers as of where to start looking for mistake?

Laas



Re: Pornography

2003-03-21 Thread Scott Mcdermott
Kirk Strauser on Thu 20/03 18:33 -0600:
> > There is no reason someone should not want to subscribe
> > to the list to post.
> 
> That's not true:
> 
> "Oh, crap, my server just melted, and I'm having trouble
> getting Amanda to work!  I need an answer ASAP!  I know,
> I'll send an email to [EMAIL PROTECTED] from my home
> email address, even though I don't want to flood my slow
> home connection with a bunch of mailing lists..."

honestly...just give up this garbage.  Even if you post
when you aren't subscribed, you STILL have to read the
following posts through a gateway (or whatever) to determine
if they are related to YOUR post.  There is no difference:
do it through a web gateway, or do it through you mail user
agent.  If you say "but they CC me" then I will say that
that is fortunate for you, but not guaranteed (some people
insist on this, and some people hate it -- welcome to
mailing lists).

Stop expecting other people to shoulder your burden.  If you
can't subscribe before you post, then you shouldn't friggin'
post.  Arrgh this is annoying.  What is so hard to
understand? It's a cooperative venture for LOTS of people,
not one provided for your benefit.

Sorry, I will shut up now.


Amanda License

2003-03-21 Thread Michel Seyller
Hi all,

was looking for amanda license and did not found.
found almost copyrights but nothing about distribution and so on.
What kind of license is in use here : GPL, Apache ?
please help.
Thanks a lot.
Regards,
Michel.
--
 Michel SEYLLER 
  http://www.bullfreeware.com




Re: Pornography

2003-03-21 Thread Scott Mcdermott
Warning: bullshit rant follows.  Delete at will please,
totally off topic.

Mitch Collinsworth on Thu 20/03 17:31 -0500:
> Have we reached the point yet where the spam discussion
> has generated more list messages today than all the spam
> that's crossed it in the past year?

Thank you for injecting some sanity.

Sorry, I get carried away.  I'm strongly opinionated about
spam.  In one sense, it's just the same as any old salesman
coming up to you in a store: something you have to learn to
deal with if you agree to live in a capitalist society.  In
another sense, it's junk I want to get rid of.

I don't personally mind the spam; I've calculated that it
only takes me six seconds per day to delete the spam (it's
all very easy to identify; I get about 30-50 per day).  What
bothers me is when people post to the list and say that the
list should be moderated, or that someone should be doing
post filtering on every single list, rather than the end
recipients doing UCE filtering (however they want to
implement it), which covers ALL their mail.

Spam is everyone's problem, and when people try to insist
that someone else should take care of it for them, I really
take offense (although I should not, admittedly).
Especially when they bully someone else with threats of
legal action, and "threaten" to disjoin the list.

Good riddens...if censorship and oppression are a good
tactic for government recipients, then get the hell off our
community list.

Sorry, I'm just a lurking, rare poster, but I've been doing
this for a number of years and it really bothers me when
someone takes this free, volunteer assistance for granted
and tries to make it live up to their rules.  They might be
accustomed to having anti-porn rules shoved down their
throat, but that's their CHOICE to work for such an entity,
and they have no business forcing it down MY throat, or any
other list recipient.

I just get ornery when this happens; sorry to fill your
inbox with even more junk, but I feel that it's important to
point out since this same lesson carries over to innumerable
similar lists.


RE: Pornography

2003-03-21 Thread Pablo Jejcic
I hope they don't search for the word Pornography, or they are going to be
really happy with the spam in our list in the few last days :)

Please, could you stop with the discussion with cc to the list? I don't care
about the porn spam, but the pointless discussion is not of my interest.-

Kind Regards.
  _  

Pablo Jejcic
Smartweb Senior system Administrator
School of Computing - Robert Gordon University
[EMAIL PROTECTED]
  _  


``The nice thing about standards is that there are so many to choose from.
And if you really don't like all the standards you just have to wait another
year until the one arises you are looking for.'' 
A. Tanenbaum, ``Introduction to Computer Networks'

  _  



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Martinez, Michael - CSREES/ISTM
Sent: 20 March 2003 17:04
To: 'Joshua Baker-LePain'; Martinez, Michael - CSREES/ISTM
Cc: 'Seth, Wayne (Contractor)'; '[EMAIL PROTECTED]'
Subject: RE: Pornography


All I know is, none of the other email lists I subscribe to have this
problem. I'm not just going around blatantly complaining to every list about
any little old issue that comes up. I mean, with this list here, it's really
getting annoying receiving so much spam.

Martinez, Michael
CSREES/ISTM/USDA

> -Original Message-
> From: Joshua Baker-LePain [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 20, 2003 8:44 AM
> To: Martinez, Michael - CSREES/ISTM
> Cc: 'Seth, Wayne (Contractor)'; '[EMAIL PROTECTED]'
> Subject: RE: Pornography
> 
> 
> On Thu, 20 Mar 2003 at 8:02am, Martinez, Michael - CSREES/ISTM wrote
> 
> > I think you should implement a spam prevention policy and a
> moderated
> > list.
> 
> Are you volunteering to be moderator?  I'm not at all involved with
> running this list, but it seems to me that, given the pretty 
> high traffic, 
> moderating it would take a fair bit of time.
> 
> Just my $.02.
> 
> --
> Joshua Baker-LePain
> Department of Biomedical Engineering
> Duke University
> 




Re: amrecover problem with changer

2003-03-21 Thread Eric . Doutreleau
On Fri, 21 Mar 2003, Jon LaBadie wrote:


> On Thu, Mar 20, 2003 at 05:30:14PM -0800, Stephen Walton wrote:
> > I am trying a test amrestore of some files after amanda has run for a
> > bit on a RedHat 8.0 system with an HP DDS-3 6-tape changer.  The backups
> > are fine, as are the automatic tape changes;  I can get at all of my
> > backups manually with dd and tar.  However, amrestore is not happy.
> > 
> > The details:   I'm using amanda 2.4.3 compiled locally (no RedHat RPM
> > for me).  'tapedev "0"' appears in amanda.conf since I'm using a
> > changer.
> 
> You are using a changer to change the tapes.
> You are still using a tape device to read and write the tapes.
> 
> > amidxtaped.*.debug reveals that amrecover, when used, exec's "amrestore
> > -h -p 0" followed by the usual remaining arguments.  Of course this
> > fails, since there is no file or device named "0" which amrestore can
> > get at.
> 
> Have you tried setting tapedev to your tape device?
> 
> 

amrecover doesn't use the device that is returned by the changer prior
the 28022003 shanpshot ( it s a snapshot after the 2.4.4 release ).

Moreover you have to configure this parameter in your amanda.conf

amrecover_changer "glopglop"# amrecover will use the changer if 
you restore

and to lauch amrecover -d glopglop to make amidxtaped use the changer.

Hope that helps


-- 
Eric Doutreleau
I.N.T   | Tel   : +33 (0) 160764687
9 rue Charles Fourier   | Fax   : +33 (0) 160764321
91011 Evry   France | email : [EMAIL PROTECTED]