Re: Another Amanda + Win32 backup problem

2003-10-06 Thread Christopher Odenbach

Hi,

> Thanks Chris it appears you have found my problem.
[...]
> After issuing strings /opt/amanda/libexec/sendbackup | grep
> amandapass it returns nothing.

I assume you have used your path in the statement above? /opt is not the 
default amanda directory.

> So back to compiling amanda.
> I have compiled amanda 2.4.4 and 2.4.4p1 with the following
> ./configure --with-smbclient=/usr/local/samba/bin/smbclient
> --with-user=operator --with-group=sys --with-config=SElvl0 --wit
> h-suffixes --with-libraries=/usr/local/lib
>
> After doing a make, I so another search for amandapass in sendbackup
>
> /amanda-2.4.4p1/client-src$ strings - sendbackup* |grep amandapass
   ^^

What is this hyphen doing there?

> Do you have any other suggestions?  Is there possibly something else
> I'm missing?

I just had a look at the sources here:

[EMAIL PROTECTED] grep amandapass *.c
findpass.c:  if ( (fp = fopen("/etc/amandapass", "r")) ) {
selfcheck.c:testfd = open("/etc/amandapass", R_OK);
selfcheck.c:printf("ERROR [/etc/amandapass is world 
readable!]\n");
selfcheck.c:printf("OK [/etc/amandapass is readable, but 
not by all]\n");
selfcheck.c:printf("OK [unable to stat /etc/amandapass: 
%s]\n",
selfcheck.c:printf("ERROR [unable to open /etc/amandapass: 
%s]\n",

It looks as if the path "/etc/amandapass" is hard coded.

Christopher

-- 
==
Dipl.-Ing. Christopher Odenbach
HNI Rechnerbetrieb
[EMAIL PROTECTED]
Tel.: +49 5251 60 6215
==



RE: Another Amanda + Win32 backup problem

2003-10-05 Thread Jason Tedesco
Thanks Chris it appears you have found my problem.
(see below)

> -Original Message-
> From: Christopher Odenbach [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 30 September 2003 5:14 PM
> To: Jason Tedesco; [EMAIL PROTECTED]
> Subject: Re: Another Amanda + Win32 backup problem
> 
> 
> 
> Hi Jason,
> 
> > I am trying to backup a win32 host with Amanda and keep running into
> > problems.  I compiled Amanda with smbclient full path. When I try
> > executing an amcheck I receive the following error.
> >
> > Amanda Backup Client Hosts Check
> > 
> > WARNING: mymachine.host.org: selfcheck request timed out.  
> Host down?
> > Client check: 1 host checked in 30.019 seconds, 1 problem found
> >
> > (brought to you by Amanda 2.4.4p1)
> >
> > I also receive this error in my logfile.
> > ERROR planner Request to mymachine.host.org timed out.
> >
> > I increased the etimeout in amanda.conf although that did not change
> > a thing. I can use smbclient to mount my drive without a 
> problem, and
> > the directory shard on the win32 host has no permissions set.
> >
> > This is what I have below in my disklist
> > mymachine.host.org //mymachine/temp comp-root-tar
> 
> I think you have not quite understood how amanda's samba backups work.
> 
> The first entry in the disklist should point to the 
> unix/linux host that 
> actually starts smbclient. This can be (but does not have to be) your 
> tape server. Your tape server is actually quite a good idea 
> to prevent 
> unneccessary data transfer through your network.
> 
> The second entry contains usually the disk. This is the point where 
> samba jumps into: If the disk is something like 
> ///, then 
> the backup is done via smbclient to the host .
> 
> So: correct your disklist entry to something like
> 
> yourtapeserver.host.org //mymachine/temp comp-root-tar
> 
> > The reason why I have amandapass in two directories is because I am
> > unsure which one will be used by amanda on a solaris 8 box.
> 
> Try this on the solaris box (that is on your tape server!):
> 
> [EMAIL PROTECTED]>>strings /opt/amanda/libexec/sendbackup | grep 
> amandapass
> /etc/amandapass
> 
> This is the correct path.
> 
> Greetings,
> 
> Christopher
> 
> -- 
> ==
> Dipl.-Ing. Christopher Odenbach
> HNI Rechnerbetrieb
> [EMAIL PROTECTED]
> Tel.: +49 5251 60 6215
> ==
> 
> 


After issuing strings /opt/amanda/libexec/sendbackup | grep amandapass it returns 
nothing.

So back to compiling amanda.
I have compiled amanda 2.4.4 and 2.4.4p1 with the following 
./configure --with-smbclient=/usr/local/samba/bin/smbclient --with-user=operator 
--with-group=sys --with-config=SElvl0 --wit
h-suffixes --with-libraries=/usr/local/lib

After doing a make, I so another search for amandapass in sendbackup

/amanda-2.4.4p1/client-src$ strings - sendbackup* |grep amandapass

Do you have any other suggestions?  Is there possibly something else I'm missing?

Thanks.
Regards,
 # jason



Re: Another Amanda + Win32 backup problem

2003-09-30 Thread Christopher Odenbach

Hi Jason,

> I am trying to backup a win32 host with Amanda and keep running into
> problems.  I compiled Amanda with smbclient full path. When I try
> executing an amcheck I receive the following error.
>
> Amanda Backup Client Hosts Check
> 
> WARNING: mymachine.host.org: selfcheck request timed out.  Host down?
> Client check: 1 host checked in 30.019 seconds, 1 problem found
>
> (brought to you by Amanda 2.4.4p1)
>
> I also receive this error in my logfile.
> ERROR planner Request to mymachine.host.org timed out.
>
> I increased the etimeout in amanda.conf although that did not change
> a thing. I can use smbclient to mount my drive without a problem, and
> the directory shard on the win32 host has no permissions set.
>
> This is what I have below in my disklist
> mymachine.host.org //mymachine/temp comp-root-tar

I think you have not quite understood how amanda's samba backups work.

The first entry in the disklist should point to the unix/linux host that 
actually starts smbclient. This can be (but does not have to be) your 
tape server. Your tape server is actually quite a good idea to prevent 
unneccessary data transfer through your network.

The second entry contains usually the disk. This is the point where 
samba jumps into: If the disk is something like ///, then 
the backup is done via smbclient to the host .

So: correct your disklist entry to something like

yourtapeserver.host.org //mymachine/temp comp-root-tar

> The reason why I have amandapass in two directories is because I am
> unsure which one will be used by amanda on a solaris 8 box.

Try this on the solaris box (that is on your tape server!):

[EMAIL PROTECTED]>>strings /opt/amanda/libexec/sendbackup | grep 
amandapass
/etc/amandapass

This is the correct path.

Greetings,

Christopher

-- 
==
Dipl.-Ing. Christopher Odenbach
HNI Rechnerbetrieb
[EMAIL PROTECTED]
Tel.: +49 5251 60 6215
==



RE: Another Amanda + Win32 backup problem

2003-09-30 Thread Bert_De_Ridder

Does the share have a large amount of
data ? 
One of our file servers over here does
and sometimes the amcheck also times out.


Bert De Ridder

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be







"Jason Tedesco"
<[EMAIL PROTECTED]> 
30/09/2003 08:57




To
<[EMAIL PROTECTED]>


cc
<[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]>


Subject
RE: Another Amanda + Win32
backup problem








Sorry that was just a typo,  they
do have 2 slashes in amandapass
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 30 September 2003 4:54 PM
To: Jason Tedesco
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Another Amanda + Win32 backup problem


Your entries in amandapass should also have 2 slashes -> //mymachine/temp
username%password


HTH

Bert De Ridder

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be





"Jason Tedesco"
<[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 
30/09/2003 08:45






To
<[EMAIL PROTECTED]>



cc



Subject
Another Amanda + Win32 backup
problem










I am trying to backup a win32 host with Amanda and keep running into problems.
 I compiled Amanda with smbclient full path.
When I try executing an amcheck I receive the following error.

Amanda Backup Client Hosts Check

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

(brought to you by Amanda 2.4.4p1)

I also receive this error in my logfile.
ERROR planner Request to mymachine.host.org timed out.

I increased the etimeout in amanda.conf although that did not change a
thing.
I can use smbclient to mount my drive without a problem, and the directory
shard on the win32 host has no permissions set.

This is what I have below in my disklist
mymachine.host.org //mymachine/temp comp-root-tar

I also have a username and password set out in /etc/amandapass and /usr/local/etc/amandapass
.  The reason why I have amandapass in two directories is because
I am unsure which one will be used by amanda on a solaris 8 box.

/mymachine/temp username%password


Any advice would be appreciated.

Regards,
                Jason




RE: Another Amanda + Win32 backup problem

2003-09-29 Thread Jason Tedesco



Sorry 
that was just a typo,  they do have 2 slashes in 
amandapass

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]Sent: Tuesday, 30 September 
  2003 4:54 PMTo: Jason TedescoCc: 
  [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: Re: 
  Another Amanda + Win32 backup problemYour entries in amandapass should also have 2 slashes 
  -> //mymachine/temp 
  username%passwordHTHBert De RidderPeopleWare NV - Head OfficeCdt.Weynsstraat 85 B-2660 Hoboken Tel: +32 3 448.33.38 
  Fax: +32 3 448.32.66 PeopleWare NV - Branch Office GeelKleinhoefstraat 5B-2440 GeelTel: +32 14 
  57.00.90Fax: +32 14 58.13.25http://www.peopleware.be 
  
  


  "Jason Tedesco" 
<[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 
30/09/2003 08:45 
  

  
  

  To
<[EMAIL PROTECTED]> 
  

  cc

  

  Subject
    Another Amanda + Win32 
  backup problem

  
  

I am trying to backup a win32 host with Amanda and keep running 
  into problems.  I compiled Amanda with smbclient full path.When I try 
  executing an amcheck I receive the following error.Amanda Backup 
  Client Hosts CheckWARNING: 
  mymachine.host.org: selfcheck request timed out.  Host down?Client 
  check: 1 host checked in 30.019 seconds, 1 problem found(brought to 
  you by Amanda 2.4.4p1)I also receive this error in my 
  logfile.ERROR planner Request to mymachine.host.org timed out.I 
  increased the etimeout in amanda.conf although that did not change a 
  thing.I can use smbclient to mount my drive without a problem, and the 
  directory shard on the win32 host has no permissions set.This is what 
  I have below in my disklistmymachine.host.org //mymachine/temp 
  comp-root-tarI also have a username and password set out in 
  /etc/amandapass and /usr/local/etc/amandapass .  The reason why I have 
  amandapass in two directories is because I am unsure which one will be used by 
  amanda on a solaris 8 box./mymachine/temp 
  username%passwordAny advice would be 
  appreciated.Regards,            
      Jason


Re: Another Amanda + Win32 backup problem

2003-09-29 Thread Bert_De_Ridder

Your entries in amandapass should also
have 2 slashes -> //mymachine/temp username%password


HTH

Bert De Ridder

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be






"Jason Tedesco"
<[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
30/09/2003 08:45




To
<[EMAIL PROTECTED]>


cc



Subject
Another Amanda + Win32 backup
problem








I am trying to backup a win32 host with Amanda and
keep running into problems.  I compiled Amanda with smbclient full
path.
When I try executing an amcheck I receive the following error.

Amanda Backup Client Hosts Check

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

(brought to you by Amanda 2.4.4p1)

I also receive this error in my logfile.
ERROR planner Request to mymachine.host.org timed out.

I increased the etimeout in amanda.conf although that did not change a
thing.
I can use smbclient to mount my drive without a problem, and the directory
shard on the win32 host has no permissions set.

This is what I have below in my disklist
mymachine.host.org //mymachine/temp comp-root-tar

I also have a username and password set out in /etc/amandapass and /usr/local/etc/amandapass
.  The reason why I have amandapass in two directories is because
I am unsure which one will be used by amanda on a solaris 8 box.

/mymachine/temp username%password


Any advice would be appreciated.

Regards,
                
Jason




Another Amanda + Win32 backup problem

2003-09-29 Thread Jason Tedesco
I am trying to backup a win32 host with Amanda and keep running into problems.  I 
compiled Amanda with smbclient full path.
When I try executing an amcheck I receive the following error.

Amanda Backup Client Hosts Check

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

(brought to you by Amanda 2.4.4p1)

I also receive this error in my logfile.
ERROR planner Request to mymachine.host.org timed out.

I increased the etimeout in amanda.conf although that did not change a thing.
I can use smbclient to mount my drive without a problem, and the directory shard on 
the win32 host has no permissions set.

This is what I have below in my disklist
mymachine.host.org //mymachine/temp comp-root-tar

I also have a username and password set out in /etc/amandapass and 
/usr/local/etc/amandapass .  The reason why I have amandapass in two directories is 
because I am unsure which one will be used by amanda on a solaris 8 box.

/mymachine/temp username%password


Any advice would be appreciated.

Regards,
Jason



Re: Win32 Backup?

2003-03-06 Thread tobias . bluhm
"Steve Loughran" <[EMAIL PROTECTED]> wrote:
>> One way I have done it is to use MS's backup program to backup to a
>> samba share on a freebsd box. MS backup will happily backup to a samba
>> share.  Then I just backup all that stuff using amanda.
>
>beware of backing up via NT Backup to a samba share, always verify the
>contents of the file. I ran into a problem wher it appeared to be backing 
up
>just fine, and created a huge BKF file, but it was full of zeros and
>unusable...


I've been using ntbackup to files on samba share for a number of weeks 
now, haven't seen any problems. I do have the verify flag on. Perhaps it's 
the samba version or config, or maybe networking issues?

Just a thought.

I did have to alter my original schedule/dump type in ntbackup. I was 
getting tape overruns due to that fact that amanda has no control of the 
w2k boxes schedule/dump type. It would be very cool if some smart win 
programmer could write wrappers for ntbackup.exe so that amanda could 
control it directly. Also, I copy over the ntbackup log files at the end 
of the script. Seems it can only have 10 log files at a time. Ntbackup in 
w2k is pretty useful. Although Veritas did write it for them.


--
toby bluhm
philips medical systems, it support, mr development, cleveland ohio
[EMAIL PROTECTED]
440-483-5323



Re: Win32 Backup?

2003-03-06 Thread Steve Loughran
> One way I have done it is to use MS's backup program to backup to a
> samba share on a freebsd box. MS backup will happily backup to a samba
> share.  Then I just backup all that stuff using amanda.

beware of backing up via NT Backup to a samba share, always verify the
contents of the file. I ran into a problem wher it appeared to be backing up
just fine, and created a huge BKF file, but it was full of zeros and
unusable...

Steve



Re: Win32 Backup?

2003-03-06 Thread Anthony A. D. Talltree
I've had weird stuff happen to me when writing across 

samba mounts -- the files would quietly disappear under the Nethood
pseudo-directory, eating up disk space while being inaccessible.  Associating
the mounts with drive letters seems to avoid this.



Re: Win32 Backup?

2003-03-06 Thread Michael Perry
Anthony A. D. Talltree wrote:
I've never had to do this, but an approach that I'd probably persue
would be to use Symmantec/Norton Ghost to create occasional disk images
that would get xferred via Samba to a *ix filesystem.  I'd try real
hard to keep important data off of the M$ machine's local disks.
One way I have done it is to use MS's backup program to backup to a 
samba share on a freebsd box. MS backup will happily backup to a samba 
share.  Then I just backup all that stuff using amanda.

I've used MS backup on XP Pro and w2kpro this way and it works pretty 
well for my needs.

--
Michael Perry | Do or do not. There is no try. -Master Yoda
[EMAIL PROTECTED] | http://www.lnxpowered.org


Re: Win32 Backup?

2003-03-05 Thread Anthony A. D. Talltree
I've never had to do this, but an approach that I'd probably persue
would be to use Symmantec/Norton Ghost to create occasional disk images
that would get xferred via Samba to a *ix filesystem.  I'd try real
hard to keep important data off of the M$ machine's local disks.


Re: Win32 Backup?

2003-03-05 Thread philo vivero
> > I've used Amanda before in a Unix-only shop, but now am interested in
> > backing up Win32 clients.
> > 
> > I see Amanda.Org still seems to hold the official line of "use smbclient
> > to backup Win32 clients," but there's a port of Amanda client to Win32
> > at http://sourceforge.net/projects/amanda-win32 which appears to have
> > about 5-15 downloads daily for the last week or two.
> 
> I can't tell you much, but I can tell that the official 2.4.4 version 
> supports the cygwin environment.  There have been a number of messages on 
> this recently -- search the archives.

Okay, I searched the archives. There is some conjecture that the Win32
client is not too recent, but there doesn't seem to be anything
concrete.

Someone else said the 'sbmclient' method gives problems when the user
setup to do the backups on the Win32 client don't have permissions to
back up the machine.

Cygwin method requires first installing Cygwin on every client, right?
smbclient method requires only creating a user on every client. So
unless every Win32 client has Cygwin installed... would it be safe to
say that The One Right Way to do Win32 backups is:

 - Setup a local administrator on the client (say, "amanda")
 - Use smbclient at the server to backup
 - Don't use the Win32 client at SourceForge (it's out-of-date)

?

--
pv




Re: Win32 Backup?

2003-03-04 Thread Joshua Baker-LePain
On 4 Mar 2003 at 10:54am, philo vivero wrote

> I've used Amanda before in a Unix-only shop, but now am interested in
> backing up Win32 clients.
> 
> I see Amanda.Org still seems to hold the official line of "use smbclient
> to backup Win32 clients," but there's a port of Amanda client to Win32
> at http://sourceforge.net/projects/amanda-win32 which appears to have
> about 5-15 downloads daily for the last week or two.
> 
> What can you tell me about the Win32 port of Amanda client software? Is
> it appropriate for backing up a heterogenous Win'95, Win'98, Win'XP,
> Win'2K network? What are the 'gotchas'?

I can't tell you much, but I can tell that the official 2.4.4 version 
supports the cygwin environment.  There have been a number of messages on 
this recently -- search the archives.

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



Win32 Backup?

2003-03-04 Thread philo vivero
Hi,

I've used Amanda before in a Unix-only shop, but now am interested in
backing up Win32 clients.

I see Amanda.Org still seems to hold the official line of "use smbclient
to backup Win32 clients," but there's a port of Amanda client to Win32
at http://sourceforge.net/projects/amanda-win32 which appears to have
about 5-15 downloads daily for the last week or two.

What can you tell me about the Win32 port of Amanda client software? Is
it appropriate for backing up a heterogenous Win'95, Win'98, Win'XP,
Win'2K network? What are the 'gotchas'?

--
pv