Re: amlabel returning Read-only file system error

2003-03-14 Thread Paul Bijnens
On Thu, 13 Mar 2003 at 2:09pm, Ron Bauman wrote
amlabel: writing label: Read-only file system
It's indeed very weird. Two possibilities:

1. Are you sure you are specifying the correct tapedevice in the amanda 
configuration?  There is no file system on a tape, maybe you
specified file:... or something. Investigate with:
   amgetconf YourConfig tpchanger
   amgetconf YourConfig tapedev

2. Do you have the drive allowed for variable blocksize? (of fixed at 
32k is fine too).  I've had some problems with reading/writing
tapes with incompatible blocksizes (but never seen read-only).
Try it out with dd obs=  If that one works with blocksize,
it's something else.

--
Paul Bijnens, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
* ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
***



Confirmation for subscribe amanda-users

2003-03-14 Thread Majordomo
--

Someone (possibly you) has requested that your email address be added
to or deleted from the mailing list [EMAIL PROTECTED].

If you really want this action to be taken, please send the following
commands (exactly as shown) back to [EMAIL PROTECTED]:

auth e7c6df57 subscribe amanda-users [EMAIL PROTECTED]

If you do not want this action to be taken, simply ignore this message
and the request will be disregarded.

If your mailer will not allow you to send the entire command as a single
line, you may split it using backslashes, like so:

auth e7c6df57 subscribe amanda-users \
[EMAIL PROTECTED]

If you have any questions about the policy of the list owner, please
contact [EMAIL PROTECTED].

Thanks!

[EMAIL PROTECTED]


Re: compiling 2.4.4 on Mac OS X

2003-03-14 Thread Steven Karel
On Thu, 13 Mar 2003, Jean-Louis Martineau wrote:

 Why the configure script didn't found the `initgroups' declaration?
 Look at configure.log file.
 
 Jean-Louis
 

here's the bit from config.log for 2.4.4, let me know if you want the 
whole files. There is no corresponding error in configuring 2.4.3. 

configure:20154: checking for initgroups
configure:20197: gcc -o conftest conftest.c -lm -ltermcap 
5
configure:20200: $? = 0
configure:20203: test -s conftest
configure:20206: $? = 0
configure:20216: result: yes
configure:20154: checking for isascii
configure:20197: gcc -o conftest conftest.c -lm -ltermcap 
5
configure:20200: $? = 0
configure:20203: test -s conftest
configure:20206: $? = 0
configure:20216: result: yes
configure:20232: checking for initgroups
configure:20294: result: yes
configure:20305: checking for initgroups declaration in grp.h sys/types.h 
unistd.h libc.h
/usr/include/grp.h:72: undefined type, found `gid_t'
/usr/include/grp.h:81: syntax error, found `struct'
/usr/include/grp.h:81: illegal function definition, found `)'
/usr/include/grp.h:82: syntax error, found `size_t'
/usr/include/grp.h:82: illegal function definition, found `)'
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode
/usr/include/grp.h:72: undefined type, found `gid_t'
/usr/include/grp.h:81: syntax error, found `struct'
/usr/include/grp.h:81: illegal function definition, found `)'
/usr/include/grp.h:82: syntax error, found `size_t'
/usr/include/grp.h:82: illegal function definition, found `)'
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode
configure:20351: result: no
configure:20368: checking for ioctl
configure:20411: gcc -o conftest conftest.c -lm -ltermcap 
5
configure:20414: $? = 0
 



results missing

2003-03-14 Thread Laas Toom


Hello,

I use amanda to back up my whole site: freebsd workstations as well as windows 
samba shares.

recently my backup server chrashed and i had to reinstall the operatingsystem 
(in the way upgrading it from freebsd 4.6 to 4.7). After what i copied amanda 
config files to the locations they were before crash (the index files 
survived).

Now amanda backs up only the freebsd workstations, but for all samba shares 
amanda says: RESULTS MISSING.

What is the problem? How can i eliminate it?

The Amanda Faq-o-matic did not help, because i know the system worked before, 
so i do not need to make any alters to my filesystems or catalog tree.

Another strange thing happened when i moved one of my freebsd servers 
filesystems from a ccd too small to a bigger ccd device (everything is the 
same, exept the /etc/fstab row that mounts the filesystem). Now amanda says 
the disk is offline.

Thanks in advance,
Laas Toom



Re: Who uses amanda?

2003-03-14 Thread Dr. David Kirkby
Dr. David Kirkby wrote:
 
 Can anyone tell me if they use amanda and are a large commercial company
 ( 250 employees), a hospital or a university and if so how much it's
 used (whole institution, small department, single server etc). How many
 Gb do you back up (don't answer that if you feel its confidential, or
 you don't know).

Thank you to everyone who sent information about their large backups
using amanda. Some of the backups are well in excess of what is expected
here (~200-400 Gb) and the fact they are large institutions gives me a
good case to suggest that we take this route too. Clearly suggesting
package X developed by Mr. Y who has a few home users using it, would
not be a good case to implement it for backups. But this is clearly not
the case with amanda - there are plenty of big institutions using the
package for large backups. 

We don't have any database to back up and we don't (as far as I know)
back up a file system greater than the size of the tape drive. I know
one of the support people suggested to me for my home system that I did
not let file systems span tapes, so I doubt they will do so here.
However, as I said, I am not in the computer support group and have no
control over how backups are performed. I looked on the Sun web site and
see that transferring a licence of Veritas might not be free either,
depending on the hardware the machine is moved too. That too is a
convincing argument to stick with a free package. 

I might look at amanda for my home machine, although I'm tempted to
leave well along with my odd unix scripts run from cron. I've never had
a major catastropy (disk failure, # rm -rf / or similar) but whenever I
have needed to get back information, it has never presented me the
slightest problem. I occsionally boot from CD and back up the root file
system on the machine with clearly no open files at all. 

I print my own labels in a way that suits me, move some tapes off-site
etc. I will however look at the documentation, but are tending to think
Don't fix what is not broke. However, I have a few other machines on
my network now, so perhaps its the time to sort out something better. I
don't tend to back them up at all, since the data on them is of no use
to me - I only use them to check software compiles on different hardware
and operating systems. 

Sorry I have not replied to anyone who sent me individual emails, but
the response as been huge, so I would spend all day replying to each
e-mail. I want to get some work done! 

Dr. David Kirkby PhD,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408
e-mail [EMAIL PROTECTED]  
Web page: http://www.medphys.ucl.ac.uk/~davek


Re: results missing

2003-03-14 Thread Paul Bijnens
Laas Toom wrote:
Now amanda backs up only the freebsd workstations, but for all samba shares 
amanda says: RESULTS MISSING.
We need more information (like the /tmp/amanda/* debug files),
but one thing that comes to mind is, have you restored the
/etc/amandapass file on your samba client host (the one that
backs up the windows share).

Another strange thing happened when i moved one of my freebsd servers 
filesystems from a ccd too small to a bigger ccd device (everything is the 
same, exept the /etc/fstab row that mounts the filesystem). Now amanda says 
the disk is offline.
Again we need more information.  What do you specify in your disklist?
A device or a mount point? The exact cause is probably found in
an error message in the /tmp/amanda/* debug files.
BTW what is a ccd? I'm not a freebsd user.

--
Paul Bijnens, XplanationTel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax  +32 16 397.512
http://www.xplanation.com/  email:  [EMAIL PROTECTED]
***
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...*
* ...  Are you sure?  ...   YES   ...   Phew ...   I'm out  *
***



The Million Dollar amcheck Question (host down)

2003-03-14 Thread Lauren Bridges

 Hi folks!
 I know this question is asked a lot, and I've looked through various solutions, and 
 the FAQ but can't seem to solve my problem. When I run amcheck, I get the following 
 error:
 
 Amanda Tape Server Host Check
 -
 Holding disk /usr/local/etc/amanda/Test/dumps: 692120
 KB disk space 
 available, that's plenty
 NOTE: skipping tape-writable test
 Tape Test02 label ok
 Server check took 3.230 seconds
 
 Amanda Backup Client Hosts Check
 
 WARNING: snitch: selfcheck request timed out.  Host
 down?
 Client check: 1 host checked in 30.024 seconds, 1
 problem found
 
 (brought to you by Amanda 2.4.4)
 
 -This creates an amcheck.*.debug file with the appropriate timestamp, and this file 
 is as follows:
 
 amcheck: debug 1 pid 3264 ruid 0 euid 0: start at Thu
 Mar 13 16:33:09 
 2003
 amcheck: dgram_bind: socket bound to 0.0.0.0.981
 amcheck: pid 3264 finish time Thu Mar 13 16:33:39 2003
 
 -However, NO amandad.*.debug file is created. (??? The folders have 
 been changed so that they can be written by the user) Please note that I am using 
 xinetd instead of inetd.  In /etc/xindetd.d , I have the amanda,amidxtape and 
 amindexd files as respectively:
 
 # default: off
 # description: Part of Amanda server package
 
 service amanda {
 disable = no
 socket_type = dgram
 protocol= udp
 wait= yes
 user= root
 group   = disk
 server  = /usr/local/libexec/amandad
 }
 amidxtape:
 # Converted by Linux-Mandrake_inetdconvert
 service amidxtape
 {
 socket_type = stream
 protocol= tcp
 wait= yes
 user= root
 server  =
 /usr/local/libexec/amidxtaped
 server_args = amidxtaped
 disable = no
 }
 amindexd:
 # Converted by Linux-Mandrake_inetdconvert
 service amindexd
 {
  socket_type= stream
  protocol  = tcp
  wait   = yes
  user   = root
  server   = /usr/local/libexec/amindexd
  server_args= amindexd
  disable   = no
 }
 
 
 Can someone PLEASE give me a hand with this?
 Thanks so much!
 
 Lauren Bridges
 ___
 Lauren Bridges
 Development Tools Analyst, ACE 
 Cedara Software Corp.
 (905) 672-2101 X 1464
 



Re: The Million Dollar amcheck Question (host down)

2003-03-14 Thread Joshua Baker-LePain
On Fri, 14 Mar 2003 at 3:02pm, ljrsnn wrote

 Amanda Backup Client Hosts Check
 
 WARNING: snitch: selfcheck request timed out.  Host
 down?
 Client check: 1 host checked in 30.024 seconds, 1
 problem found

I assume snitch is both client and server?

 -However, NO amandad.*.debug file is created. (using ls -
 lu /usr/local/libexec/amandad, the file is not being accessed when 
 amcheck is run)
 Please note that I am using xinetd instead of inetd. 
 In /etc/xindetd.d , I have the amanda,amidxtape and
 amindexd files as 
 respectively:
 
 # default: off
 # description: Part of Amanda server package
 
 service amanda {
 disable = no
 socket_type = dgram
 protocol= udp
 wait= yes
 user= root
 group   = disk
 server  = /usr/local/libexec/amandad

What does 'netstat -l | grep amanda' say?

 This being said, I've also checked my firewalling, and the 
 tcpwrappers, and these seem to have no effect.

Have you tried with ipchains shut off?

 I've also tried restarting xinetd, and I made sure that amanda shows 
 up in ntsysv.

ntsysv is the wrong tool -- it's a configuration tool, not a status 
reporting one.

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



Re: The Million Dollar amcheck Question (host down)

2003-03-14 Thread Chris Dahn
I have had this happen when I did not have the proper FQDN in
.amandahosts. For my situation, we are changing over the Math and Computer
Science domain (mcs.drexel.edu) to a strict Computer Science domain
(cs.drexel.edu). The result is that Drexel decided to alias all of the new
cs.drexel.edu domain names to the current mcs.drexel.edu domains.
Therefore, if I specified the server as foo.cs.drexel.edu, it would fail,
because it got foo.mcs.drexel.edu or some such thing. When I added
foo.cs.drexel.edu to /etc/hosts everything worked.

The only other time I've had that happen was when the firewall was
blocking datagrams, but you said you checked that.

On Fri, 14 Mar 2003, ljrsnn wrote:

 Hi folks!
 I know this question is asked a lot, and I've looked
 through various
 solutions, and the FAQ but can't seem to solve my
 problem. (I'm trying to run this on Linux)
 When I run amcheck, I get the following error:

 Amanda Tape Server Host Check
 -
 Holding disk /usr/local/etc/amanda/Test/dumps: 692120
 KB disk space
 available, that's plenty
 NOTE: skipping tape-writable test
 Tape Test02 label ok
 Server check took 3.230 seconds

 Amanda Backup Client Hosts Check
 
 WARNING: snitch: selfcheck request timed out.  Host
 down?
 Client check: 1 host checked in 30.024 seconds, 1
 problem found

 (brought to you by Amanda 2.4.4)

 -This creates an amcheck.*.debug file with the
 appropriate timestamp,
 and this file is as follows:

 amcheck: debug 1 pid 3264 ruid 0 euid 0: start at Thu
 Mar 13 16:33:09
 2003
 amcheck: dgram_bind: socket bound to 0.0.0.0.981
 amcheck: pid 3264 finish time Thu Mar 13 16:33:39 2003

 -However, NO amandad.*.debug file is created. (using ls -
 lu /usr/local/libexec/amandad, the file is not being accessed when
 amcheck is run)
 Please note that I am using xinetd instead of inetd.
 In /etc/xindetd.d , I have the amanda,amidxtape and
 amindexd files as
 respectively:

 # default: off
 # description: Part of Amanda server package

 service amanda {
 disable = no
 socket_type = dgram
 protocol= udp
 wait= yes
 user= root
 group   = disk
 server  = /usr/local/libexec/amandad
 }
 amidxtape:
 # Converted by Linux-Mandrake_inetdconvert
 service amidxtape
 {
 socket_type = stream
 protocol= tcp
 wait= yes
 user= root
 server  =
 /usr/local/libexec/amidxtaped
 server_args = amidxtaped
 disable = no
 }
 amindexd:
 # Converted by Linux-Mandrake_inetdconvert
 service amindexd
 {
  socket_type= stream
  protocol  = tcp
  wait   = yes
  user   = root
  server   = /usr/local/libexec/amindexd
  server_args= amindexd
  disable   = no
 }

 This being said, I've also checked my firewalling, and the
 tcpwrappers, and these seem to have no effect.
 I've also tried restarting xinetd, and I made sure that amanda shows
 up in ntsysv.
 Can someone PLEASE give me a hand with this?
 Thanks so much!

 Lauren Bridges
 [EMAIL PROTECTED]
 ___
 Lauren Bridges
 Development Tools Analyst, ACE
 Cedara Software Corp.
 (905) 672-2101 X 1464






Re: The Million Dollar amcheck Question (host down)

2003-03-14 Thread Gene Heskett
On Fri March 14 2003 10:02, ljrsnn wrote:
Hi folks!
I know this question is asked a lot, and I've looked
through various
solutions, and the FAQ but can't seem to solve my
problem. (I'm trying to run this on Linux)
When I run amcheck, I get the following error:

Amanda Tape Server Host Check
-
Holding disk /usr/local/etc/amanda/Test/dumps: 692120
KB disk space
available, that's plenty
NOTE: skipping tape-writable test
Tape Test02 label ok
Server check took 3.230 seconds

Amanda Backup Client Hosts Check

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

(brought to you by Amanda 2.4.4)

-This creates an amcheck.*.debug file with the
appropriate timestamp,
and this file is as follows:

amcheck: debug 1 pid 3264 ruid 0 euid 0: start at Thu
Mar 13 16:33:09
2003
amcheck: dgram_bind: socket bound to 0.0.0.0.981

mmm, did you specify the actual ip adddress of the server in the 
configuration?  Using localhost will bite you eventually, use 
addresses and FQDN's throughout.

And do you have .amandahosts properly setup, see the docs.

amcheck: pid 3264 finish time Thu Mar 13 16:33:39 2003

-However, NO amandad.*.debug file is created. (using ls -
lu /usr/local/libexec/amandad, the file is not being accessed when
amcheck is run)
Please note that I am using xinetd instead of inetd.
In /etc/xindetd.d , I have the amanda,amidxtape and
amindexd files as
respectively:

# default: off
# description: Part of Amanda server package

service amanda {
disable = no
socket_type = dgram
protocol= udp
wait= yes
user= root
group   = disk
server  = /usr/local/libexec/amandad
}
amidxtape:
# Converted by Linux-Mandrake_inetdconvert
service amidxtape
{
socket_type = stream
protocol= tcp
wait= yes
user= root
server  =
/usr/local/libexec/amidxtaped
server_args = amidxtaped
disable = no
}
amindexd:
# Converted by Linux-Mandrake_inetdconvert
service amindexd
{
 socket_type= stream
 protocol  = tcp
 wait   = yes
 user   = root
 server   = /usr/local/libexec/amindexd
 server_args= amindexd
 disable   = no
}

This being said, I've also checked my firewalling, and the
tcpwrappers, and these seem to have no effect.
I've also tried restarting xinetd, and I made sure that amanda
 shows up in ntsysv.
Can someone PLEASE give me a hand with this?
Thanks so much!

Lauren Bridges
[EMAIL PROTECTED]
___
Lauren Bridges
Development Tools Analyst, ACE
Cedara Software Corp.
(905) 672-2101 X 1464


[This E-mail scanned for viruses by Declude Virus]

-- 
Cheers, Gene
AMD [EMAIL PROTECTED] 320M
[EMAIL PROTECTED]  512M
99.24% setiathome rank, not too shabby for a WV hillbilly


Re: Who uses amanda?

2003-03-14 Thread Jon LaBadie
On Fri, Mar 14, 2003 at 12:42:49PM +, Dr. David Kirkby wrote:
 Dr. David Kirkby wrote:
  
  Can anyone tell me if they use amanda and are a large commercial company
  ( 250 employees), a hospital or a university and if so how much it's
  used (whole institution, small department, single server etc). How many

   [[ snip ]]

 However, as I said, I am not in the computer support group and have no
 control over how backups are performed. ...
 
 I might look at amanda for my home machine, although I'm tempted to
 leave well along with my odd unix scripts run from cron. I've never had
 a major catastropy (disk failure, # rm -rf / or similar) but whenever I

Leaving the current system intact, you could still investigate amanda
at home.  There is nothing that says you have to install a cron entry
to do regular backups.  You can install the system and check its
functioning by simply doing amdump config.  This is the way,
four or five years ago, I explored amanda before recommending it
to a client who wanted to get rid of Veritas.

When the client said freeware?  maybe, we'll see, I surreptitiously
installed amanda using a different, smaller tape drive than was in
use for Veritas.  A month later they had a recovery need that the
Veritas support person was having trouble with.  After a bit I
recovered the files to an empty directory tree and reported I had
them; they could copy them over if they wanted.  An hour later they
did.  Veritas was gone at the end of the support contract.

For archiving I have a separate config that I still run manually
when the muse stikes, a major change is planned, etc.  Particularly
when using tar for backup, it need not affect other backup schemes.
(dump may affect /etc/dumpdates for other schemes)

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


compiler options

2003-03-14 Thread Jon LaBadie
Quick check, does anyones C compiler NOT support
the -E option to output the results of the
C preprocessor to stdout?

I know lots of compilers follow the ATT lead
and have the option, I'd like to hear about
ones that DO NOT.  Maybe they have an alternative?

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


Re: The Million Dollar amcheck Question (host down)

2003-03-14 Thread Frank Smith
--On Friday, March 14, 2003 15:02:22 + ljrsnn [EMAIL PROTECTED] wrote:

Hi folks!
I know this question is asked a lot, and I've looked
through various
solutions, and the FAQ but can't seem to solve my
problem. (I'm trying to run this on Linux)
When I run amcheck, I get the following error:
Amanda Tape Server Host Check
-
Holding disk /usr/local/etc/amanda/Test/dumps: 692120
KB disk space
available, that's plenty
NOTE: skipping tape-writable test
Tape Test02 label ok
Server check took 3.230 seconds
Amanda Backup Client Hosts Check

WARNING: snitch: selfcheck request timed out.  Host
down?
Client check: 1 host checked in 30.024 seconds, 1
problem found
(brought to you by Amanda 2.4.4)

-This creates an amcheck.*.debug file with the
appropriate timestamp,
and this file is as follows:
amcheck: debug 1 pid 3264 ruid 0 euid 0: start at Thu
Mar 13 16:33:09
2003
amcheck: dgram_bind: socket bound to 0.0.0.0.981
amcheck: pid 3264 finish time Thu Mar 13 16:33:39 2003
As Gene pointed out, you really shouldn't be using localhost.

-However, NO amandad.*.debug file is created. (using ls -
lu /usr/local/libexec/amandad, the file is not being accessed when
amcheck is run)
Please note that I am using xinetd instead of inetd.
In /etc/xindetd.d , I have the amanda,amidxtape and
amindexd files as
respectively:
# default: off
# description: Part of Amanda server package
service amanda {
disable = no
socket_type = dgram
protocol= udp
wait= yes
user= root
group   = disk
server  = /usr/local/libexec/amandad
}
Are you really using 'root' for the Amanda user?  If so you should change it
to another user, some Amanda utilities won't run if started by root (although
I don't know if that is still true if it was configured with --with-user=root).
Frank


amidxtape:
# Converted by Linux-Mandrake_inetdconvert
service amidxtape
{
socket_type = stream
protocol= tcp
wait= yes
user= root
server  =
/usr/local/libexec/amidxtaped
server_args = amidxtaped
disable = no
}
amindexd:
# Converted by Linux-Mandrake_inetdconvert
service amindexd
{
 socket_type= stream
 protocol  = tcp
 wait   = yes
 user   = root
 server   = /usr/local/libexec/amindexd
 server_args= amindexd
 disable   = no
}
This being said, I've also checked my firewalling, and the
tcpwrappers, and these seem to have no effect.
I've also tried restarting xinetd, and I made sure that amanda shows
up in ntsysv.
If you run /usr/local/libexec/amandad from the command line as the Amanda
user does it behave as expected (i.e., does nothing for a minute or so,
then returns, or returns instantly if you hit a key) or does it return some
error message?
Frank

Can someone PLEASE give me a hand with this?
Thanks so much!
Lauren Bridges
[EMAIL PROTECTED]
___
Lauren Bridges
Development Tools Analyst, ACE
Cedara Software Corp.
(905) 672-2101 X 1464


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


pleasant observation

2003-03-14 Thread Jon LaBadie
Just a nice observation.

I have been running version 2.4.2 for a long time.
Yesterday I decided to upgrade.  As you know there
have been a lot of changes in the interim.  I was
slightly concerned how they would affect my system.

I downloaded the 3/08 snapshot, configured with
my old script, compiled, installed, and edited
only chg-mtx to set the slot numbers.

amtape worked, amcheck said ok, and last night
amdump did its thing.

Good job Core Team of developers in maintaining
backward compatibility!!

Now to explore the new/changed features.

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


amrecover permission problem

2003-03-14 Thread Stephen Carville
I am having a permission problem with amrecover that makes no sense to me.

Please cc me on any replies.  I am a memebr of the list but I haven't seen any 
mail in a while

$ sudo amrecover -C daily1 -s chena
AMRECOVER Version 2.4.3b2. Contacting server on chena ...
220 chena AMANDA index server (2.4.3b2) ready.
200 Access OK
Setting restore date to today (2003-03-14)
200 Working date set to 2003-03-14.
200 Config set to daily1.
200 Dump host set to thames.
Trying disk /export ...
Trying disk md0 ...
Can't determine disk and mount point from $CWD '/export/recover'
amrecover setdisk /export/private
Scanning /scratch/amanda...
200 Disk set to /export/private.
amrecover cd haxume/Accounting
/export/private/haxume/Accounting
amrecover setdate 2003-03-05
200 Working date set to 2003-03-05.
amrecover add Acct Rec 03.xls
Added /haxume/Accounting/Acct Rec 03.xls
amrecover extract

Extracting files using tape drive /dev/ait2 on host thames.
The following tapes are needed: C83256

Restoring files into directory /export/recover
Continue? [Y/n]: y

Load tape C83256 now
Continue? [Y/n/t]: y
amrecover: error reading tape: Connection reset by peer
extract_list - child returned non-zero status: 1

The amidxtaped file shows:

$ cat amidxtaped.20030314110107.debug
amidxtaped: debug 1 pid 25567 ruid 250 euid 250 start time Fri Mar 14 11:01:07 
2003
amidxtaped: version 2.4.3b2
 SECURITY USER root
bsd security: remote host thames user root local user amanda
check failed: [access as amanda not allowed from [EMAIL PROTECTED] amandahostsauth 
failed
amidxtaped: security check failed: [access as amanda not allowed from 
[EMAIL PROTECTED] amandahostsauth failed
security check failed: [access as amanda not allowed from [EMAIL PROTECTED] 
amandahostsauth failed
amidxtaped: pid 25567 finish time Fri Mar 14 11:01:07 2003

On Chena I have in .amandahosts:

thames  root
thames  amanda

On Thames:

chena   amanda
chena   root

The tape is loaded in the drive and I have checked it with dd to be sure it is 
readable.  Both thames and chena are in /etc/hosts.  Netstat shows an 
established connection between thames and chena:amadaidx.

I've restored using amrecover before so why doesn't amanda allow me to connect 
now?

-- 
Stephen Carville
UNIX and Network Administrator
DPSI (formerly Ace USA Flood Services)
310-342-3602
[EMAIL PROTECTED]



Re: pleasant observation

2003-03-14 Thread Chris Dahn
On Fri, 14 Mar 2003, Jon LaBadie wrote:
 Good job Core Team of developers in maintaining
 backward compatibility!!

  Am I mistaken, or did they change the indexing method? Is both backing
up and restoring backwards compatible?



Re: pleasant observation

2003-03-14 Thread Jon LaBadie
On Fri, Mar 14, 2003 at 03:59:39PM -0500, Chris Dahn wrote:
 On Fri, 14 Mar 2003, Jon LaBadie wrote:
  Good job Core Team of developers in maintaining
  backward compatibility!!
 
   Am I mistaken, or did they change the indexing method? Is both backing
 up and restoring backwards compatible?

Did not recall that.

amrecover (current one) shows files dumped last evening and from
dumps made 2 and 3 wks ago.  Did not try to recover, just browse.

Scanning the ChangeLog didn't turn up anything since ?1998?,
back in 2.4.0.  A change to index directory structure.  But I
may have missed it scanning quickly.

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


amrecover permission problem -- followup

2003-03-14 Thread Stephen Carville
I don't know if this was the cause or not but:

The machine thames has two IP addresses.  One on eth0, the other on eth0:1.  
Once I added both addresses to the host file on _both_ machines, amrecover 
happily restored  the file.  I'll admit I have no idea why this should make a 
difference, tho.  All traffic I could see went thru the the primary eth0 
address.






Re: fixed day backup

2003-03-14 Thread Bao Ho
Hi David, Jay, and Wayne,

Thanks for replying.

I had tried the options strategy noinc and strategy nofull as Jay has
mentioned. In fact,
we can get away with only one config with two dumptypes and have to call the
correct one on the
correct day with cron. We just override the dumpcycle options in the
dumptypes.

It works so far, but there was the Mail drive from another machine, which I
use smb
to mount to the backup server, that almost always has a full backup, no
matter if it
is called with the incremental dumptype or the full dumptype. Its contents
changes
constantly, but I don't think that's the reason why it should be fully
backed up.

I also tried two separate configs, in combination with the two options
mentioned above.

I also used amadmin to force a level 0 backup right before the full is
performed.

I will try with record no as soon as I get back to the office.

Maybe because I was using all of your suggested methods at the same time
that
caused the problem :)


-Original Message-
From: David Olbersen [EMAIL PROTECTED]
To: bao [EMAIL PROTECTED]; amanda [EMAIL PROTECTED]
Date: Thursday, March 13, 2003 2:53 PM
Subject: RE: fixed day backup


Bao,

I don't know why the FAQ says that -- it's simply not true!

We currently have a setup similar to this: incremental every day and full
backups every other weekend.

The trick is to make 2 amanda configurations (say, 'Daily' and 'Archive').

Once you've got that you can just call amanda with the correct
configuration on the right days, i.e.

amdump Daily
amdump Archive

--
David Olbersen
iGuard Engineer
11415 West Bernardo Court
San Diego, CA 92127
1-858-676-2277 x2152


 -Original Message-
 From: bao [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 13, 2003 12:25 PM
 To: amanda
 Subject: fixed day backup


 Hello,

 In the Amanda FAQ, there is one question How can I configure
 Amanda to
 perform full backups on the weekend and incrementals on
 weekdays?. The
 answer is You can't.

 It's unfortunate that the plan above is what I need. I need
 to run full
 backup once a week, and incrementals on the other days. All of the
 backups will stay on disk (tapeless backup), plus the full
 will be put
 on tape. Disk only keeps one week (full + incrementals), and
 tapes keep
 8 weeks of full-only.

 If Amanda manages the full and incremental using its own way.
 How can I
 know which one has the full, and when the full is performed,
 to automate
 the process of transferring to tape??

 Has anyone done this sucessfully and How can I do it??

 Best regards,






Address Change

2003-03-14 Thread kurt
To all correspondents:

Any E-mail addressed to either Kurt Lovelace or Melinda Reyna-Lovelace must
now use the following address until further notice:

[EMAIL PROTECTED]

as we are moving tomorrow and our current accounts may be cut-off. Our new
phone number and snail-mail address is as follows:

9449 Briarforest Drive #4407
Houston, Texas 77063
(832)251-3621

If this information does not pertain to you, please disregard with our
apologies as it is a send to a large portion of general contact list.


Best Regards,


-=KuRt=-

Kurt Lovelace, CTO
912ids.com

http://www.912ids.com