[Solved]Re: Resend: ? path of config file for amrecover

2004-03-08 Thread Allen Liu --- work
I finally figure our the cause of the problem is that in /etc/inetd.conf,
the entries there still pointed to old location. So each time amrecover
started, inetd triggered the old daemon so that it tried to find something
in old directories.


Thanks so much.

Allen Liu

IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4

- Original Message - 
From: Christoph Scheeder [EMAIL PROTECTED]
To: Allen Liu --- work [EMAIL PROTECTED]
Cc: Paul Bijnens [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, March 06, 2004 3:57 AM
Subject: Re: Resend: ? path of config file for amrecover


 Hi,
 i'll bet you have at least 2 versions of amrecover lying around on your
 system, and  the first one it finds in the path is the old one...
 if you change the install-path you'll be responsible for deleting the
 old installation, make install can't do that for you
 Christoph

 Allen Liu --- work schrieb:

  - Original Message - 
  From: Paul Bijnens [EMAIL PROTECTED]
  To: Allen Liu --- work [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Friday, March 05, 2004 12:06 PM
  Subject: Re: Resend: ? path of config file for amrecover
 
 
 
 Allen Liu --- work wrote:
 
 
 Just resend since I haven't heard anything back on it.
 
 I installed amanda in my Solaris box with configuration 'snd' like :
 /myapp/am1/etc/amanda/snd
 
 But when I run amrecover , it tried to  to search config file from my
 
  old
 
 installation path /myapp/am/etc/amanda ( see below), it ceitainly
 
  failed.
 
 I wonder why it tried that way ? and how to make it search my new
 installation location ?
 
 If you change the install path, you'll have to recompile.
 
  Yes, I re-did everything : configure/make/make install. But it still
behaves
  like this.
  I will try to delete everything and reinstall it. I just wonder why.
 
 -- 
 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  *
 ***
 
 
 




Resend: ? path of config file for amrecover

2004-03-05 Thread Allen Liu --- work
Just resend since I haven't heard anything back on it.

Thanks

Allen Liu 


- Original Message - 
From: Allen Liu --- work [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 12:21 PM
Subject: ? path of config file for amrecover


 Hi experts,
 
 I installed amanda in my Solaris box with configuration 'snd' like :
 /myapp/am1/etc/amanda/snd
 
 But when I run amrecover , it tried to  to search config file from my old
 installation path /myapp/am/etc/amanda ( see below), it ceitainly failed.
 I wonder why it tried that way ? and how to make it search my new
 installation location ?
 
 
 spike:root:#pwd
 /myapp/am1/sbin
 spike:root:#./amrecover snd
 AMRECOVER Version 2.4.4p2. Contacting server on spike ...
 220 spike AMANDA index server (2.4.4p1) ready.
 200 Access OK
 Setting restore date to today (2004-03-04)
 200 Working date set to 2004-03-04.
 501 Could not read config file /myapp/am/etc/amanda/snd/amanda.conf!
 amrecover
 --
 
 Thanks
 
 Allen Liu
 
 IP Application Design and Engineering
 Bell Canada
 (613) 781-7368, [EMAIL PROTECTED]
 1240 -160 Elgin St, Ottawa,ON, K2P 2C4
 
 


Re: Resend: ? path of config file for amrecover

2004-03-05 Thread Allen Liu --- work

- Original Message - 
From: Paul Bijnens [EMAIL PROTECTED]
To: Allen Liu --- work [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, March 05, 2004 12:06 PM
Subject: Re: Resend: ? path of config file for amrecover


 Allen Liu --- work wrote:

  Just resend since I haven't heard anything back on it.
 I installed amanda in my Solaris box with configuration 'snd' like :
 /myapp/am1/etc/amanda/snd
 
 But when I run amrecover , it tried to  to search config file from my
old
 installation path /myapp/am/etc/amanda ( see below), it ceitainly
failed.
 I wonder why it tried that way ? and how to make it search my new
 installation location ?

 If you change the install path, you'll have to recompile.
Yes, I re-did everything : configure/make/make install. But it still behaves
like this.
I will try to delete everything and reinstall it. I just wonder why.

 -- 
 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  *
 ***




? path of config file for amrecover

2004-03-04 Thread Allen Liu --- work
Hi experts,

I installed amanda in my Solaris box with configuration 'snd' like :
/myapp/am1/etc/amanda/snd

But when I run amrecover , it tried to  to search config file from my old
installation path /myapp/am/etc/amanda ( see below), it ceitainly failed.
I wonder why it tried that way ? and how to make it search my new
installation location ?


spike:root:#pwd
/myapp/am1/sbin
spike:root:#./amrecover snd
AMRECOVER Version 2.4.4p2. Contacting server on spike ...
220 spike AMANDA index server (2.4.4p1) ready.
200 Access OK
Setting restore date to today (2004-03-04)
200 Working date set to 2004-03-04.
501 Could not read config file /myapp/am/etc/amanda/snd/amanda.conf!
amrecover
--

Thanks

Allen Liu

IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4



Re: ? amrecover doesn't see index contents

2004-03-02 Thread Allen Liu --- work


Thanks, Frank.

What's the meaning of leadining number in the path ?

Allen Liu


- Original Message - 
From: Frank Smith [EMAIL PROTECTED]
To: Allen Liu --- work [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 01, 2004 4:20 PM
Subject: Re: ? amrecover doesn't see index contents


 --On Monday, March 01, 2004 16:11:47 -0500 Allen Liu --- work
[EMAIL PROTECTED] wrote:

  I'm running amrecover trying to restore files.
 
  After I started amrecover and set  target dis and date, it said no
records
  found like below:
  
  amrecover ls
  Must select a disk before listing files
  amrecover setdisk /test-ama1
  Scanning /dumps/amanda...
  200 Disk set to /test-ama1.
  No index records for disk for specified date
  If date correct, notify system administrator
  amrecover setdate ---01
  200 Working date set to 2004-03-01.
  No index records for cwd on new date
  Setting cwd to mount point
  amrecover ls
  
  I can see there is index files in the index dir and the .gz file was
  extracted when amrecover setdisk to this disk. The extracted text file
has
  file list inside:
  --
  spike:root:#ls -l
  total 4
  -rw---   1 amanda   sys  142 Mar  1 16:00 20040301_0
  -rw---   1 amanda   sys   83 Mar  1 15:58 20040301_0.gz
  spike:root:#more 20040301_0
  10020721223/./cfgadm
  10020721223/./chroot
  10020721223/./clri
  10020721223/./coreadm.conf
  10020721223/./crash
  10020721223/./cron
  10020721732/./

 BAD version of tar, make sure you are using at least 1.13.19.
 However, one person on the list had success by manually editing out
 the leading numbers from the paths and then running amrecover.

 Frank

  spike:root:#
  spike:root:#pwd
  /myapp/am/etc/amanda/fst/index/pete/_test-ama1
  -
 
  The funny thing is that I have another SAMBA disk with same dumpetype
which
  works fine with amrecover.
 
 
  Thanks
 
  Allen Liu
 



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




Re: fake install path

2004-03-02 Thread Allen Liu --- work


Thanks,Paul. It works as you directed.

Allen Liu

IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4

- Original Message - 
From: Paul Bijnens [EMAIL PROTECTED]
To: Brandon D. Valentine [EMAIL PROTECTED]
Cc: Jonathan Dill [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, March 01, 2004 7:08 PM
Subject: Re: fake install path


 Brandon D. Valentine wrote:
  On Mon, Mar 01, 2004 at 10:10:13PM +0100, Paul Bijnens wrote:
 
 Jonathan Dill wrote:
  
 make install VARIABLE=/tmp/amanda-2.4.4p2
 
 The prefix= can be specified to override the configure prefix
 like:
 
   make install prefix=/tmp/amanda-2.4.4p2
 
 
  This is not what you want, Jonathan.  DESTDIR is the correct variable to
  overload for package building at the make install stage.  PREFIX is
  defined at configure time as the install location.  DESTDIR will be
  prepended to PREFIX at make install time.

 Thanks for correcting me.  I also found a decent explanation:

 http://sources.redhat.com/autobook/autobook/autobook_107.html


 -- 
 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  *
 ***



gnutar in configure

2004-03-02 Thread Allen Liu --- work
I installed gnutar 1.13.25 which generate :
/usr/local/bin/tar

When I configure amanda 2.4.4p2, it could not find gnutar :

./configure --with-user=amanda --with-group=sys --prefix=/myapp/am1
...
checking for grep... /usr/bin/grep
checking for gtar... no
checking for gnutar... no
checking for tar... /usr/local/bin/tar
checking for smbclient... /usr/local/samba/bin/smbclient
checking for gzip... /usr/bin/gzip
...

My questions are:
-  when I specify dumptype with program=GNUTAR, does it use
/usr/local/bin/tar  ?
- how to make ./configure recognize gnutar ?

Thanks

Allen Liu

IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4



Re: gnutar in configure

2004-03-02 Thread Allen Liu --- work



- Original Message - 
From: Frank Smith [EMAIL PROTECTED]
To: Allen Liu --- work [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 1:59 PM
Subject: Re: gnutar in configure




 --On Tuesday, March 02, 2004 13:34:19 -0500 Allen Liu --- work
[EMAIL PROTECTED] wrote:

  I installed gnutar 1.13.25 which generate :
  /usr/local/bin/tar
 
  When I configure amanda 2.4.4p2, it could not find gnutar :
 
  ./configure --with-user=amanda --with-group=sys --prefix=/myapp/am1
  ...
  checking for grep... /usr/bin/grep
  checking for gtar... no
  checking for gnutar... no
  checking for tar... /usr/local/bin/tar
  checking for smbclient... /usr/local/samba/bin/smbclient
  checking for gzip... /usr/bin/gzip
  ...
 
  My questions are:
  -  when I specify dumptype with program=GNUTAR, does it use
  /usr/local/bin/tar  ?

 Not sure.

  - how to make ./configure recognize gnutar ?

 Run configure with --with-gnutar=/path/to/your/gnutar
I installed tar-1.13.25 . There is no such thing 'gnutar' generated. It only
generated 'tar' and installed it in /usr/local/bin.

 Frank

 
  Thanks
 
  Allen Liu
 
  IP Application Design and Engineering
  Bell Canada
  (613) 781-7368, [EMAIL PROTECTED]
  1240 -160 Elgin St, Ottawa,ON, K2P 2C4



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




? amrecover doesn't see index contents

2004-03-01 Thread Allen Liu --- work
I'm running amrecover trying to restore files.

After I started amrecover and set  target dis and date, it said no records
found like below:

amrecover ls
Must select a disk before listing files
amrecover setdisk /test-ama1
Scanning /dumps/amanda...
200 Disk set to /test-ama1.
No index records for disk for specified date
If date correct, notify system administrator
amrecover setdate ---01
200 Working date set to 2004-03-01.
No index records for cwd on new date
Setting cwd to mount point
amrecover ls

I can see there is index files in the index dir and the .gz file was
extracted when amrecover setdisk to this disk. The extracted text file has
file list inside:
--
spike:root:#ls -l
total 4
-rw---   1 amanda   sys  142 Mar  1 16:00 20040301_0
-rw---   1 amanda   sys   83 Mar  1 15:58 20040301_0.gz
spike:root:#more 20040301_0
10020721223/./cfgadm
10020721223/./chroot
10020721223/./clri
10020721223/./coreadm.conf
10020721223/./crash
10020721223/./cron
10020721732/./
spike:root:#
spike:root:#pwd
/myapp/am/etc/amanda/fst/index/pete/_test-ama1
-

The funny thing is that I have another SAMBA disk with same dumpetype which
works fine with amrecover.


Thanks

Allen Liu




Repost: ? holding disk contents

2004-02-27 Thread Allen Liu --- work
Just repost because I dodn't get any respose.
Is it true that amdump won't go on if tape device is not ready ?

Thanks

Allen Liu

IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4

- Original Message - 
From: Allen Liu --- work [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 12:01 PM
Subject: ? holding disk contents


 Hi all,

 I ma trying to see what holding disk contents look like.
 My changer script is chg-manual. The drive didn't have tape in.
 When I ran amdump, it asked for putting tape in. at this moment I check my
 holding disk directory, it has timestamp but no contents. Does it suppose
to
 have some data in holding disk ? is this situation so-callled downgrade
mode
 ?


 Thanks

 Allen Liu

 IP Application Design and Engineering
 Bell Canada
 (613) 781-7368, [EMAIL PROTECTED]
 1240 -160 Elgin St, Ottawa,ON, K2P 2C4





Re: Repost: ? holding disk contents

2004-02-27 Thread Allen Liu --- work


Thanks,, Frank.
How to force it to run in downgrade mode ?

Allen Liu

IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4

- Original Message - 
From: Frank Smith [EMAIL PROTECTED]
To: Allen Liu --- work [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, February 27, 2004 11:54 AM
Subject: Re: Repost: ? holding disk contents


 --On Friday, February 27, 2004 11:31:11 -0500 Allen Liu --- work
[EMAIL PROTECTED] wrote:

  Just repost because I dodn't get any respose.
  Is it true that amdump won't go on if tape device is not ready ?

 I haven't used chg-manual, but I assume it sits there waiting for
 you to put in a tape and say its ready.
However, if you have adequate holdingdisk space, it could still
 do incrementals (and fulls if reserve isn't set too low) to disk,
 although perhaps it is waiting on the manual input before deciding
 on whether to run in normal or degraded mode.


 Frank

 
  Thanks
 
  Allen Liu
 
  IP Application Design and Engineering
  Bell Canada
  (613) 781-7368, [EMAIL PROTECTED]
  1240 -160 Elgin St, Ottawa,ON, K2P 2C4
 
  - Original Message - 
  From: Allen Liu --- work [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, February 26, 2004 12:01 PM
  Subject: ? holding disk contents
 
 
  Hi all,
 
  I ma trying to see what holding disk contents look like.
  My changer script is chg-manual. The drive didn't have tape in.
  When I ran amdump, it asked for putting tape in. at this moment I check
my
  holding disk directory, it has timestamp but no contents. Does it
suppose
  to
  have some data in holding disk ? is this situation so-callled downgrade
  mode
  ?
 
 
  Thanks
 
  Allen Liu
 
  IP Application Design and Engineering
  Bell Canada
  (613) 781-7368, [EMAIL PROTECTED]
  1240 -160 Elgin St, Ottawa,ON, K2P 2C4
 
 



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




Re: Repost: ? holding disk contents

2004-02-27 Thread Allen Liu --- work


Thanks Jon.
I just want to see in case tape drive is not available for some reasons, if
amanda can store data in holding disk temparily.
My machine works find for normal backup, but i couldn't see data in holding
disk.

Allen Liu


- Original Message - 
From: Jon LaBadie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 27, 2004 1:20 PM
Subject: Re: Repost: ? holding disk contents


 On Fri, Feb 27, 2004 at 12:49:16PM -0500, Allen Liu --- work wrote:
 
 
  Thanks,, Frank.
  How to force it to run in downgrade mode ?
 
  Allen Liu
 
  IP Application Design and Engineering
  Bell Canada
  (613) 781-7368, [EMAIL PROTECTED]
  1240 -160 Elgin St, Ottawa,ON, K2P 2C4
 
  - Original Message - 
  From: Frank Smith [EMAIL PROTECTED]
  To: Allen Liu --- work [EMAIL PROTECTED];
[EMAIL PROTECTED]
  Sent: Friday, February 27, 2004 11:54 AM
  Subject: Re: Repost: ? holding disk contents
 
 
   --On Friday, February 27, 2004 11:31:11 -0500 Allen Liu --- work
  [EMAIL PROTECTED] wrote:
  
Just repost because I dodn't get any respose.
Is it true that amdump won't go on if tape device is not ready ?
  
   I haven't used chg-manual, but I assume it sits there waiting for
   you to put in a tape and say its ready.
  However, if you have adequate holdingdisk space, it could still
   do incrementals (and fulls if reserve isn't set too low) to disk,
   although perhaps it is waiting on the manual input before deciding
   on whether to run in normal or degraded mode.
  
  
   Frank
  
   
Thanks
   
Allen Liu
   
IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4
   
- Original Message - 
From: Allen Liu --- work [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 12:01 PM
Subject: ? holding disk contents
   
   
Hi all,
   
I ma trying to see what holding disk contents look like.
My changer script is chg-manual. The drive didn't have tape in.
When I ran amdump, it asked for putting tape in. at this moment I
check
  my
holding disk directory, it has timestamp but no contents. Does it
  suppose
to
have some data in holding disk ? is this situation so-callled
downgrade
mode
?
   
   
Thanks
   
Allen Liu

 Not sure anyone has ever wanted to before.

 Degraded mode is a mode where no level 0, full dumps,
 are performed.  Only incrementals are done.  Of course
 it is not possible to do incrementals only on new,
 never dumped, DLE's.  They must get a level 0 first.

 I guess, if you really wanted to mimic degraded mode
 you could set the dumptype options like increment only
 or strategy no-full.  I forget the actual names.

 Why do you want to force degraded mode?

 Have you checked your holding disk for size, permissions,
 and the amanda.conf parameter reserve?  It defaults to
 100% (i.e. 100% for degraded mode, none for normal mode)
 which doesn't sound like what you want.

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




Re: Repost: ? holding disk contents

2004-02-27 Thread Allen Liu --- work
yes, I did.

Thanks

Allen Liu

IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4

- Original Message - 
From: Stefan G. Weichinger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 27, 2004 2:34 PM
Subject: Re: Repost: ? holding disk contents


 Hi, Allen,

 on Freitag, 27. Februar 2004 at 20:05 you wrote to amanda-users:

 ALw Thanks Jon.
 ALw I just want to see in case tape drive is not available for some
reasons, if
 ALw amanda can store data in holding disk temparily.
 ALw My machine works find for normal backup, but i couldn't see data in
holding
 ALw disk.

 Do you use the option holdingdisk yes in your dumptypes?

 -- 
 best regards,
 Stefan

 Stefan G. Weichinger
 mailto:[EMAIL PROTECTED]









Re: ? amrecover to dir other than CWD

2004-02-26 Thread Allen Liu --- work


Thanks

Allen Liu


- Original Message - 
From: Christoph Scheeder [EMAIL PROTECTED]
To: Allen Liu --- work [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 2:51 AM
Subject: Re: ? amrecover to dir other than CWD


 Hi,
 if you want to restore in the original place, then, more or less, yes.
 You'll have to cwd to the dir specified in the disklist as startingpoint
 of the backup. From there on pathes are restored.
 But beware if there are files newer then the Backup you are restoring,
 they will be deleted without prompting, as amnda restores the contents
 of the dir's as they where at the backup.
 Most of us prefer to restore to a scratch are and then move the wanted
 files to the real destination for security reasons.
 Christoph

 Allen Liu --- work schrieb:

  I am testing amrecover.
  In its prompt, I can't find how to specify restore destination
directory. It
  looks it always try to recover to CWD, is it true ?
  Do I have to lcd to the destination dir and extract it ?
 
  Thanks
 
  Allen Liu
 
  IP Application Design and Engineering
  Bell Canada
  (613) 781-7368, [EMAIL PROTECTED]
  1240 -160 Elgin St, Ottawa,ON, K2P 2C4
 





? holding disk contents

2004-02-26 Thread Allen Liu --- work
Hi all,

I ma trying to see what holding disk contents look like.
My changer script is chg-manual. The drive didn't have tape in.
When I ran amdump, it asked for putting tape in. at this moment I check my
holding disk directory, it has timestamp but no contents. Does it suppose to
have some data in holding disk ? is this situation so-callled downgrade mode
?


Thanks

Allen Liu

IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4



? amrecover to dir other than CWD

2004-02-25 Thread Allen Liu --- work
I am testing amrecover.
In its prompt, I can't find how to specify restore destination directory. It
looks it always try to recover to CWD, is it true ?
Do I have to lcd to the destination dir and extract it ?

Thanks

Allen Liu

IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4



? mistake sh in amverifyrun 2.4.4p1

2004-02-13 Thread Allen Liu --- work
I am not sure if this is an error in amverifyrun script.

I run amverifyrun and got a error :

test: argument expected.

When I viewed the script I found the 1st line is :

#!/bin/sh
while there is a test line in body :
[ -e .. ]

This is not supported in sh. After I change 1st line to #!/bin/ksh, it works
fine.
Has anybody experienced this before ?


Thanks

Allen Liu




how to restore WIN files

2004-02-13 Thread Allen Liu --- work
I backed up some windows files thru SAMBA. It looks fine for backup.
When I tried  to restore them using:
amrestore config

it created a file in text format on my Sol box like:
 
$file pe*
pete.__boat_binary.20040213.1:  ascii text

How can I recover files in it to WIN machine ?

Thanks

Allen Liu 

IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4



Re: The Top Ten

2004-02-10 Thread Allen Liu --- work
I can't open your file after winrar decompress it.

Thanks

Allen Liu

- Original Message - 
From: Stefan G. Weichinger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 07, 2004 11:32 AM
Subject: Re: The Top Ten



 On Saurday, 07. Februar 2004 at 14:28 I wrote to amanda-users:

 SGW As I don't want to waste bandwidth without asking, I don't attach the
 SGW 6k-bz2-file right now. Please let me know if you want to have it
 SGW posted to the list. I assume it won't hurt too much.

 As I received requests to post the document, I do ;)

 This is review 0.5 of this doc.

 Let me know what you think.

 -- 
 best regards,
 Stefan

 Stefan G. Weichinger
 mailto:[EMAIL PROTECTED]






enable backup xp through samba after amanda installed

2004-02-10 Thread Allen Liu --- work


 Hi experts,

 I didn't have samba installed when I installed amanda, is there any way to
 add it without re-configure/make amanda ?
 
 Thanks
 
 Allen Liu



how to initiate amanda amdump ?

2004-01-27 Thread Allen Liu --- work




Hi all,

I installed amanda on my server which is a sparc 
server.
I configured the server itself as a backup client. 

When I run amdump there is no output from planner. 
I wonder how I can make it work.
I set up some pause point within planner.c, I can 
see the configure info was read in. And also at
some point of planner, amandad daemon was started. 
But just there is no output comes out from
planner.


Here are my config:

disklist:

pete c0t0d0s0 comp-root

/etc/inetd.conf:
amanda dgram udp 
wait amanda /myapp/am/libexec/amandad 
amandadamandaidx stream tcp nowait amanda 
/myapp/am/libexec/amindexd amindexdamidxtape stream tcp nowait 
amanda /myapp/am/libexec/amidxtaped amidxtaped


Thanks

Allen Liu 




Re: how to initiate amanda amdump ?

2004-01-27 Thread Allen Liu --- work
I ran amcheck -c and got following error msg. the client 'pete' and server
'spike' are same machine.


spike:amanda:/myapp/am/sbin$./amcheck -c fst

Amanda Backup Client Hosts Check

ERROR: pete: [can not read/write /etc/amandates: No such file or directory]
Client check: 1 host checked in 1.184 seconds, 1 problem found

(brought to you by Amanda 2.4.4p1)
spike:amanda:/myapp/am/sbin$
-

I can't find where the file 'amandates' is.



Thanks

Allen Liu

IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4

- Original Message - 
From: Joshua Baker-LePain [EMAIL PROTECTED]
To: Allen Liu --- work [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 10:30 AM
Subject: Re: how to initiate amanda amdump ?


 On Tue, 27 Jan 2004 at 10:12am, Allen Liu --- work wrote

  I installed amanda on my server which is a sparc server.
  I configured the server itself as a backup client.
  When I run amdump there is no output from planner. I wonder how I can
make it work.
  I set up some pause point within planner.c, I can see the configure info
was read in. And also at
  some point of planner, amandad daemon was started. But just there is no
output comes out from
  planner.
 
  Here are my config:
 
  disklist:
 
  pete c0t0d0s0 comp-root
 
  /etc/inetd.conf:
  amandadgram  udp wait   amanda /myapp/am/libexec/amandadamandad
  amandaidx stream tcp nowait amanda /myapp/am/libexec/amindexd   amindexd
  amidxtape stream tcp nowait amanda /myapp/am/libexec/amidxtaped
amidxtaped

 You need to ensure that this config passes 'amcheck' before you try
 amdump.  Does it?  If not, try to figure out the error message using
 FAQ-O-Matic or the list archives (both accessible via www.amanda.org).  If
 you still can't get it, come back here with the *exact* error message and
 any relevant files from /tmp/amanda.

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



Re: how to initiate amanda amdump ?

2004-01-27 Thread Allen Liu --- work
Thanks Joshua.
It works by touch it.
But why there are files amandates.c and  amandates.h, are they suppose to be
compiled and distributed ?

-
 spike:root:#find / -name amandat*
/etc/amandates
/myapp/amanda-2.4.4p1/client-src/amandates.h
/myapp/amanda-2.4.4p1/client-src/amandates.c
/myapp/amanda-2.4.4p1/client-src/.deps/amandates.Plo
/myapp/amanda-2.4.4p1/client-src/amandates.o
/myapp/amanda-2.4.4p1/client-src/amandates.lo
---

Thanks

Allen Liu

IP Application Design and Engineering
Bell Canada
(613) 781-7368, [EMAIL PROTECTED]
1240 -160 Elgin St, Ottawa,ON, K2P 2C4

- Original Message - 
From: Joshua Baker-LePain [EMAIL PROTECTED]
To: Allen Liu --- work [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 2:12 PM
Subject: Re: how to initiate amanda amdump ?


 On Tue, 27 Jan 2004 at 2:06pm, Allen Liu --- work wrote

  I ran amcheck -c and got following error msg. the client 'pete' and
server
  'spike' are same machine.
 
  
  spike:amanda:/myapp/am/sbin$./amcheck -c fst
 
  Amanda Backup Client Hosts Check
  
  ERROR: pete: [can not read/write /etc/amandates: No such file or
directory]
  Client check: 1 host checked in 1.184 seconds, 1 problem found
 
  (brought to you by Amanda 2.4.4p1)
  spike:amanda:/myapp/am/sbin$
  -
 
  I can't find where the file 'amandates' is.

 That's because it doesn't exist, which is what amanda is telling you.  You
 need to 'touch /etc/amandates', and then chown it to the user:group you're
 running amanda as.

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