SearchFAQMemberlist Log in
Reply to topic Page 2 of 2
Goto page Previous  1, 2
Backup From Web Browser
Author Message
Post Backup From Web Browser 
On Mar 5, 2010, at 2:38 PM, Les Mikesell wrote:

On 3/5/2010 2:09 PM, Summers, James B. II wrote:


The configured ping command is:

$pingPath -c 1 -w 3 $host

and from the command line on the server:
/bin/ping -c 1 -w 3 129.15.78.102
PING 129.15.78.102 (129.15.78.102) 56(84) bytes of data.
64 bytes from 129.15.78.102: icmp_seq=0 ttl=128 time=1.46 ms

Can you ping the name you defined for the host in backuppc?


No I can not ping it by name, only address. I guess I thought that BackupPC was doing it by addr or name as needed. It seems like that is how it is done with the two nmblookup commands and using the same $host variable.

Here is some commands and their output:
[backuppc < at > rabin ~]$ /bin/ping -c 1 -w 3 129.15.78.102
PING 129.15.78.102 (129.15.78.102) 56(84) bytes of data.
64 bytes from 129.15.78.102: icmp_seq=0 ttl=128 time=1.34 ms

--- 129.15.78.102 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.343/1.343/1.343/0.000 ms, pipe 2
[backuppc < at > rabin ~]$ /bin/ping -c 1 -w 3 jbsoffice
ping: unknown host jbsoffice
[backuppc < at > rabin ~]$ host 129.15.78.102
102.78.15.129.in-addr.arpa domain name pointer d-ip-129-15-78-102.cs.ou.edu.
[backuppc < at > rabin ~]$ /usr/bin/nmblookup -R -U 129.15.1.120 -A 129.15.78.102
Looking up status of 129.15.78.102
JBSOFFICE <00> - M <ACTIVE>
WORKGROUP <00> - <GROUP> M <ACTIVE>
JBSOFFICE <20> - M <ACTIVE>
WORKGROUP <1e> - <GROUP> M <ACTIVE>

MAC Address = 00-01-03-25-00-1E

[backuppc < at > rabin ~]$ /usr/bin/nmblookup -R -U 129.15.1.120 jbsoffice
querying jbsoffice on 129.15.1.120
129.15.78.102 jbsoffice<00>
[backuppc < at > rabin ~]$ ping -c 1 -w 3 d-ip-129-15-78-102.cs.ou.edu
PING d-ip-129-15-78-102.cs.ou.edu (129.15.78.102) 56(84) bytes of data.
64 bytes from d-ip-129-15-78-102.cs.ou.edu (129.15.78.102): icmp_seq=0 ttl=128 time=0.194 ms

--- d-ip-129-15-78-102.cs.ou.edu ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.194/0.194/0.194/0.000 ms, pipe 2
[backuppc < at > rabin ~]$ /usr/bin/nmblookup -R -U 129.15.1.120 d-ip-129-15-78-102.cs.ou.edu
querying d-ip-129-15-78-102.cs.ou.edu on 129.15.1.120
name_query failed to find name d-ip-129-15-78-102.cs.ou.edu


So going through all of that it seems that ping will only work when it uses the DNS and nmblookup will only work with responses from the winserver?

Am I not naming the host correctly maybe?

The pc's I want to backup will actually sit on a different 10.x.x.x NAT network and will not have static entries.

Ideas?

Thanks Again!



Also, when you said you could do a backup from the command line, are you
using BackupPC_serverMesg? If not, do you get some kind of error if you
try it that way?


The command that will do a backup is:

BackupPC_dump -v -f jbsoffice

http://www.mail-archive.com/backuppc-users < at > lists.sourceforge.net/msg01227.html

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Backup From Web Browser 
I am starting to look through the code to see if there is a variable I could use to always have ping use the address instead of the $host, but have not found one yet.

Or would this be a bad idea? It seems like it may work since what is registered in the DNS and Winserver do not match.

Thanks


On Mar 5, 2010, at 2:51 PM, Summers, James B. II wrote:


On Mar 5, 2010, at 2:38 PM, Les Mikesell wrote:

On 3/5/2010 2:09 PM, Summers, James B. II wrote:


The configured ping command is:

$pingPath -c 1 -w 3 $host

and from the command line on the server:
/bin/ping -c 1 -w 3 129.15.78.102
PING 129.15.78.102 (129.15.78.102) 56(84) bytes of data.
64 bytes from 129.15.78.102: icmp_seq=0 ttl=128 time=1.46 ms

Can you ping the name you defined for the host in backuppc?


No I can not ping it by name, only address. I guess I thought that BackupPC was doing it by addr or name as needed. It seems like that is how it is done with the two nmblookup commands and using the same $host variable.

Here is some commands and their output:
[backuppc < at > rabin ~]$ /bin/ping -c 1 -w 3 129.15.78.102
PING 129.15.78.102 (129.15.78.102) 56(84) bytes of data.
64 bytes from 129.15.78.102: icmp_seq=0 ttl=128 time=1.34 ms

--- 129.15.78.102 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.343/1.343/1.343/0.000 ms, pipe 2
[backuppc < at > rabin ~]$ /bin/ping -c 1 -w 3 jbsoffice
ping: unknown host jbsoffice
[backuppc < at > rabin ~]$ host 129.15.78.102
102.78.15.129.in-addr.arpa domain name pointer d-ip-129-15-78-102.cs.ou.edu.
[backuppc < at > rabin ~]$ /usr/bin/nmblookup -R -U 129.15.1.120 -A 129.15.78.102
Looking up status of 129.15.78.102
JBSOFFICE <00> - M <ACTIVE>
WORKGROUP <00> - <GROUP> M <ACTIVE>
JBSOFFICE <20> - M <ACTIVE>
WORKGROUP <1e> - <GROUP> M <ACTIVE>

MAC Address = 00-01-03-25-00-1E

[backuppc < at > rabin ~]$ /usr/bin/nmblookup -R -U 129.15.1.120 jbsoffice
querying jbsoffice on 129.15.1.120
129.15.78.102 jbsoffice<00>
[backuppc < at > rabin ~]$ ping -c 1 -w 3 d-ip-129-15-78-102.cs.ou.edu
PING d-ip-129-15-78-102.cs.ou.edu (129.15.78.102) 56(84) bytes of data.
64 bytes from d-ip-129-15-78-102.cs.ou.edu (129.15.78.102): icmp_seq=0 ttl=128 time=0.194 ms

--- d-ip-129-15-78-102.cs.ou.edu ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.194/0.194/0.194/0.000 ms, pipe 2
[backuppc < at > rabin ~]$ /usr/bin/nmblookup -R -U 129.15.1.120 d-ip-129-15-78-102.cs.ou.edu
querying d-ip-129-15-78-102.cs.ou.edu on 129.15.1.120
name_query failed to find name d-ip-129-15-78-102.cs.ou.edu


So going through all of that it seems that ping will only work when it uses the DNS and nmblookup will only work with responses from the winserver?

Am I not naming the host correctly maybe?

The pc's I want to backup will actually sit on a different 10.x.x.x NAT network and will not have static entries.

Ideas?

Thanks Again!



Also, when you said you could do a backup from the command line, are you
using BackupPC_serverMesg? If not, do you get some kind of error if you
try it that way?


The command that will do a backup is:

BackupPC_dump -v -f jbsoffice

http://www.mail-archive.com/backuppc-users < at > lists.sourceforge.net/msg01227.html

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Backup From Web Browser 
On 3/5/2010 2:51 PM, Summers, James B. II wrote:

So going through all of that it seems that ping will only work when it uses the DNS and nmblookup will only work with responses from the winserver?

Am I not naming the host correctly maybe?

The pc's I want to backup will actually sit on a different 10.x.x.x NAT network and will not have static entries.

Ideas?

I think it is supposed to use dns if the dhcp field in hosts is 0 and
nmblookup if it is 1. You might be able to verify if that is the only
problem by temporarily setting ClientAlias to an IP address that you
know is connected.

Does your nmblookup work with just
nmblookup host
to find the names on the 10.x.x.x net? And speaking of NAT, when you
connect from the client in the scenario that started this thread, does
the backuppc server see the IP that it is supposed to connect to, or
does something in between change the source address of the connection?

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Backup From Web Browser 
On 3/5/2010 2:51 PM, Summers, James B. II wrote:

On Mar 5, 2010, at 2:38 PM, Les Mikesell wrote:

On 3/5/2010 2:09 PM, Summers, James B. II wrote:


The configured ping command is:

$pingPath -c 1 -w 3 $host

and from the command line on the server:
/bin/ping -c 1 -w 3 129.15.78.102
PING 129.15.78.102 (129.15.78.102) 56(84) bytes of data.
64 bytes from 129.15.78.102: icmp_seq=0 ttl=128 time=1.46 ms

Can you ping the name you defined for the host in backuppc?


No I can not ping it by name, only address. I guess I thought that BackupPC was doing it by addr or name as needed. It seems like that is how it is done with the two nmblookup commands and using the same $host variable.

Here is some commands and their output:
[backuppc < at > rabin ~]$ /bin/ping -c 1 -w 3 129.15.78.102
PING 129.15.78.102 (129.15.78.102) 56(84) bytes of data.
64 bytes from 129.15.78.102: icmp_seq=0 ttl=128 time=1.34 ms

--- 129.15.78.102 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.343/1.343/1.343/0.000 ms, pipe 2
[backuppc < at > rabin ~]$ /bin/ping -c 1 -w 3 jbsoffice
ping: unknown host jbsoffice
[backuppc < at > rabin ~]$ host 129.15.78.102
102.78.15.129.in-addr.arpa domain name pointer d-ip-129-15-78-102.cs.ou.edu.
[backuppc < at > rabin ~]$ /usr/bin/nmblookup -R -U 129.15.1.120 -A 129.15.78.102
Looking up status of 129.15.78.102
JBSOFFICE<00> - M<ACTIVE>
WORKGROUP<00> -<GROUP> M<ACTIVE>
JBSOFFICE<20> - M<ACTIVE>
WORKGROUP<1e> -<GROUP> M<ACTIVE>

MAC Address = 00-01-03-25-00-1E

[backuppc < at > rabin ~]$ /usr/bin/nmblookup -R -U 129.15.1.120 jbsoffice
querying jbsoffice on 129.15.1.120
129.15.78.102 jbsoffice<00>
[backuppc < at > rabin ~]$ ping -c 1 -w 3 d-ip-129-15-78-102.cs.ou.edu
PING d-ip-129-15-78-102.cs.ou.edu (129.15.78.102) 56(84) bytes of data.
64 bytes from d-ip-129-15-78-102.cs.ou.edu (129.15.78.102): icmp_seq=0 ttl=128 time=0.194 ms

--- d-ip-129-15-78-102.cs.ou.edu ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.194/0.194/0.194/0.000 ms, pipe 2
[backuppc < at > rabin ~]$ /usr/bin/nmblookup -R -U 129.15.1.120 d-ip-129-15-78-102.cs.ou.edu
querying d-ip-129-15-78-102.cs.ou.edu on 129.15.1.120
name_query failed to find name d-ip-129-15-78-102.cs.ou.edu


So going through all of that it seems that ping will only work when it uses the DNS and nmblookup will only work with responses from the winserver?

Am I not naming the host correctly maybe?

The pc's I want to backup will actually sit on a different 10.x.x.x NAT network and will not have static entries.

Ideas?

Thanks Again!



Also, when you said you could do a backup from the command line, are you
using BackupPC_serverMesg? If not, do you get some kind of error if you
try it that way?


The command that will do a backup is:

BackupPC_dump -v -f jbsoffice

http://www.mail-archive.com/backuppc-users < at > lists.sourceforge.net/msg01227.html

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Backup From Web Browser 
Well I wanted to run for a while to verify that all is working now.

The fix for me was to set the DHCP flag to 0 for my clients. Even though they are dhcp, BackupPC work here with them set to non-dhcp.

Working perfectly now.

Many thanks for all of the help and info.


On Mar 5, 2010, at 3:13 PM, Les Mikesell wrote:

On 3/5/2010 2:51 PM, Summers, James B. II wrote:

So going through all of that it seems that ping will only work when it uses the DNS and nmblookup will only work with responses from the winserver?

Am I not naming the host correctly maybe?

The pc's I want to backup will actually sit on a different 10.x.x.x NAT network and will not have static entries.

Ideas?

I think it is supposed to use dns if the dhcp field in hosts is 0 and
nmblookup if it is 1. You might be able to verify if that is the only
problem by temporarily setting ClientAlias to an IP address that you
know is connected.

Does your nmblookup work with just
nmblookup host
to find the names on the 10.x.x.x net? And speaking of NAT, when you
connect from the client in the scenario that started this thread, does
the backuppc server see the IP that it is supposed to connect to, or
does something in between change the source address of the connection?

--
Les Mikesell
lesmikesell < at > gmail.com

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/



---
Jim Summers
School of Computer Science-University of Oklahoma





------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 2 of 2
Goto page Previous  1, 2
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB