Re: [BackupPC-users] Nmblookup doesn't find anything, host can't be found

2009-04-05 Thread Fatih Arslan
I've now configured my server and client to user static-ip's

My server(Linux) has an ip with 192.168.1.2
My client(also linux) has an ip with 192.168.1.3

I've set the option in hosts file from 1 to 0 (for static ip)

Well applying the command gives me:



backu...@fatih-pardus bin $ ./BackupPC_dump -v -f -d 192.168.1.3
cmdSystemOrEval: about to system /usr/bin/ping -c 1 -w 3 192.168.1.3
cmdSystemOrEval: finished: got output PING 192.168.1.3 (192.168.1.3)
56(84) bytes of data.
64 bytes from 192.168.1.3: icmp_seq=2 ttl=64 time=1.94 ms

--- 192.168.1.3 ping statistics ---
2 packets transmitted, 1 received, 50% packet loss, time 999ms
rtt min/avg/max/mdev = 1.940/1.940/1.940/0.000 ms

cmdSystemOrEval: about to system /usr/bin/ping -c 1 -w 3 192.168.1.3
cmdSystemOrEval: finished: got output PING 192.168.1.3 (192.168.1.3)
56(84) bytes of data.
64 bytes from 192.168.1.3: icmp_seq=1 ttl=64 time=1.80 ms

--- 192.168.1.3 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.807/1.807/1.807/0.000 ms

CheckHostAlive: returning 1.807
cmdSystemOrEval: about to system /usr/bin/nmblookup -A 192.168.1.3
cmdSystemOrEval: finished: got output Looking up status of 192.168.1.3
No reply from 192.168.1.3


NetBiosInfoGet: failed: can't parse return string
Exiting because NetBiosInfoGet(192.168.1.3) returned '', an invalid host name
backu...@fatih-pardus bin $ nmblookup -A 192.168.1.3
Looking up status of 192.168.1.3
No reply from 192.168.1.3



I've no software firewall installed, nor i have a Hardwadre firewall.
I've locked at my router, which is Linksysy Wag325N, all firewall
options are disabled.
There must be a way to solve it, something is corrupting my config but
I don't no what is it.  I've searced for Linksys Wag325n netbios but
i didn't any solution.

Anyway thanks for helping



On Sun, Apr 5, 2009 at 3:55 AM, David Lasker d...@altosdesign.com wrote:
 I am home now and looking at the BackupPC code. I see in BackupPC_dump
 script line 144 that it expects the command:

 nmblookup -A ip address

 to return the name of your host when configured for DHCP. So you need to
 figure out how to make that work in order for BackupPC to work.

 Is there firewall software running on your PC's that is blocking nmblookup?
 Or is there a hardware firewall that is blocking it?

 This is now a moot point, but for DHCP clients, BackupPC_dump is called by
 main BackupPC script with '-d' parameter and IP address, not the host name.

 So you should have been using this call:

 ./BackupPC_dump -v -f -d 192.168.1.101

 But that won't work until you make nmblookup -A work.

 However, once you figure out why netbios isn't working, you can probably
 turn off DHCP mode, and go back to using netbios name resolution.

 Hope that helps...

 Dave

 -Original Message-
 From: Fatih Arslan [mailto:fthar...@gmail.com]
 Sent: Saturday, April 04, 2009 2:23 PM
 To: General list for user discussion, questions and support
 Subject: Re: [BackupPC-users] Nmblookup doesn't find anything, host can't be
 found

 It's saying the same again:

 backu...@fatih-pardus bin $ ./BackupPC_dump -v -f samsung
 Name server doesn't know about samsung; trying NetBios
 cmdSystemOrEval: about to system /usr/bin/nmblookup samsung
 cmdSystemOrEval: finished: got output querying samsung on 192.168.1.255
 name_query failed to find name samsung

 NetBiosHostIPFind: couldn't find IP address for host samsung
 host not found


 --
 Fatih ARSLAN
 blog.arsln.org

 
 --
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:    http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/


 --
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:    http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/




-- 
Fatih ARSLAN
blog.arsln.org

--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Nmblookup doesn't find anything, host can't be found

2009-04-05 Thread Fatih Arslan
Thanks all for helping. I've just figured out where the problem  is.

On my client(which is ubuntu 8.04), i thought that Samba was
pre-installed. But this is not the case, thus I've installed Samba
trough synaptic.
Now nmblookup is able to see my client, I've just started to take a backup.

But i thought that for a Linux Client, samba is not needed? Am I wrong
with this assumption ?

Regards

On Sun, Apr 5, 2009 at 10:52 AM, Fatih Arslan fthar...@gmail.com wrote:
 I've now configured my server and client to user static-ip's

 My server(Linux) has an ip with 192.168.1.2
 My client(also linux) has an ip with 192.168.1.3

 I've set the option in hosts file from 1 to 0 (for static ip)

 Well applying the command gives me:


 
 backu...@fatih-pardus bin $ ./BackupPC_dump -v -f -d 192.168.1.3
 cmdSystemOrEval: about to system /usr/bin/ping -c 1 -w 3 192.168.1.3
 cmdSystemOrEval: finished: got output PING 192.168.1.3 (192.168.1.3)
 56(84) bytes of data.
 64 bytes from 192.168.1.3: icmp_seq=2 ttl=64 time=1.94 ms

 --- 192.168.1.3 ping statistics ---
 2 packets transmitted, 1 received, 50% packet loss, time 999ms
 rtt min/avg/max/mdev = 1.940/1.940/1.940/0.000 ms

 cmdSystemOrEval: about to system /usr/bin/ping -c 1 -w 3 192.168.1.3
 cmdSystemOrEval: finished: got output PING 192.168.1.3 (192.168.1.3)
 56(84) bytes of data.
 64 bytes from 192.168.1.3: icmp_seq=1 ttl=64 time=1.80 ms

 --- 192.168.1.3 ping statistics ---
 1 packets transmitted, 1 received, 0% packet loss, time 0ms
 rtt min/avg/max/mdev = 1.807/1.807/1.807/0.000 ms

 CheckHostAlive: returning 1.807
 cmdSystemOrEval: about to system /usr/bin/nmblookup -A 192.168.1.3
 cmdSystemOrEval: finished: got output Looking up status of 192.168.1.3
 No reply from 192.168.1.3


 NetBiosInfoGet: failed: can't parse return string
 Exiting because NetBiosInfoGet(192.168.1.3) returned '', an invalid host name
 backu...@fatih-pardus bin $ nmblookup -A 192.168.1.3
 Looking up status of 192.168.1.3
 No reply from 192.168.1.3
 


 I've no software firewall installed, nor i have a Hardwadre firewall.
 I've locked at my router, which is Linksysy Wag325N, all firewall
 options are disabled.
 There must be a way to solve it, something is corrupting my config but
 I don't no what is it.  I've searced for Linksys Wag325n netbios but
 i didn't any solution.

 Anyway thanks for helping



 On Sun, Apr 5, 2009 at 3:55 AM, David Lasker d...@altosdesign.com wrote:
 I am home now and looking at the BackupPC code. I see in BackupPC_dump
 script line 144 that it expects the command:

 nmblookup -A ip address

 to return the name of your host when configured for DHCP. So you need to
 figure out how to make that work in order for BackupPC to work.

 Is there firewall software running on your PC's that is blocking nmblookup?
 Or is there a hardware firewall that is blocking it?

 This is now a moot point, but for DHCP clients, BackupPC_dump is called by
 main BackupPC script with '-d' parameter and IP address, not the host name.

 So you should have been using this call:

 ./BackupPC_dump -v -f -d 192.168.1.101

 But that won't work until you make nmblookup -A work.

 However, once you figure out why netbios isn't working, you can probably
 turn off DHCP mode, and go back to using netbios name resolution.

 Hope that helps...

 Dave

 -Original Message-
 From: Fatih Arslan [mailto:fthar...@gmail.com]
 Sent: Saturday, April 04, 2009 2:23 PM
 To: General list for user discussion, questions and support
 Subject: Re: [BackupPC-users] Nmblookup doesn't find anything, host can't be
 found

 It's saying the same again:

 backu...@fatih-pardus bin $ ./BackupPC_dump -v -f samsung
 Name server doesn't know about samsung; trying NetBios
 cmdSystemOrEval: about to system /usr/bin/nmblookup samsung
 cmdSystemOrEval: finished: got output querying samsung on 192.168.1.255
 name_query failed to find name samsung

 NetBiosHostIPFind: couldn't find IP address for host samsung
 host not found


 --
 Fatih ARSLAN
 blog.arsln.org

 
 --
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:    http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/


 --
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:    http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/




 --
 Fatih ARSLAN
 blog.arsln.org




-- 
Fatih ARSLAN
blog.arsln.org


[BackupPC-users] rrdtool

2009-04-05 Thread Matthias Meyer
Hi,

I've installed rrdtool on my system and found the BackupPC Pool Size in
the server status page. I didn't know before that backuppc can display
measures from rrdtool.

Their are any other rrdtool data which can be displeyed in the backuppc GUI?
Is there a documentation about this integration?

br
Matthias
-- 
Don't Panic


--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] rrdtool

2009-04-05 Thread Nils Breunese (Lemonbit)
Matthias Meyer wrote:

 I've installed rrdtool on my system and found the BackupPC Pool  
 Size in
 the server status page. I didn't know before that backuppc can display
 measures from rrdtool.

 Their are any other rrdtool data which can be displeyed in the  
 backuppc GUI?
 Is there a documentation about this integration?

There is no rrdtool integration built into BackupPC. I believe there  
is some third party mod/hack that does this. Maybe there is something  
about this on the BackupPC wiki. Myself, I like to use a dedicated  
monitoring tool for all of our monitoring instead of having to look  
for stats in different applications.

Nils Breunese.

--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Incremental Backup

2009-04-05 Thread Holger Parplies
Hi,

Tino Schwarze wrote on 2009-03-26 18:21:53 +0100 [Re: [BackupPC-users] 
Incremental Backup]:
 On Thu, Mar 26, 2009 at 12:56:36PM -0400, kyeto wrote:
 
  Ah ok,
  I have copied the files from an another folder.
  
  How can i tell to backuppc to check the create date of the file and not the 
  modification date ?
 
 As far as I know, you cannot. If you could, BackupPC would do it by
 default.

for the record: this is nonsense. You don't want to base incremental backups
on the creation date of files. You want to back up files *changed* since the
reference backup too, not *only newly created* ones. Even if smbclient's
incremental mode supports it (which I doubt, because it makes no sense), you
would end up losing much more than you gain.

Regards,
Holger

--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] rrdtool

2009-04-05 Thread Matthias Meyer
Nils Breunese (Lemonbit) wrote:

 Matthias Meyer wrote:
 
 I've installed rrdtool on my system and found the BackupPC Pool
 Size in
 the server status page. I didn't know before that backuppc can display
 measures from rrdtool.

 Their are any other rrdtool data which can be displeyed in the
 backuppc GUI?
 Is there a documentation about this integration?
 
 There is no rrdtool integration built into BackupPC. I believe there
 is some third party mod/hack that does this. Maybe there is something
 about this on the BackupPC wiki. Myself, I like to use a dedicated
 monitoring tool for all of our monitoring instead of having to look
 for stats in different applications.
 
 Nils Breunese.
 
 --
 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
 Wiki:http://backuppc.wiki.sourceforge.net
 Project: http://backuppc.sourceforge.net/

You are right. It seems to be a patch by debian developers. But it is really
very nice!
http://groups.google.at/group/linux.debian.changes.devel/browse_thread/thread/ca0c89046a99e82d/7b0342b565707cf8?hl=deie=ISO-8859-1q=backuppc+rrdtool#7b0342b565707cf8
-- 
Don't Panic


--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Incremental Backup

2009-04-05 Thread Les Mikesell
Holger Parplies wrote:
 Hi,
 
 Tino Schwarze wrote on 2009-03-26 18:21:53 +0100 [Re: [BackupPC-users] 
 Incremental Backup]:
 On Thu, Mar 26, 2009 at 12:56:36PM -0400, kyeto wrote:

 Ah ok,
 I have copied the files from an another folder.

 How can i tell to backuppc to check the create date of the file and not the 
 modification date ?
 As far as I know, you cannot. If you could, BackupPC would do it by
 default.
 
 for the record: this is nonsense. You don't want to base incremental backups
 on the creation date of files. You want to back up files *changed* since the
 reference backup too, not *only newly created* ones. Even if smbclient's
 incremental mode supports it (which I doubt, because it makes no sense), you
 would end up losing much more than you gain.
 
On unix-like filesystems, file creation time is not stored.  The 'ctime' 
  value is the 'inode change time' and is in fact what you should prefer 
to base incrementals on because it will catch moved/renamed files and 
owner/permission changes as well as content changes.  Since changing 
modification time (mtime) is also an inode change, ctime can never be 
earlier than mtime.   But in any case samba can only use the 
modification time.

-- 
   Les Mikesell
lesmike...@gmail.com

--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] debian/freebsd

2009-04-05 Thread dan
http://linux.slashdot.org/article.pl?sid=09/04/05/39

just an FYI for those that are fans of debian and of freebsd.

Debian is now shipping with a freebsd kernel.  This will give a debian
userland to the freebsd kernel, and access to debian packages.

I cant wait to see this mature as well as the ZFS freensd port.  as these
two stabilize this will create an excelent platform for backuppc.  The
FreeBSD kernel is top-notch and can certainly trade blows with the Linux
kernel, debian is one of the dominant distributions (I am including
durivitives like ubuntu) and ZFS is a filesystem that seems almost custom
tailored to backuppc type workloads.
--
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/