Re: [BackupPC-users] I broke my cgi interface! :(
This is what I get on line 64 in config.pl: $Conf{BackupFilesExclude} = '['/']'; I've also changed the value to undef without any difference. I guess the bigger problem is that it says it can't execute the config.pl file. What should the permissions for config.pl be? I've changed it to the following without success: -rwxr-xr-x 1 backuppc backuppc 6708 Mar 26 08:12 config.pl Anything else I can or should check? Highly appreciated, J On 26/03/2010 00:51, Dale King wrote: On Thu, Mar 25, 2010 at 10:12:15PM +0200, Jaco Meintjes wrote: Couldn't execute /opt/backuppc/files/conf/config.pl: [Thu Mar 25 16:33:48 2010] BackupPC_Admin: Illegal division by zero at /opt/backuppc/files/conf/config.pl line 64. How do I fix this? Start by looking at line 64 in /opt/backuppc/files/conf/config.pl ? -- Download Intel#174; 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@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#174; 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@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] Offsite storage media- feasible for backup?
Hey guys, Your responds are really appreciable. Thanks a lot!! +-- |This was sent by jmsbrow...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Download Intel#174; 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@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] Trouble with backup of client using rsync and visudo
Great :) I've remember to notice that if you leave visudo on what we called the restore settings, you loose security, but you can do both restore and backup. So, less security, but you don't need to keep changing visudo (sudoers settings). Glad to know it's working Luis On Thu, Mar 25, 2010 at 7:50 PM, Kenneth L. Owen tx836...@bellsouth.netwrote: Hi All, The restore testing completed with no problem. The visudo method for transfer works quite well! --ken On Wed, 2010-03-24 at 16:47 -0400, Kenneth L. Owen wrote: Hi Luis, Just a note that I found a configuration problem on client1 that was causing the problem with getting the backup. Currently, backups will run on all clients. I am ready to perform my restore test. It should work with no problem unless I have failed to understand something. Regards, -- ken On Tue, 2010-03-23 at 20:25 +, Luis Paulo wrote: On Tue, Mar 23, 2010 at 7:59 PM, Kenneth L. Owen tx836...@bellsouth.net wrote: On Tue, 2010-03-23 at 17:01 +, Luis Paulo wrote: The welcome message is normal, I have it too. If it prompts for nothing, it would be ok. OK, the text blurb is not the problem. The all process should has been easier, but it seems very near to be working now :) check if you ssh-copy-id the key from the client to the server too. Communication is based on exchanging public keys both ways (I think I may say this...) Good job -- Download Intel#174; 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@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#174; 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@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#174; 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@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] I broke my cgi interface! :(
Hi, Jaco you get the error when you click on what? Don't you get to see the cgi at all? You may try to put a # in the begining of line 64, I guess. Why should you exclude '/' by default? Luis On Fri, Mar 26, 2010 at 6:23 AM, Jaco Meintjes j...@oaks.co.za wrote: This is what I get on line 64 in config.pl: $Conf{BackupFilesExclude} = '['/']'; I've also changed the value to undef without any difference. I guess the bigger problem is that it says it can't execute the config.pl file. What should the permissions for config.pl be? I've changed it to the following without success: -rwxr-xr-x 1 backuppc backuppc 6708 Mar 26 08:12 config.pl Anything else I can or should check? Highly appreciated, J On 26/03/2010 00:51, Dale King wrote: On Thu, Mar 25, 2010 at 10:12:15PM +0200, Jaco Meintjes wrote: Couldn't execute /opt/backuppc/files/conf/config.pl: [Thu Mar 25 16:33:48 2010] BackupPC_Admin: Illegal division by zero at /opt/backuppc/files/conf/config.pl line 64. How do I fix this? Start by looking at line 64 in /opt/backuppc/files/conf/config.pl ? -- Download Intel#174; 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@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#174; 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@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#174; 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@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] Trouble setting up backup to a Windows host
-Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, March 25, 2010 4:04 PM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host [...] Installed rsyncd to the Win-machine and the services now run. In BPC I set it to use rsyncd and the RsyncdUserName and ditto password to one of the local accounts with access to the folders I want to backup. The RsyncShareName I entered as /cygdrive/e/users/, which is where the user folders are located. I tested that the $ RsyncdUserName really has access to /cygdrive/e/users/. Now BPC says as follows, from the BPC Log file: 2010-03-25 14:30:57 full backup started for directory /cygdrive/e/users/ 2010-03-25 14:30:57 Got fatal error during xfer (Unknown module '/cygdrive/e/users/') 2010-03-25 14:31:02 Backup aborted (Unknown module '/cygdrive/e/users/') I'm not sure what it means by unknown module. Has this something to do with the rsyncd.conf on the Win-client? Are you confusing rsync and rsyncd? With rsync, you start the remote rsync via ssh and it sees the whole remote filesystem from the perspective of a remote user. You can test access from the backuppc server with a command line like 'rsync -av u...@host:/path' If you don't specify a destination, you should see a directory listing (and current versions have an implied -essh argument). With rsyncd, the program is run as a daemon/service and only the paths explicitly mentioned in rsyncd.conf are exposed by their module names. You can test this with a command like 'rsync -av host::module' (note double colon). I hope not. ;-) I tried rsync with ssh first, but that didn't work out (unable to read 4 bytes), so I tried rsyncd instead. Now the sshd service on the Win2k3-machine refuses to start for some reason, it was off this morning. Sshd on the WinXP-box still runs... The rsyncd test tells me: r...@mach012 ~/ [0]# rsync -avv xxx.yyy.zzz.nnn::starforge2_users opening tcp connection to xxx.yyy.zzz.nnn port 873 opening connection using --server --sender -vvlogDtpr --list-only . starforge2_users Password: @ERROR: auth failed on module starforge2_users rsync error: error starting client-server protocol (code 5) at main.c(1296) [receiver=2.6.8] r...@mach012 ~/ [0]# It feels like I'm getting at roads end with this. Things that work on one Win-machine doesn't on another, it's so, so, frustrating. 8-/ -- /Sorin smime.p7s Description: S/MIME cryptographic signature -- Download Intel#174; 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@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] Trouble setting up backup to a Windows host
-Original Message- From: Sorin Srbu [mailto:sorin.s...@orgfarm.uu.se] Sent: Friday, March 26, 2010 9:56 AM To: 'General list for user discussion, questions and support' Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, March 25, 2010 4:04 PM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host [...] Are you confusing rsync and rsyncd? With rsync, you start the remote rsync via ssh and it sees the whole remote filesystem from the perspective of a remote user. You can test access from the backuppc server with a command line like 'rsync -av u...@host:/path' If you don't specify a destination, you should see a directory listing (and current versions have an implied -essh argument). With rsyncd, the program is run as a daemon/service and only the paths explicitly mentioned in rsyncd.conf are exposed by their module names. You can test this with a command like 'rsync -av host::module' (note double colon). An unexpected turn of events! I googled for a different ssh-server for Windows that does not rely on Cygwin, and came up with something called MobaSSH. MobaSSH does however rely on Cygwin anyway, but seems to be working properly in my environment. In any case, I installed the Professional-demo, able to install and run on a Win2k3 Server-machine (the free Home version only works on non-Windows Server-machines). The service seems to be running properly so far. * The rsync test works, I get a file list. See attached txt-file for output. * The passwordless login from my BPC-server also works. See attached txt-file for output. * Added the Win-server to BPC as a host using rsync, but I get the dreaded Unable to read 4 bytes error message. See attached txt-file for output. I thought the Unable to read 4 bytes-message was because the the passwordless login wasn't setup properly, or not set up at all. What else could it choke on and give this message? Any answers are appreciated! -- /Sorin r...@mach012 /bak/ [0]# rsync -av r...@xxx.yyy.zzz.nnn:/cygdrive/e/users receiving file list ... rsync: [...] file has vanished: /cygdrive/e/users/alesan/Avdelningsrelaterad/Presentationer/Avd seminarier/20090211/Inl\#344sning/(1988 Andersson) Synthesis of \#337-arylvinyl ethers by palladium-catalyzed reaction of aroyl chlorides with vinyl ethers.pdf rsync: readlink_stat(/cygdrive/e/users/alesan/Avdelningsrelaterad/Presentationer/Avd seminarier/Avd seminarie VT2010/10.1006_jcht.2001.0837 2001 WILKEN Experimental determination of oxygen and nitrogen solubility in organic solvents up to 10 MPa at temperatures between 298 K and 398 K.pdf) failed: File name too long (91) [...] = r...@mach012 /bak/ [0]# ssh r...@xxx.yyy.zzz.nnn -- | MobaSSH Professional v1.12 | | (SSH server for Win32 based on Cygwin/OpenSSH) | | | | Important | | - Your computer drives are accessible through the /cygdrive directory | | - Network shares are accessible by typing //remote_computer | | - The Windows registry is browsable through the /registry path | | | | Useful commands| | - MobaHwInfo: detailed information about OS and hardware | | - MobaSwInfo: installed programs list | | - MobaTaskList, MobaKillTask: list/kill Windows tasks | | - TCPCapture: Network packets and ports monitoring tool| | - scp, sftp: transfer files through the crypted ssh connexion | | - nedit, vim: text editors with syntax highlighting| | - rsync, wget: sync local directories with network computers | | | | This version is a 30-day demo for evaluation purposes | | For more information, visit: http://mobassh.mobatek.net/versions.php| -- [Fri Mar 26 - 11:55:35] ~ [root.starforge2] $ ll drwx--5 None0 Mar 16 14:32 Application Data drwx--2 None0 Mar 24 14:09 Cookies drwx--2 None0 Mar 25 13:47 Desktop drwx--4 None0 Mar 16 14:32 Favorites drwx--2 None0 Nov 26 09:38 IETldCache drwx--6 None0 Nov 25 15:30 Local
[BackupPC-users] Rolling Full Backup + Incremental
Hey Guys, Trying to get BackupPC to implement the following backup schedule. Full Backup With 13 incrementals Instead of having the Full Backup scheduled off a timer, I would like the oldest incremental to be merged into the Full Backup. The objective is to achieve a Full Backup 14 days old, with incremental's up until the last backup. I can't see how BackupPC can achieve this, however it may be something I have not deduced myself from the documentation. Any idea's if a schema like this is possible ? -- Kind regards, Jonathan Molyneux Infinitedepth Consulting jonat...@infinitedepth.com.au -- Download Intel#174; 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@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] Trouble setting up backup to a Windows host
Sorin Srbu wrote: -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, March 25, 2010 4:04 PM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host [...] Installed rsyncd to the Win-machine and the services now run. In BPC I set it to use rsyncd and the RsyncdUserName and ditto password to one of the local accounts with access to the folders I want to backup. The RsyncShareName I entered as /cygdrive/e/users/, which is where the user folders are located. I tested that the $ RsyncdUserName really has access to /cygdrive/e/users/. Now BPC says as follows, from the BPC Log file: 2010-03-25 14:30:57 full backup started for directory /cygdrive/e/users/ 2010-03-25 14:30:57 Got fatal error during xfer (Unknown module '/cygdrive/e/users/') 2010-03-25 14:31:02 Backup aborted (Unknown module '/cygdrive/e/users/') I'm not sure what it means by unknown module. Has this something to do with the rsyncd.conf on the Win-client? Are you confusing rsync and rsyncd? With rsync, you start the remote rsync via ssh and it sees the whole remote filesystem from the perspective of a remote user. You can test access from the backuppc server with a command line like 'rsync -av u...@host:/path' If you don't specify a destination, you should see a directory listing (and current versions have an implied -essh argument). With rsyncd, the program is run as a daemon/service and only the paths explicitly mentioned in rsyncd.conf are exposed by their module names. You can test this with a command like 'rsync -av host::module' (note double colon). I hope not. ;-) I tried rsync with ssh first, but that didn't work out (unable to read 4 bytes), so I tried rsyncd instead. Now the sshd service on the Win2k3-machine refuses to start for some reason, it was off this morning. Sshd on the WinXP-box still runs... The rsyncd test tells me: r...@mach012 ~/ [0]# rsync -avv xxx.yyy.zzz.nnn::starforge2_users opening tcp connection to xxx.yyy.zzz.nnn port 873 opening connection using --server --sender -vvlogDtpr --list-only . starforge2_users Password: @ERROR: auth failed on module starforge2_users rsync error: error starting client-server protocol (code 5) at main.c(1296) [receiver=2.6.8] r...@mach012 ~/ [0]# It feels like I'm getting at roads end with this. Things that work on one Win-machine doesn't on another, it's so, so, frustrating. 8-/ The password it requested there would be in the secrets file you specified in the rsyncd.conf It doesn't relate to windows users at all - and it can be included in the backuppc setup for rsyncd. -- Les Mikesell lesmikes...@gmail.com -- Download Intel#174; 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@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] Rolling Full Backup + Incremental
jonat...@infinitedepth.com.au wrote: Hey Guys, Trying to get BackupPC to implement the following backup schedule. Full Backup With 13 incrementals Instead of having the Full Backup scheduled off a timer, I would like the oldest incremental to be merged into the Full Backup. The objective is to achieve a Full Backup 14 days old, with incremental's up until the last backup. I can't see how BackupPC can achieve this, however it may be something I have not deduced myself from the documentation. Any idea's if a schema like this is possible ? You can control the timing of fulls with $Conf{FullPeriod}, but if you are using rsync or rsyncd, the full runs will always copy the differences from the previous full even if subsequent incrementals have already copied them. -- Les Mikesell lesmikes...@gmail.com -- Download Intel#174; 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@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] Installing on Red Hat Enterprise
I am trying to get BackupPC installed on Red Hat Enterprise. I downloaded the latest file from sourceforge BackupPC-3.2.0beta1.tar.gz Following the directions in the documents I ran perl configure.pl I used all of the default settings. When I was finished I then copied the linux-backuppc file from the init.d directory to /etc/init.d. I copied the BackupPC.conf file from the httpd directory of the src to /etc/httpd/conf.d. I edited the BackupPC.conf file (in /etc/httpd/conf.d) so the directory portion points to /usr/local/BackupPC When I try httpd://localhost/BackupPC I get challenged for a username and password and this will read the .htaccess file I created but then I get nothing. I edited the hosts file in /etc/BackupPC for the two hosts I am starting with also. This is a umpteenth time I have tried this install. I have asked previous users I had contact with and they tell me that the BackupPC should be getting installed in /usr/share/BackupPC and that the programs live at an sbin directory. This sbin directory never gets created? Is there another tar ball I need to start with for Red Hat, or some src files I should be using. Any pointers would be greatly appreciated. TIF John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train! -- Download Intel#174; 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@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] Trouble setting up backup to a Windows host
On 3/26/2010 6:07 AM, Sorin Srbu wrote: -Original Message- From: Sorin Srbu [mailto:sorin.s...@orgfarm.uu.se] Sent: Friday, March 26, 2010 9:56 AM To: 'General list for user discussion, questions and support' Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Thursday, March 25, 2010 4:04 PM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Trouble setting up backup to a Windows host [...] Are you confusing rsync and rsyncd? With rsync, you start the remote rsync via ssh and it sees the whole remote filesystem from the perspective of a remote user. You can test access from the backuppc server with a command line like 'rsync -av u...@host:/path' If you don't specify a destination, you should see a directory listing (and current versions have an implied -essh argument). With rsyncd, the program is run as a daemon/service and only the paths explicitly mentioned in rsyncd.conf are exposed by their module names. You can test this with a command like 'rsync -av host::module' (note double colon). An unexpected turn of events! I googled for a different ssh-server for Windows that does not rely on Cygwin, and came up with something called MobaSSH. MobaSSH does however rely on Cygwin anyway, but seems to be working properly in my environment. In any case, I installed the Professional-demo, able to install and run on a Win2k3 Server-machine (the free Home version only works on non-Windows Server-machines). The service seems to be running properly so far. * The rsync test works, I get a file list. See attached txt-file for output. * The passwordless login from my BPC-server also works. See attached txt-file for output. * Added the Win-server to BPC as a host using rsync, but I get the dreaded Unable to read 4 bytes error message. See attached txt-file for output. I thought the Unable to read 4 bytes-message was because the the passwordless login wasn't setup properly, or not set up at all. What else could it choke on and give this message? Any answers are appreciated! When running over ssh it is important that nothing is sent before the rsync program starts up. Can you disable that login message? -- Les Mikesell lesmikes...@gmail.com -- Download Intel#174; 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@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] I broke my cgi interface! :(
You don't want quotes on the outside of the square brackets. Or alternatively, since it's only one item and not an array, you don't want square brackets. Tony On Mar 26, 2010, at 2:23 AM, Jaco Meintjes wrote: This is what I get on line 64 in config.pl: $Conf{BackupFilesExclude} = '['/']'; I've also changed the value to undef without any difference. I guess the bigger problem is that it says it can't execute the config.pl file. What should the permissions for config.pl be? I've changed it to the following without success: -rwxr-xr-x 1 backuppc backuppc 6708 Mar 26 08:12 config.pl Anything else I can or should check? Highly appreciated, J On 26/03/2010 00:51, Dale King wrote: On Thu, Mar 25, 2010 at 10:12:15PM +0200, Jaco Meintjes wrote: Couldn't execute /opt/backuppc/files/conf/config.pl: [Thu Mar 25 16:33:48 2010] BackupPC_Admin: Illegal division by zero at /opt/backuppc/files/conf/config.pl line 64. How do I fix this? Start by looking at line 64 in /opt/backuppc/files/conf/config.pl ? -- Download Intel#174; 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@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#174; 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@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#174; 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@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] Installing on Red Hat Enterprise
On Fri, 26 Mar 2010 10:21:16 -0400, John BORIS jbo...@adphila.org wrote: I am trying to get BackupPC installed on Red Hat Enterprise. I downloaded the latest file from sourceforge BackupPC-3.2.0beta1.tar.gz Following the directions in the documents I ran perl configure.pl I used all of the default settings. When I was finished I then copied the linux-backuppc file from the init.d directory to /etc/init.d. I copied the BackupPC.conf file from the httpd directory of the src to /etc/httpd/conf.d. I edited the BackupPC.conf file (in /etc/httpd/conf.d) so the directory portion points to /usr/local/BackupPC When I try httpd://localhost/BackupPC I get challenged for a username and password and this will read the .htaccess file I created but then I get nothing. I edited the hosts file in /etc/BackupPC for the two hosts I am starting with also. This is a umpteenth time I have tried this install. I have asked previous users I had contact with and they tell me that the BackupPC should be getting installed in /usr/share/BackupPC and that the programs live at an sbin directory. This sbin directory never gets created? Is there another tar ball I need to start with for Red Hat, or some src files I should be using. Any pointers would be greatly appreciated. Is the backuppc process running? Are you using suexec? If this is a dedicated backuppc server (like mine) just change the apache user to 'backuppc'. I'm running on RHEL5.4 using the standard tarball with no issues, but with apache running as backuppc. -Josh -- Joshua Malone Systems Administrator (jmal...@nrao.edu)NRAO Charlottesville 434-296-0263 www.cv.nrao.edu 434-249-5699 (mobile) BOFH excuse #426: internet is needed to catch the etherbunny -- Download Intel#174; 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@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] Installing on Red Hat Enterprise
John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train! Josh Malone jmal...@nrao.edu 3/26/2010 11:15 AM Is the backuppc process running? Yes backuppc 6534 1 0 09:59 ?00:00:00 /usr/bin/perl /usr/local/BackupPC/bin/BackupPC -d backuppc 6536 6534 0 09:59 ?00:00:00 /usr/bin/perl /usr/local/BackupPC/bin/BackupPC_trashClean backuppc 7058 7056 0 10:09 ?00:00:00 /usr/sbin/httpd Are you using suexec? Yes If this is a dedicated backuppc server (like mine) just change the apache user to 'backuppc'. I'm running on RHEL5.4 using the standard tarball with no issues, but with apache running as backuppc. Yes Here is the BackupPC.conf Directory /usr/local/BackupPC order deny,allow deny from all allow from 127.0.0.1 AuthType Basic AuthUserFile /etc/BackupPC/BackupPC.users AuthName BackupPC Community Edition Administrative Interface require valid-user /Directory Alias /BackupPC /usr/local/BackupPC/bin ScriptAlias /BackupPC_Admin /BackupPC_Admin -- Download Intel#174; 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@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] Installing on Red Hat Enterprise
On 3/26/2010 10:31 AM, John BORIS wrote: John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train! Josh Malonejmal...@nrao.edu 3/26/2010 11:15 AM Is the backuppc process running? Yes backuppc 6534 1 0 09:59 ?00:00:00 /usr/bin/perl /usr/local/BackupPC/bin/BackupPC -d backuppc 6536 6534 0 09:59 ?00:00:00 /usr/bin/perl /usr/local/BackupPC/bin/BackupPC_trashClean backuppc 7058 7056 0 10:09 ?00:00:00 /usr/sbin/httpd Are you using suexec? Yes If this is a dedicated backuppc server (like mine) just change the apache user to 'backuppc'. I'm running on RHEL5.4 using the standard tarball with no issues, but with apache running as backuppc. Yes Here is the BackupPC.conf Directory /usr/local/BackupPC order deny,allow deny from all allow from 127.0.0.1 AuthType Basic AuthUserFile /etc/BackupPC/BackupPC.users AuthName BackupPC Community Edition Administrative Interface require valid-user /Directory Alias /BackupPC /usr/local/BackupPC/bin ScriptAlias /BackupPC_Admin /BackupPC_Admin Shouldn't the target of the ScriptAlias be the full path to the BackupPC_Admin program? The easy way on RHEL/Centos is to enable the epel yum repository and yum install BackupPC But be aware that it will put things in different locations. -- Les Mikesell lesmikes...@gmail.com -- Download Intel#174; 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@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] Installing on Red Hat Enterprise
On 26/03/10 16:23, Les Mikesell wrote: On 3/26/2010 10:31 AM, John BORIS wrote: John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train! Josh Malonejmal...@nrao.edu 3/26/2010 11:15 AM Is the backuppc process running? Yes backuppc 6534 1 0 09:59 ?00:00:00 /usr/bin/perl /usr/local/BackupPC/bin/BackupPC -d backuppc 6536 6534 0 09:59 ?00:00:00 /usr/bin/perl /usr/local/BackupPC/bin/BackupPC_trashClean backuppc 7058 7056 0 10:09 ?00:00:00 /usr/sbin/httpd Are you using suexec? Yes If this is a dedicated backuppc server (like mine) just change the apache user to 'backuppc'. I'm running on RHEL5.4 using the standard tarball with no issues, but with apache running as backuppc. Yes Here is the BackupPC.conf Directory /usr/local/BackupPC order deny,allow deny from all allow from 127.0.0.1 AuthType Basic AuthUserFile /etc/BackupPC/BackupPC.users AuthName BackupPC Community Edition Administrative Interface require valid-user /Directory Alias /BackupPC /usr/local/BackupPC/bin ScriptAlias /BackupPC_Admin /BackupPC_Admin Shouldn't the target of the ScriptAlias be the full path to the BackupPC_Admin program? The easy way on RHEL/Centos is to enable the epel yum repository and yum install BackupPC But be aware that it will put things in different locations. Try disabling SELinux if it's enabled. -- Download Intel#174; 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@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] Installing on Red Hat Enterprise
On Fri, Mar 26, 2010 at 9:23 AM, Les Mikesell lesmikes...@gmail.com wrote: On 3/26/2010 10:31 AM, John BORIS wrote: John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train! Josh Malonejmal...@nrao.edu 3/26/2010 11:15 AM Is the backuppc process running? Yes backuppc 6534 1 0 09:59 ?00:00:00 /usr/bin/perl /usr/local/BackupPC/bin/BackupPC -d backuppc 6536 6534 0 09:59 ?00:00:00 /usr/bin/perl /usr/local/BackupPC/bin/BackupPC_trashClean backuppc 7058 7056 0 10:09 ?00:00:00 /usr/sbin/httpd Are you using suexec? Yes If this is a dedicated backuppc server (like mine) just change the apache user to 'backuppc'. I'm running on RHEL5.4 using the standard tarball with no issues, but with apache running as backuppc. Yes Here is the BackupPC.conf Directory /usr/local/BackupPC order deny,allow deny from all allow from 127.0.0.1 AuthType Basic AuthUserFile /etc/BackupPC/BackupPC.users AuthName BackupPC Community Edition Administrative Interface require valid-user /Directory Alias /BackupPC /usr/local/BackupPC/bin ScriptAlias /BackupPC_Admin /BackupPC_Admin Shouldn't the target of the ScriptAlias be the full path to the BackupPC_Admin program? The easy way on RHEL/Centos is to enable the epel yum repository and yum install BackupPC But be aware that it will put things in different locations. -- Les Mikesell lesmikes...@gmail.com The other easy way is the RPM from Zmanda : http://www.zmanda.com/download-backuppc.php Kris Lou k...@themusiclink.net -- Download Intel#174; 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@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] Installing on Red Hat Enterprise
Okay I think I got things a bit screwed up and I am trying to clear things out and start over. I installed the epel repository but now I get this when I try to do a yum install BackupPC Transaction Check Error: file /etc/BackupPC/config.pl from install of BackupPC-3.1.0-5.el5.noarch conflicts with file from package backuppc_community-3.2.0beta0-1.rhel5.noarch file /etc/BackupPC/hosts from install of BackupPC-3.1.0-5.el5.noarch conflicts with file from package backuppc_community-3.2.0beta0-1.rhel5.noarch file /etc/httpd/conf.d/BackupPC.conf from install of BackupPC-3.1.0-5.el5.noarch conflicts with file from package backuppc_community-3.2.0beta0-1.rhel5.noarch file /etc/rc.d/init.d/backuppc from install of BackupPC-3.1.0-5.el5.noarch conflicts with file from package backuppc_community-3.2.0beta0-1.rhel5.noarch Where does yum keep this stuff. I did a yum remove BackupPC and it seemed to remove the stuff from my attempt to install the Beta copy. Somewhere it has this stuff in a file but I have searched the system and can't find any remnants of the failed attempts. Sorry to be a blockhead on this. John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train! -- Download Intel#174; 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@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] Installing on Red Hat Enterprise
On 3/26/2010 12:15 PM, John BORIS wrote: Okay I think I got things a bit screwed up and I am trying to clear things out and start over. I installed the epel repository but now I get this when I try to do a yum install BackupPC Transaction Check Error: file /etc/BackupPC/config.pl from install of BackupPC-3.1.0-5.el5.noarch conflicts with file from package backuppc_community-3.2.0beta0-1.rhel5.noarch file /etc/BackupPC/hosts from install of BackupPC-3.1.0-5.el5.noarch conflicts with file from package backuppc_community-3.2.0beta0-1.rhel5.noarch file /etc/httpd/conf.d/BackupPC.conf from install of BackupPC-3.1.0-5.el5.noarch conflicts with file from package backuppc_community-3.2.0beta0-1.rhel5.noarch file /etc/rc.d/init.d/backuppc from install of BackupPC-3.1.0-5.el5.noarch conflicts with file from package backuppc_community-3.2.0beta0-1.rhel5.noarch Where does yum keep this stuff. I did a yum remove BackupPC and it seemed to remove the stuff from my attempt to install the Beta copy. Somewhere it has this stuff in a file but I have searched the system and can't find any remnants of the failed attempts. Sorry to be a blockhead on this. Yum doesn't track things directly - it is mostly a wrapper around rpm that handles the listed dependencies for you. I'd try a 'yum remove backuppc_community' first, then re-install whichever version you want. I didn't realize you had a packaged version already. -- Les Mikesell lesmikes...@gmail.com -- Download Intel#174; 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@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] Communicating with a windows laptop on my workgroup
___ Dave Williams Check out our WebOS mobile phone app for the Palm Pre and Pixi: Golf http://www.dtw-consulting.com/GolfCaddie Caddie | Golf http://www.dtw-consulting.com/GolfCaddie/forum Caddie Forum by DTW-Consulting, Inc. -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Monday, March 22, 2010 11:13 AM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Communicating with a windows laptop on my workgroup On 3/22/2010 9:42 AM, David Williams wrote: However, there are still issues. When I try and perform a backup of laptop1 from within the web interface I get the following message: *Error: Can't find IP address for laptop1* * * *laptop1 is a DHCP host, and I don't know its IP address. I checked the netbios name of 192.168.15.155, and found that that machine is not laptop1.* * * *Until I see laptop1 at a particular DHCP address, you can only start this request from the client machine itself.* The strange thing is, I was on the client machine at the time and trying to back it up manually from the web interface! What does 'nmblookup -A 192.168.15.155' say (assuming you are still at the same IP)? It's going to use this to see if you are connecting from the host in question. Ok, now I am back on my network I can check this. Here is the current results of nmblookup my the backuppc server: # nmblookup -R -U 192.168.15.2 laptop1 querying laptop1 on 192.168.15.2 192.168.15.155 laptop100 # nmblookup -A 192.168.15.155 Looking up status of 192.168.15.155 LAPTOP1 00 - P ACTIVE DTWCONS 00 - GROUP P ACTIVE LAPTOP1 20 - P ACTIVE MAC Address = 00-21-6A-93-63-0C So, not sure what all that means, but if I try and perform a backup of laptop1 from laptop1 by using the web interface I still get the following message: Error: Can't find IP address for laptop1 laptop1 is a DHCP host, and I don't know its IP address. I checked the netbios name of 192.168.15.155, and found that that machine is not laptop1. Until I see laptop1 at a particular DHCP address, you can only start this request from the client machine itself. I also updated the config file for laptop1 such that NmbLookupFindHostCmd is set to: *$nmbLookupPath -R -U 192.168.15.2 $host* You probably want to configure the WINS server in smb.conf so it is the default and will be used in all operations without having to specify it in the command line. You should also set $Conf{DHCPAddressRanges} in backuppc so it will know where to probe for dhcp-assigned addresses. -- Les Mikesell lesmikes...@gmail.com --- --- Download Intel#174; 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@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.791 / Virus Database: 271.1.1/2762 - Release Date: 03/21/10 15:33:00 -- Download Intel#174; 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@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] Installing on Red Hat Enterprise
Thanks to all of your help. I have it installed and working. John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train! Les Mikesell lesmikes...@gmail.com 3/26/2010 1:51 PM Yum doesn't track things directly - it is mostly a wrapper around rpm that handles the listed dependencies for you. I'd try a 'yum remove backuppc_community' first, then re-install whichever version you want. I didn't realize you had a packaged version already. -- Download Intel#174; 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@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] I broke my cgi interface! :(
Jaco writes: This is what I get on line 64 in config.pl: $Conf{BackupFilesExclude} = '['/']'; As other people pointed out the quoting is wrong. You should have something like this: $Conf{BackupFilesExclude} = ['/']; But note that will exclude all the files. Craig -- Download Intel#174; 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@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] Communicating with a windows laptop on my workgroup
I am probably off-base here, but since Windows XP SP2, the Windows Firewall block NETBIOS name resolution. We use a command like this on each XP workstation: netsh firewall add portopening UDP 137 NBNS enable all to enable name resolution with nmblookup. G David Williams wrote: ___ Dave Williams Check out our WebOS mobile phone app for the *Palm Pre* and *Pixi*: Golf Caddie http://www.dtw-consulting.com/GolfCaddie | Golf Caddie Forum http://www.dtw-consulting.com/GolfCaddie/forum by DTW-Consulting, Inc. -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Monday, March 22, 2010 11:13 AM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Communicating with a windows laptop on my workgroup On 3/22/2010 9:42 AM, David Williams wrote: However, there are still issues. When I try and perform a backup of laptop1 from within the web interface I get the following message: *Error: Can't find IP address for laptop1* * * *laptop1 is a DHCP host, and I don't know its IP address. I checked the netbios name of 192.168.15.155, and found that that machine is not laptop1.* * * *Until I see laptop1 at a particular DHCP address, you can only start this request from the client machine itself.* The strange thing is, I was on the client machine at the time and trying to back it up manually from the web interface! What does 'nmblookup -A 192.168.15.155' say (assuming you are still at the same IP)? It's going to use this to see if you are connecting from the host in question. Ok, now I am back on my network I can check this. Here is the current results of nmblookup my the backuppc server: # nmblookup -R -U 192.168.15.2 laptop1 querying laptop1 on 192.168.15.2 192.168.15.155 laptop100 # nmblookup -A 192.168.15.155 Looking up status of 192.168.15.155 LAPTOP1 00 - P ACTIVE DTWCONS 00 - GROUP P ACTIVE LAPTOP1 20 - P ACTIVE MAC Address = 00-21-6A-93-63-0C So, not sure what all that means, but if I try and perform a backup of laptop1 from laptop1 by using the web interface I still get the following message: Error: Can't find IP address for laptop1 laptop1 is a DHCP host, and I don't know its IP address. I checked the netbios name of 192.168.15.155, and found that that machine is not laptop1. Until I see laptop1 at a particular DHCP address, you can only start this request from the client machine itself. I also updated the config file for laptop1 such that NmbLookupFindHostCmd is set to: *$nmbLookupPath -R -U 192.168.15.2 $host* You probably want to configure the WINS server in smb.conf so it is the default and will be used in all operations without having to specify it in the command line. You should also set $Conf{DHCPAddressRanges} in backuppc so it will know where to probe for dhcp-assigned addresses. -- Les Mikesell lesmikes...@gmail.com --- --- Download Intel#174; 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@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.791 / Virus Database: 271.1.1/2762 - Release Date: 03/21/10 15:33:00 -- Download Intel#174; 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@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] Communicating with a windows laptop on my workgroup
-Original Message- From: David Williams [mailto:dwilli...@dtw-consulting.com] Sent: Friday, March 26, 2010 8:17 PM To: 'Gene Cooper' Subject: RE: [BackupPC-users] Communicating with a windows laptop on my workgroup I turned off my firewall to test this out and it didn't make any difference at all. What I don't understand is, if nmblookup -A 192.168.15.155 is working from the command line (as user backuppc) then why does the web interface complain about it? Is there something missing in the reply from nmblookup -A 192.168.15.155? ___ Dave Williams Check out our WebOS mobile phone app for the Palm Pre and Pixi: Golf Caddie | Golf Caddie Forum by DTW-Consulting, Inc. -Original Message- From: Gene Cooper [mailto:gcoo...@sonoracomm.com] Sent: Friday, March 26, 2010 5:20 PM To: dwilli...@dtw-consulting.com; General list for user discussion, questions and support Subject: Re: [BackupPC-users] Communicating with a windows laptop on my workgroup I am probably off-base here, but since Windows XP SP2, the Windows Firewall block NETBIOS name resolution. We use a command like this on each XP workstation: netsh firewall add portopening UDP 137 NBNS enable all to enable name resolution with nmblookup. G David Williams wrote: ___ Dave Williams Check out our WebOS mobile phone app for the *Palm Pre* and *Pixi*: Golf Caddie http://www.dtw-consulting.com/GolfCaddie | Golf Caddie Forum http://www.dtw-consulting.com/GolfCaddie/forum by DTW-Consulting, Inc. -Original Message- From: Les Mikesell [mailto:lesmikes...@gmail.com] Sent: Monday, March 22, 2010 11:13 AM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Communicating with a windows laptop on my workgroup On 3/22/2010 9:42 AM, David Williams wrote: However, there are still issues. When I try and perform a backup of laptop1 from within the web interface I get the following message: *Error: Can't find IP address for laptop1* * * *laptop1 is a DHCP host, and I don't know its IP address. I checked the netbios name of 192.168.15.155, and found that that machine is not laptop1.* * * *Until I see laptop1 at a particular DHCP address, you can only start this request from the client machine itself.* The strange thing is, I was on the client machine at the time and trying to back it up manually from the web interface! What does 'nmblookup -A 192.168.15.155' say (assuming you are still at the same IP)? It's going to use this to see if you are connecting from the host in question. Ok, now I am back on my network I can check this. Here is the current results of nmblookup my the backuppc server: # nmblookup -R -U 192.168.15.2 laptop1 querying laptop1 on 192.168.15.2 192.168.15.155 laptop100 # nmblookup -A 192.168.15.155 Looking up status of 192.168.15.155 LAPTOP1 00 - P ACTIVE DTWCONS 00 - GROUP P ACTIVE LAPTOP1 20 - P ACTIVE MAC Address = 00-21-6A-93-63-0C So, not sure what all that means, but if I try and perform a backup of laptop1 from laptop1 by using the web interface I still get the following message: Error: Can't find IP address for laptop1 laptop1 is a DHCP host, and I don't know its IP address. I checked the netbios name of 192.168.15.155, and found that that machine is not laptop1. Until I see laptop1 at a particular DHCP address, you can only start this request from the client machine itself. I also updated the config file for laptop1 such that NmbLookupFindHostCmd is set to: *$nmbLookupPath -R -U 192.168.15.2 $host* You probably want to configure the WINS server in smb.conf so it is the default and will be used in all operations without having to specify it in the command line. You should also set $Conf{DHCPAddressRanges} in backuppc so it will know where to probe for dhcp-assigned addresses. -- Les Mikesell lesmikes...@gmail.com -- - --- Download Intel#174; 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