Re: [BackupPC-users] Full backups taking a very long time

2021-03-12 Thread David Williams
No, I don’t have a lot of small files.  As I mentioned, the full backups 
weren’t taking that long before the upgrade to Ubuntu 20.04.  Not sure why an 
OS upgrade would severely increase the time to back up.  The machine, hard 
drives (SSD’s) are all the same.

The version of BackupPC that comes with Ubuntu 20.04 is 3.3.2-3

Regards,
_
Dave Williams
[cid:CD2541C197494118AC1AF4341C4B718C]

On Mar 11, 2021, 10:27 AM -0500, backu...@kosowsky.org , 
wrote:
Sorin Srbu wrote at about 08:31:35 +0100 on Thursday, March 11, 2021:
On Wed, 2021-03-10 at 14:04 +, David Williams wrote:
I have recently upgraded to Ubuntu 20.04 and since then I have noticed that my 
full backups are taking much longer than they used to do. I’m only using 
backuppc to bakup two machines at home. The Ubuntu machine and a Mac laptop. I 
don’t recall exactly how long the full backups were taking previously, but now 
they are taking close to 21 hours. The content on both machines hasn’t changed 
much at all since the upgrade so I was surprised by the increase in time.

A full backup on the Linux machine is around 892MB. This is the local machine 
that Backuppc is installed on. The drive that the backups are stored on is an 
SSD as are most, if not all (sorry can’t remember) of the drives in the Linux 
box. Backup method is tar.

A full backup on the Mac laptop is around 700MB. It’s connected to the same 
router as the Linux machine via ethernet. Backup method is rsync.

I’m not sure how to troubleshoot this increase in timing so any help would be 
much appreciated.

I saw this happening when small files are backed up.

Unless there is a truly pathological number of small files (think tens
if not hundreds of millions), I don't think you can explain a 21 hour
backup period.

My Raspberry PI 4 on a home network backs up my Ubuntu 18.04 with
2.7GB and 321K files in under 12 minutes. And I think that is with
several simultaneous backups.


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


[BackupPC-users] Full backups taking a very long time

2021-03-10 Thread David Williams
I have recently upgraded to Ubuntu 20.04 and since then I have noticed that my 
full backups are taking much longer than they used to do.  I’m only using 
backuppc to bakup two machines at home.  The Ubuntu machine and a Mac laptop.  
I don’t recall exactly how long the full backups were taking previously, but 
now they are taking close to 21 hours.  The content on both machines hasn’t 
changed much at all since the upgrade so I was surprised by the increase in 
time.

A full backup on the Linux machine is around 892MB.  This is the local machine 
that Backuppc is installed on.  The drive that the backups are stored on is an 
SSD as are most, if not all (sorry can’t remember) of the drives in the Linux 
box.  Backup method is tar.

A full backup on the Mac laptop is around 700MB.  It’s connected to the same 
router as the Linux machine via ethernet.  Backup method is rsync.

I’m not sure how to troubleshoot this increase in timing so any help would be 
much appreciated.

Regards,
_
Dave Williams
[cid:A6010CA784C04BC0A13ABC6690456690]

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


Re: [BackupPC-users] chroot failed

2019-11-07 Thread David Williams
Oli,

Thanks for the reply.  About 1 hour after I sent my email I realized that the 
issue was not with sudo, but with SSH and as you state below, the key.  Once I 
realized this I was able to get the login working without the password :)

Now, I am seeing if I have everything else configured correctly and trying to 
do a full back up.  Fingers crossed.

Regards,
_
Dave Williams

On Nov 7, 2019, 3:40 AM -0500, Oliver Sieber , wrote:
Dear David

Sorry for the late answer. I was quite busy. I try to write down the steps I 
did:

- In OS X System Preferences choose Sharing and  make sure you enabled remote 
login (I am pretty sure you already did this)

- I assume that you have a user backuppc on your host client. Make sure, that 
the user backuppc is able to log in by ssh without a pw. Otherwise it would not 
run.
(http://backuppc.sourceforge.net/faq/ssh.html)

- In OS X System Preferences choose Security and then the tab Privacy and  make 
sure that sshd and sshd-keygen-wrapper have full access to the hard disc. I use 
rsync only for my home folder. So eventuelly you have to add rsync to if you 
want to backup other system directories

- For rsync I installer homebrew (brew.sh). With this you can install a native 
rsync version with brew install rsync. I am not sure of backuppc works with the 
OS's native rsync.

- The images show my settings in the web frontend of backuppc








I hope this helps. But I am sure that the problem is that the user backuppc 
cannot login to your machine without a key.

Best regards
Oli

Am 07.11.2019 um 03:44 schrieb David Williams 
mailto:dwilli...@dtw-consulting.com>>:

So, I really need some help on this.  I am trying to set it up with rsync now 
instead of samba, but I am having issues.  I’ve gone through a couple of 
articles I found on the interweb but not quite there.

I have upgraded my Mac to rsync version 3.1.3, which I read you have to be on 
rsync 3.x.  I created a rsyncd.conf and I have put my 2 shares that I want to 
back up from my Mac in this file.
I also went through the ssh set up and created keys and swapped them with the 
client and server.

I also put my username in the sudoers file on my Mac.  I set it to NOPASSWD and 
also set it so that it can only use the rsync command.  So this is what I have 
in sudoers file:
dwilliams   ALL = (ALL) NOPASSWD: /usr/local/bin/rsync

When I try and test this out with the following command it is always prompting 
me for the password and I have no idea why.  Entering the password does provide 
the correct information.
ssh -l dwilliams davesmac sudo /usr/local/bin/rsync --version

I thought the line I had put in the sudoers file would ensure it would not 
prompt for a password.  What am I doing wrong and how can I get this working so 
that I can start backing up my Mac again?
Any help would be much appreciated.

Regards,
_
Dave Williams
Senior Oracle MDM & Financials Consultant

On Nov 1, 2019, 12:15 PM -0400, Dave Williams 
mailto:dwilli...@dtw-consulting.com>>, wrote:
Oliver,

It’s been a long time since I had to configure backuppc.  Can you point me in 
the right direction in regards to setting up the backup with rsync over ssh?

Regards,
_
Dave Williams
Senior Oracle MDM & Financials Consultant
Phone: +1 954 661 8862
On Oct 17, 2019, 7:24 AM -0400, Oliver Sieber 
mailto:oli...@sieber.me>>, wrote:
I would suggest to use rsync over ssh. It works pretty fine for me. I used to 
to use tar to backup the files from my mac. After the catalina upgrade it 
stopped working. Haven't found out why, since I was using gtar from Homebrew. 
Switching to rsync solved the problem.

Regards,
Oli

David Williams schrieb am 16.10.19 um 16:24:
Robert,

Thanks for that.  What commands would I need to give access to though?  I am 
connecting via smbclient from my Linux server.  Here is the SmbClientFullCmd:

$smbClientPath \\$host\$shareName $I_option -U $userName -E -N -d 1 -c tarmode\ 
full -Tc$X_option - $fileList

Regards,
_
Dave Williams

On Oct 16, 2019, 9:41 AM -0400, Robert Trevellyan 
<mailto:robert.trevell...@gmail.com>, wrote:
You probably need to make adjustments in System Preferences -> Security & 
Privacy -> Privacy -> Full Disk Access (on the client) to give the relevant 
commands the access they need.

Robert Trevellyan


On Tue, Oct 15, 2019 at 8:31 PM David Williams 
mailto:dwilli...@dtw-consulting.com>> wrote:
I am pretty sure that this particular issue started after the upgrade to macOS 
Catalina.

My backups are now failing when it comes to backing up my Documents directory 
with the error message of chroot failed.

Can someone help me troubleshoot and get this working again.  I did a google 
search but nothing that seem applicable.

Regards,

Re: [BackupPC-users] chroot failed

2019-10-16 Thread David Williams
Robert,

Thanks for that.  What commands would I need to give access to though?  I am 
connecting via smbclient from my Linux server.  Here is the SmbClientFullCmd:

$smbClientPath \\$host\$shareName $I_option -U $userName -E -N -d 1 -c tarmode\ 
full -Tc$X_option - $fileList

Regards,
_
Dave Williams

On Oct 16, 2019, 9:41 AM -0400, Robert Trevellyan 
, wrote:
You probably need to make adjustments in System Preferences -> Security & 
Privacy -> Privacy -> Full Disk Access (on the client) to give the relevant 
commands the access they need.

Robert Trevellyan


On Tue, Oct 15, 2019 at 8:31 PM David Williams 
mailto:dwilli...@dtw-consulting.com>> wrote:
I am pretty sure that this particular issue started after the upgrade to macOS 
Catalina.

My backups are now failing when it comes to backing up my Documents directory 
with the error message of chroot failed.

Can someone help me troubleshoot and get this working again.  I did a google 
search but nothing that seem applicable.

Regards,
_
Dave Williams

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto: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/


[BackupPC-users] chroot failed

2019-10-15 Thread David Williams
I am pretty sure that this particular issue started after the upgrade to macOS 
Catalina.

My backups are now failing when it comes to backing up my Documents directory 
with the error message of chroot failed.

Can someone help me troubleshoot and get this working again.  I did a google 
search but nothing that seem applicable.

Regards,
_
Dave Williams

___
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] Backuppc 4.x for Ubuntu

2017-04-08 Thread David Williams
I will definitely wait for the package..Was hoping it would be out there by now 
so will just have to wait patiently.

Regards,
_
Dave Williams
Senior Oracle MDM & Financials Consultant
Phone: +1 954 661 8862

On Apr 8, 2017, at 3:20 PM, Raoul Bhatia 
<ra...@bhatia.at<mailto:ra...@bhatia.at>> wrote:

If possible, I on the one hand kindly ask - and on the other strongly suggest - 
to try the packages instead of installing from source.

I am more than happy to help in case you encounter any problem!

Raoul

On April 6, 2017 8:52:44 PM GMT+02:00, Johan Ehnberg 
<jo...@molnix.com<mailto:jo...@molnix.com>> wrote:


On 04/06/2017 08:13 PM, David Williams wrote:
I have just upgrade to Ubuntu 16.4.2 (I think that was the version,
maybe it was 16.0.4).  Anyway, I don’t see a backuppc 4.x version to
upgrade to.  I think the version that it was showing was 3.3.1.
Going
off memory as I am not in front of the machine right now.

So, am I missing a source to download from or there just isn’t a
packaged version of 4.x for Ubuntu 16.x?


If installing from source is OK (i.e. not using packages) you can use
this:

https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-git-on-Ubuntu-Xenial-16.04-LTS

Best regards,
Johan Ehnberg

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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/


--
DI (FH) Raoul Bhatia M.Sc.
E-Mail. ra...@bhatia.at<mailto:ra...@bhatia.at>
Tel. +43 699 10132530

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org<http://Slashdot.org>! http://sdm.link/slashdot
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto: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/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Backuppc 4.x for Ubuntu

2017-04-06 Thread David Williams
I have just upgrade to Ubuntu 16.4.2 (I think that was the version, maybe it 
was 16.0.4).  Anyway, I don’t see a backuppc 4.x version to upgrade to.  I 
think the version that it was showing was 3.3.1.  Going off memory as I am not 
in front of the machine right now.

So, am I missing a source to download from or there just isn’t a packaged 
version of 4.x for Ubuntu 16.x?

Regards,
_
Dave Williams
Senior Oracle MDM & Financials Consultant
Phone: +1 954 661 8862

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Buying larger drive

2017-04-05 Thread David Williams
Quick question.  I currently have a 1TB hard drive that I use to back up 2 
computers and although this has worked ok for quite a while I need more space 
so I have ordered a 2TB drive.  I know I can clone the current 1TB drive to the 
new 2TB drive but is it also possible to just mount the new drive to 
/var/lib/backuppc and create the necessary directories with the correct 
ownership and permissions for backuppc to start backing up my 2 computers?  The 
configuration files are in /etc/backuppc so I am hoping that just mounting the 
new drive, creating the directories is all I need to do.  Obviously the 
pervious backups won’t be on the new drive this way and backuppc will 
(hopefully) start again anew.

Regards,
_
Dave Williams


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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] Issues with sendmail

2017-03-03 Thread David Williams
All,

I have recently installed ssmpt as it was needed to send emails through my smtp 
provider.  This works just fine but I noticed that BackupPC has stopped sending 
email.  I went through the following link 
(https://wiki.archlinux.org/index.php/SSMTP#Security) but still no joy.

When I try to use the following I get the error on the last line.
$ /usr/share/backuppc/bin/BackupPC_sendEmail -u 
dwilli...@dtw-consulting.com
Sending test email using /usr/sbin/sendmail -t -f BackupPC
sendmail: 550 5.7.60 SMTP; Client does not have permissions to send as this 
sender


However, still as backuppc, if I do the following it works just fine and I got 
an email.  So, seems to me that the user backuppc does have permission.
echo "Test: Sendmail" | sendmail -v 
dwilli...@dtw-consulting.com

Any ideas on how I can further troubleshoot this?

Regards,
_
Dave Williams
Senior Oracle MDM & Financials Consultant
Phone: +1 954 661 8862

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
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] Backing up a Mac client - Help needed

2017-02-20 Thread David Williams
I believe I may have found the answer to this. Isn’t that always the case!!

Would I be correct in that the uid and gid parameters in the rsyncd.conf file 
would be the way to ensure which user and group the rsyncd process runs at?  
So, in the case below, I would ensure that the uid = dwilliams??

Regards,
_
Dave Williams
Senior Oracle MDM & Financials Consultant
Phone: +1 954 661 8862

On Feb 20, 2017, at 2:28 PM, David Williams 
<dwilli...@dtw-consulting.com<mailto:dwilli...@dtw-consulting.com>> wrote:

Hi,

I’ve been using BackupPC for quite a number of years now and I’ve mainly used 
it to backup my Linux server and my windows laptop.  I recently bought a Mac 
and have been setting it up and I’ve had partial success, but it is backing 
files up :)

With windows I was was using SMB protocol to backup the laptop and this was 
fairly straight forward in that smbclient would log into to Windows laptop as a 
certain user and as such had access to all that users files.  On my Linux 
server I didn’t need any type of access since that is where backupPC sits, so 
again very easy.

For the Mac I am using rsyncd which took a little while to work out how to set 
up but that seems to be working now.  There is one area that I am not clear on 
though and I’m hoping that someone on here could help me out.  With rsyncd 
there is a config file (not that dissimilar to Samba) and there is a secrets 
file for the username and password.  I was assuming that the user I set up 
within this secrets file, if it was the same as my Mac user would have full 
access to my files, but that doesn’t appear to be the case, so I think I am 
missing something.  I am trying to back up files in my /Users/dwilliams 
directory.  So, my Mac login is dwilliams.  Of course, as dwilliams I have full 
access to all files under /Users/dwilliams.  However, when backuppc connects to 
my Mac laptop as dwilliams (the one from the secrets file I assume) it doesn’t 
have access to all the files under /Users/dwilliams.  I really don’t want to 
have to play around with all the directory and file permissions unless it’s 
really necessary but I’m hopeful that I’m just missing something here.

Is there a way to rsync to my Mac as the actual dwilliams Mac user so that I 
have complete access to /Users/dwilliams?

Failing that, what is the best way of moving forward?

Any help on this would be much appreciated.

Regards,
_
Dave Williams
Senior Oracle MDM & Financials Consultant

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org<http://SlashDot.org>! 
http://sdm.link/slashdot___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net<mailto: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/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
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] Backing up a Mac client - Help needed

2017-02-20 Thread David Williams
Hi,

I’ve been using BackupPC for quite a number of years now and I’ve mainly used 
it to backup my Linux server and my windows laptop.  I recently bought a Mac 
and have been setting it up and I’ve had partial success, but it is backing 
files up :)

With windows I was was using SMB protocol to backup the laptop and this was 
fairly straight forward in that smbclient would log into to Windows laptop as a 
certain user and as such had access to all that users files.  On my Linux 
server I didn’t need any type of access since that is where backupPC sits, so 
again very easy.

For the Mac I am using rsyncd which took a little while to work out how to set 
up but that seems to be working now.  There is one area that I am not clear on 
though and I’m hoping that someone on here could help me out.  With rsyncd 
there is a config file (not that dissimilar to Samba) and there is a secrets 
file for the username and password.  I was assuming that the user I set up 
within this secrets file, if it was the same as my Mac user would have full 
access to my files, but that doesn’t appear to be the case, so I think I am 
missing something.  I am trying to back up files in my /Users/dwilliams 
directory.  So, my Mac login is dwilliams.  Of course, as dwilliams I have full 
access to all files under /Users/dwilliams.  However, when backuppc connects to 
my Mac laptop as dwilliams (the one from the secrets file I assume) it doesn’t 
have access to all the files under /Users/dwilliams.  I really don’t want to 
have to play around with all the directory and file permissions unless it’s 
really necessary but I’m hopeful that I’m just missing something here.

Is there a way to rsync to my Mac as the actual dwilliams Mac user so that I 
have complete access to /Users/dwilliams?

Failing that, what is the best way of moving forward?

Any help on this would be much appreciated.

Regards,
_
Dave Williams
Senior Oracle MDM & Financials Consultant

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
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] Fatal Error during Samba backup

2016-05-13 Thread David Williams
Having some issues trying to backup a Samba share and trying to 
determine just what exactly the error is.  From what I can see from the 
error log it has gotten all the way to the end of this particular share 
and then the error message below, without too much detail that I can 
see.


The command being executed is:
/usr/bin/smbclient dwlaptop\\DTW-Consulting -I 192.168.15.82 -U 
dwilliams -E -d 1 -c tarmode\ full -Tc

The end of the error log file:
tarExtract: Done: 0 errors, 11777 filesExist, 15089174042 sizeExist, 
12314421307 sizeExistComp, 11811 filesTotal, 15233442674 sizeTotal Got 
fatal error during xfer (No files dumped for share DTW-Consulting) 
Backup aborted (No files dumped for share DTW-Consulting


Regards,

Dave Williams
Senior Oracle MDM & Financials Consultant
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
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] Issues with SMB shares

2016-04-25 Thread David Williams
Perhaps you could help us all out by stating what the exact issue is 
that you were having with smbclient 4.3.8?


Regards,

Dave Williams
Senior Oracle MDM & Financials Consultant



-- Original Message --
From: "Ariel Sanguinetti" 
To: backuppc-users@lists.sourceforge.net
Sent: 4/25/2016 16:12:34
Subject: [BackupPC-users] Issues with SMB shares


Hi everyone,

I'm having issues doing backups on samba shares. I'm currently using 
Ubuntu Trusty and Backuppc 3.3.0 with smbclient 4.3.8.


I think this is happening since the update of samba to the latest 
version. Any clue on how to solve this?


Kind regards,
Ariel--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
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] New install - new issues

2015-12-08 Thread David Williams
From: "Alexander Moisseev" <mois...@mezonplus.ru>
To: backuppc-users@lists.sourceforge.net
Sent: 12/8/2015 1:49:51 AM
Subject: Re: [BackupPC-users] New install - new issues

>On 07.12.15 21:09, David Williams wrote:
>>>  Main difference between "update" and "graph" commands: the "update" 
>>>is
>>>  running by BackupPC daemon and the "graph" by CGI.
>>>  Does CGI have permission to read pool.rrd?
>>  The above in bold was the issue :) Thanks, working fine now.
>
>That's weird. There is a test in the Ubuntu patch. Images shouldn't 
>appear on the page at all if the pool.rrd is unreadable.
>
>+if (-r "$LogDir/pool.rrd" && $Privileged) {
>+$content .= 'src="'.$MyURL.'?image=52">';
>+}

CGI didn't have permission to the file, once I gave CGI the appropriate 
permission the two graphs showed up.  Prior to that I just got 
placeholder icons, no images.
>
>--
>Go from Idea to Many App Stores Faster with Intel(R) XDK
>Give your users amazing mobile app experiences with Intel(R) XDK.
>Use one codebase in this all-in-one HTML5 development environment.
>Design, debug & build mobile apps & 2D/3D high-impact games for 
>multiple OSs.
>http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
>___
>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/


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
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] New install - new issues

2015-12-07 Thread David Williams
From: "Alexander Moisseev" <mois...@mezonplus.ru>
>To: backuppc-users@lists.sourceforge.net
>Sent: 12/3/2015 2:54:15 PM
>Subject: Re: [BackupPC-users] New install - new issues
>
>>On 03.12.15 21:41, David Williams wrote:
>>>
>>>   -- Original Message --
>>>   From: "Alexander Moisseev" <mois...@mezonplus.ru>
>>>   To: backuppc-users@lists.sourceforge.net
>>>   Sent: 12/3/2015 12:34:54 PM
>>>   Subject: Re: [BackupPC-users] New install - new issues
>>>
>>>>   On 03.12.15 18:29, David Williams wrote:
>>>>>
>>>>>The image http://192.168.15.2/backuppc/index.cgi?image=4
>>>>>cannot be displayed because it contains errors.
>>>>>
>>>>
>>>>
>>>>   Try to save this object as a file and investigate it's content.
>>>>   --
>>>>   Alexander
>>>>
>>>>   I don't have the option of saving this as a file when I do a right
>>>>click.  I've attached a screen shot to show the location of these
>>>>images that are not displaying.
>>>
>>
>>Looks like you have a problem with rrdtool or $LogDir/pool.rrd is
>>damaged.
>>
>>You can do simple tests.
>>(Replace cd command argument $LogDir with actual path)
>>
>>$ su
>># cd $LogDir
>># rrdtool info pool.rrd
>># rrdtool dump pool.rrd | more
>>
>>Commands below should create PNG image /tmp/image.png
>>
>>$ su
>># sh
>># cd $LogDir
>># rrdtool graph /tmp/image.png --imgformat=PNG --start=end-4w
>>--end=-300 --title="BackupPC Pool Size (4 weeks)" --base=1000
>>--height=100 --width=600 --alt-autoscale-max --lower-limit=0
>>--vertical-label="" --slope-mode --font TITLE:10:Times --font
>>AXIS:8:Times --font LEGEND:8:Times --font UNIT:8:Times -c BACK#FF
>>DEF:ao="pool.rrd":ckb:AVERAGE CDEF:a=ao,1024,* AREA:a#95B8DB:"CPool in
>>bytes"  GPRINT:a:LAST:"Current\\:%8.2lf %s"
>>GPRINT:a:AVERAGE:"Average\\:%8.2lf %s" GPRINT:a:MAX:"Maximum\\:%8.2lf
>>%s\\n"
>>
>
>I did the above and that worked just fine...created a file called
>image.png and shows an empty graph.
>>

Any other ideas on why the graphs aren't showing?  It's been several 
days now that I have had backuppc running and the graphs are just 
showing as blank icons.
If I run the above rrdtool as above this is working fine and I can now 
see a graph with some blue bars to the right hand side.  No idea why it 
is not showing on the main backuppc page.
>
>
>--
>Go from Idea to Many App Stores Faster with Intel(R) XDK
>Give your users amazing mobile app experiences with Intel(R) XDK.
>Use one codebase in this all-in-one HTML5 development environment.
>Design, debug & build mobile apps & 2D/3D high-impact games for 
>multiple OSs.
>http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
>___
>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/


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
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] New install - new issues

2015-12-07 Thread David Williams
From: "Alexander Moisseev" <mois...@mezonplus.ru>
To: backuppc-users@lists.sourceforge.net
Sent: 12/7/2015 12:42:53 PM
Subject: Re: [BackupPC-users] New install - new issues

>On 07.12.15 18:13, David Williams wrote:
>>>
>>>  I did the above and that worked just fine...created a file called
>>>  image.png and shows an empty graph.
>>>>
>>
>>  Any other ideas on why the graphs aren't showing?  It's been several
>>  days now that I have had backuppc running and the graphs are just
>>  showing as blank icons.
>>  If I run the above rrdtool as above this is working fine and I can 
>>now
>>  see a graph with some blue bars to the right hand side.  No idea why 
>>it
>>  is not showing on the main backuppc page.
>
>Is there anything in the logs?
>
>In this particular case the RRD support is added by third party patch
>https://launchpadlibrarian.net/185759725/backuppc_3.3.0-2ubuntu1.diff.gz
>Is that correct?
>
>If so, it is not a problem with paths or rrdtool binary since BackupPC 
>is able to update the pool.rrd.
>
>Main difference between "update" and "graph" commands: the "update" is 
>running by BackupPC daemon and the "graph" by CGI.
>Does CGI have permission to read pool.rrd?
The above in bold was the issue :) Thanks, working fine now.
>
>--
>Go from Idea to Many App Stores Faster with Intel(R) XDK
>Give your users amazing mobile app experiences with Intel(R) XDK.
>Use one codebase in this all-in-one HTML5 development environment.
>Design, debug & build mobile apps & 2D/3D high-impact games for 
>multiple OSs.
>http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
>___
>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/


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
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] New install - new issues

2015-12-03 Thread David Williams

Hi there,

I recently had to install a newer version of Linux (Kubuntu 15.10) and 
thus had to reinstall Backuppc (v3.3.0), which I did from repository.  I 
had several files already backed (config files) so I restored them.


Right now I am having a couple of issues that I'd be grateful of any 
help, advice, direction, etc.


I believe this is more of a samba issue but thought enough people on 
here would be able to provide help.  When I try to backup a windows 
laptop it fails and the error files shows the following:


cli_list: Error: unable to parse name from info level 260

When I use the smbclient command I can log into the windows machine no 
problems, but if I try and perform even a dir or ls command I get the 
above.  I have never seen this error before so not really sure what is 
going on. I'm going to continue digging around to see what I can find on 
this error but I am hoping that someone else has seen this error before 
and knows how to resolve it.

My Samba version is 4.1.17
This is a minor issue but it appears that there are a couple of images 
not displaying directly after the Failures that need attention area.  
When I right click on the image holder and select view image I get the 
following:



The image http://192.168.15.2/backuppc/index.cgi?image=4 cannot be 
displayed because it contains errors.



Regards,

Dave Williams
Senior Oracle MDM & Financials Consultant
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140___
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] New install - new issues

2015-12-03 Thread David Williams
From: "Alexander Moisseev" <mois...@mezonplus.ru>
To: backuppc-users@lists.sourceforge.net
Sent: 12/3/2015 2:54:15 PM
Subject: Re: [BackupPC-users] New install - new issues

>On 03.12.15 21:41, David Williams wrote:
>>
>>  -- Original Message --
>>  From: "Alexander Moisseev" <mois...@mezonplus.ru>
>>  To: backuppc-users@lists.sourceforge.net
>>  Sent: 12/3/2015 12:34:54 PM
>>  Subject: Re: [BackupPC-users] New install - new issues
>>
>>>  On 03.12.15 18:29, David Williams wrote:
>>>>
>>>>   The image http://192.168.15.2/backuppc/index.cgi?image=4 
>>>>cannot be displayed because it contains errors.
>>>>
>>>
>>>
>>>  Try to save this object as a file and investigate it's content.
>>>  --
>>>  Alexander
>>>
>>>  I don't have the option of saving this as a file when I do a right 
>>>click.  I've attached a screen shot to show the location of these 
>>>images that are not displaying.
>>
>
>Looks like you have a problem with rrdtool or $LogDir/pool.rrd is 
>damaged.
>
>You can do simple tests.
>(Replace cd command argument $LogDir with actual path)
>
>$ su
># cd $LogDir
># rrdtool info pool.rrd
># rrdtool dump pool.rrd | more
>
>Commands below should create PNG image /tmp/image.png
>
>$ su
># sh
># cd $LogDir
># rrdtool graph /tmp/image.png --imgformat=PNG --start=end-4w 
>--end=-300 --title="BackupPC Pool Size (4 weeks)" --base=1000 
>--height=100 --width=600 --alt-autoscale-max --lower-limit=0 
>--vertical-label="" --slope-mode --font TITLE:10:Times --font 
>AXIS:8:Times --font LEGEND:8:Times --font UNIT:8:Times -c BACK#FF 
>DEF:ao="pool.rrd":ckb:AVERAGE CDEF:a=ao,1024,* AREA:a#95B8DB:"CPool in 
>bytes"  GPRINT:a:LAST:"Current\\:%8.2lf %s" 
>GPRINT:a:AVERAGE:"Average\\:%8.2lf %s" GPRINT:a:MAX:"Maximum\\:%8.2lf 
>%s\\n"
>

I did the above and that worked just fine...created a file called 
image.png and shows an empty graph.
>


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911=/4140
___
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] Issues with Include and Exclude for a SMB backup

2013-10-11 Thread David Williams

  
  
Hi,

I am trying to ensure that I only back up certain directories on my
laptop, which is done via SMB. However, the include and exclude
just don't appear to be working at all.

For the sake of discussion let's say that the SMB share is
MyLaptop/Users. Underneath Users on this laptop I have the
following directories: Default, dwilliams and Public.
My Includes and Excludes are as follows:


When a backup finishes everything in the excludes section is getting
backed up, and several items from the include are not getting backed
up.

Any help would be much appreciated as there are a couple of
important directories under dwilliams that I want to ensure get
backed up.
-- 
  
  
Dave Williams

  

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___
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] Issues with Include and Exclude for a SMB backup

2013-10-11 Thread David Williams

  
  
Ok, so I removed the BackupFilesExclude
  and still it is backing up directories that are not in the
  include list, and also not backing up some directories
  that are in the include list! Obviously I am doing something
  wrong, but not sure what!
  
  
  


  Dave Williams
  
  On 10/11/2013 2:32 PM, Les Mikesell wrote:


  On Fri, Oct 11, 2013 at 12:57 PM, David Williams
dwilli...@dtw-consulting.com wrote:

  

Hi,

I am trying to ensure that I only back up certain directories on my laptop, which is done via SMB.  However, the include and exclude just don't appear to be working at all.

  
  
Per http://backuppc.sourceforge.net/faq/BackupPC.html#_conf_backupfilesexclude_
"For Smb, only one of $Conf{BackupFilesExclude} and
$Conf{BackupFilesOnly} can be specified per share."   The smbtar
client just doesn't have a way to handle both.   You'll either have to
arrange top level shares for the things you want to include or install
cygwin rsync on the PC so you can use the full syntax.




  

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___
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] Issues with a restore

2013-10-07 Thread David Williams

Thanks, that did work and backups are now running :)



 Dave Williams

On 10/2/2013 11:15 AM, David Williams wrote:
Actually, it isn't resolved. I just haven't had the time to look into 
it.  I will try out the sudo option as you mention and maybe that will 
help :)



David Williams

On 10/2/2013 11:05 AM, Holger Parplies wrote:

Hi,

this matter is probably resolved by now, but for the archives (and
consideration by David):

John Rouillard wrote on 2013-09-09 21:23:35 + [Re: [BackupPC-users] Issues 
with a restore]:

On Mon, Sep 09, 2013 at 02:21:27PM -0400, David Williams wrote:

On 9/9/2013 1:53 PM, John Rouillard wrote:

On Mon, Sep 09, 2013 at 12:07:03PM -0400, David Williams wrote:

I will want to restore a whole
bunch of files.  Does the backuppc documentation explain how to set
up the ssh key for backuppc to execute as root on the target (which
is in fact one and the same machine)?

  

Then why bother with ssh at all?

[...]

Ok, so what would go into the restore command then? [...]

basically, you replace the ssh part with a corresponding sudo part. You also
need to remove one level of quoting. And set up sudo.

For example, the default RsyncClientRestoreCmd is (or was at some point)

$sshPath -q -x -l root $host $rsyncPath $argList+

which would become

/usr/bin/sudo $rsyncPath $argList

(note the missing + behind $argList). Replace RsyncClientCmd accordingly if
you also want to continue doing backups (without ssh).

You need an entry something like

backuppcALL=NOPASSWD: /usr/bin/rsync --server *

in /etc/sudoers (use 'visudo' to edit that).

The same principal is also applicable to tar backups.


[...]

Ah sorry for confusing the issue. I forgot that you can do direct
restores via the web interface. I run with that feature disabled for
security [...]

So do I. For that case, you'd want to additionally enforce the --sender
command line option in the sudoers entry:

backuppcALL=NOPASSWD: /usr/bin/rsync --server --sender *

or even

backuppcALL=NOPASSWD: /usr/bin/rsync --server --sender 
--numeric-ids --perms --owner --group -D --links --times --block-size=2048 
--recursive *

(adapt to the command actually run by BackupPC - possibly consult your
auth.log to see the command actually passed to sudo).


As Les followed up with, my method bypasses the web interface totally.

Yes, but you *can* use sudo instead of ssh for escalating privileges on local
backups, and it does make sense, because you avoid the overhead of encryption.
In fact, for security reasons I use an 'ssh -l backuppc remote_host sudo rsync'
type of setup even for remote backups rather than allowing passwordless root
access with an unencrypted ssh key. Thus sudo is also a *more secure* option
for local backups. Someone should really put that into the wiki if it's not
already there ;-) (yes, I promise to really *try* to remember to do so ...).

Hope that helps someone :-).

Regards,
Holger




--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk


___
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/


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk___
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] Issues with backing up Windows laptop with SMB

2013-10-07 Thread David Williams
Got this working too, but some other issues now which I need to look 
into.  For some reason certain directories under my C:/users/dwilliams 
folder are not getting backed up.  Not sure why that would be but will 
try and take a look at this and see what I can find out.  However, 
backups are working now so that's great :)


Thanks for the help.



 Dave Williams

On 10/1/2013 8:42 AM, David Williams wrote:
Thank you for the quick response :) My config files are from several 
years ago so I guess that this is why, probably my smbbackup command 
is out of date.  Will remove the -N as instructed and give it another try.



David Williams

On 10/1/2013 8:36 AM, Holger Parplies wrote:

Hi,

David Williams wrote on 2013-10-01 07:52:03 -0400 [Re: [BackupPC-users] Issues 
with backing up Windows laptop with SMB]:

Can anyone provide any insight to this? What else can I do to troubleshoot?

sure. Sorry for being mean, but this used to be an FAQ ;-).


[...]

Running: /usr/bin/smbclient dwlaptop\\Documents -U dwilliams -E -N
-d 1 -c tarmode\ full -Tc -

You're supplying a '-N' switch to smbclient, thus requesting it not to pass a
password, and that's exactly what it's doing.

The behaviour changed some versions ago. Remove the '-N'.

Regards,
Holger

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
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/




--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk


___
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/


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___
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] Issues with a restore

2013-10-02 Thread David Williams
Actually, it isn't resolved. I just haven't had the time to look into 
it.  I will try out the sudo option as you mention and maybe that will 
help :)



David Williams

On 10/2/2013 11:05 AM, Holger Parplies wrote:

Hi,

this matter is probably resolved by now, but for the archives (and
consideration by David):

John Rouillard wrote on 2013-09-09 21:23:35 + [Re: [BackupPC-users] Issues 
with a restore]:

On Mon, Sep 09, 2013 at 02:21:27PM -0400, David Williams wrote:

On 9/9/2013 1:53 PM, John Rouillard wrote:

On Mon, Sep 09, 2013 at 12:07:03PM -0400, David Williams wrote:

I will want to restore a whole
bunch of files.  Does the backuppc documentation explain how to set
up the ssh key for backuppc to execute as root on the target (which
is in fact one and the same machine)?

  

Then why bother with ssh at all?

[...]

Ok, so what would go into the restore command then? [...]

basically, you replace the ssh part with a corresponding sudo part. You also
need to remove one level of quoting. And set up sudo.

For example, the default RsyncClientRestoreCmd is (or was at some point)

$sshPath -q -x -l root $host $rsyncPath $argList+

which would become

/usr/bin/sudo $rsyncPath $argList

(note the missing + behind $argList). Replace RsyncClientCmd accordingly if
you also want to continue doing backups (without ssh).

You need an entry something like

backuppcALL=NOPASSWD: /usr/bin/rsync --server *

in /etc/sudoers (use 'visudo' to edit that).

The same principal is also applicable to tar backups.


[...]

Ah sorry for confusing the issue. I forgot that you can do direct
restores via the web interface. I run with that feature disabled for
security [...]

So do I. For that case, you'd want to additionally enforce the --sender
command line option in the sudoers entry:

backuppcALL=NOPASSWD: /usr/bin/rsync --server --sender *

or even

backuppcALL=NOPASSWD: /usr/bin/rsync --server --sender 
--numeric-ids --perms --owner --group -D --links --times --block-size=2048 
--recursive *

(adapt to the command actually run by BackupPC - possibly consult your
auth.log to see the command actually passed to sudo).


As Les followed up with, my method bypasses the web interface totally.

Yes, but you *can* use sudo instead of ssh for escalating privileges on local
backups, and it does make sense, because you avoid the overhead of encryption.
In fact, for security reasons I use an 'ssh -l backuppc remote_host sudo rsync'
type of setup even for remote backups rather than allowing passwordless root
access with an unencrypted ssh key. Thus sudo is also a *more secure* option
for local backups. Someone should really put that into the wiki if it's not
already there ;-) (yes, I promise to really *try* to remember to do so ...).

Hope that helps someone :-).

Regards,
Holger


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk___
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] Issues with backing up Windows laptop with SMB

2013-10-01 Thread David Williams

Can anyone provide any insight to this? What else can I do to troubleshoot?


David Williams

On 9/28/2013 6:33 PM, David Williams wrote:
I am trying to backup my laptop using smb.  I have done some testing 
with smbclient //dwlaptop/C$ -U username%password and I can 
connect to my laptop from the backuppc server and am able to browse 
the laptops folders.
However, when I try and run a backup of a particular directory on my 
laptop I get the following error:



Running: /usr/bin/smbclient dwlaptop\\Documents -U dwilliams -E -N 
-d 1 -c tarmode\ full -Tc -

full backup started for share Documents
Xfer PIDs are now 4072,4071
*Anonymous login successful*
[ skipped 1 lines ]
tree connect failed: NT_STATUS_ACCESS_DENIED
Anonymous login successful
[ skipped 1 lines ]
tree connect failed: NT_STATUS_ACCESS_DENIED
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 
sizeExistComp, 0 filesTotal, 0 sizeTotal

Got fatal error during xfer (No files dumped for share Documents)
Backup aborted (No files dumped for share Documents) Not saving this 
as a partial backup since it has fewer files than the prior one (got 0 
and 0 files versus 0)


Why is it showing the message anonymous login successful? I set the 
username and password for the client in the the clients host file, so 
I would expect that backuppc would log in using my username and password.


Any clues?
--


David Williams



--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk


___
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/


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk___
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] Issues with backing up Windows laptop with SMB

2013-10-01 Thread David Williams
Thank you for the quick response :) My config files are from several 
years ago so I guess that this is why, probably my smbbackup command is 
out of date.  Will remove the -N as instructed and give it another try.



David Williams

On 10/1/2013 8:36 AM, Holger Parplies wrote:

Hi,

David Williams wrote on 2013-10-01 07:52:03 -0400 [Re: [BackupPC-users] Issues 
with backing up Windows laptop with SMB]:

Can anyone provide any insight to this? What else can I do to troubleshoot?

sure. Sorry for being mean, but this used to be an FAQ ;-).


[...]

Running: /usr/bin/smbclient dwlaptop\\Documents -U dwilliams -E -N
-d 1 -c tarmode\ full -Tc -

You're supplying a '-N' switch to smbclient, thus requesting it not to pass a
password, and that's exactly what it's doing.

The behaviour changed some versions ago. Remove the '-N'.

Regards,
Holger

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
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/


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk___
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] Issues with backing up Windows laptop with SMB

2013-09-28 Thread David Williams
I am trying to backup my laptop using smb.  I have done some testing 
with smbclient //dwlaptop/C$ -U username%password and I can connect 
to my laptop from the backuppc server and am able to browse the laptops 
folders.
However, when I try and run a backup of a particular directory on my 
laptop I get the following error:



Running: /usr/bin/smbclient dwlaptop\\Documents -U dwilliams -E -N 
-d 1 -c tarmode\ full -Tc -

full backup started for share Documents
Xfer PIDs are now 4072,4071
*Anonymous login successful*
[ skipped 1 lines ]
tree connect failed: NT_STATUS_ACCESS_DENIED
Anonymous login successful
[ skipped 1 lines ]
tree connect failed: NT_STATUS_ACCESS_DENIED
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 
0 filesTotal, 0 sizeTotal

Got fatal error during xfer (No files dumped for share Documents)
Backup aborted (No files dumped for share Documents) Not saving this as 
a partial backup since it has fewer files than the prior one (got 0 and 
0 files versus 0)


Why is it showing the message anonymous login successful? I set the 
username and password for the client in the the clients host file, so I 
would expect that backuppc would log in using my username and password.


Any clues?
--


David Williams

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60133471iu=/4140/ostg.clktrk___
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] Issues with a restore

2013-09-13 Thread David Williams
On 9/9/2013 12:29 PM, Les Mikesell wrote:
 On Mon, Sep 9, 2013 at 11:07 AM, David Williams
 dwilli...@dtw-consulting.com wrote:
 The single file was just a test...I will want to restore a whole bunch of
 files.  Does the backuppc documentation explain how to set up the ssh key
 for backuppc to execute as root on the target (which is in fact one and the
 same machine)?  I don't have access to the backuppc documentation at this
 moment, but if it is there then I will take a look into it.
 Sure - you need exactly the same for a restore as a backup - that is,
 root access to the target from the backuppc account on the server.
 Depending on the platform, you may be able to (starting from root on
 the backuppc server:
 su - backuppc   (you might need 'su -s /bin/bash - backuppc' if there
 is no login shell for the account).
 ssh-copy-id root@target_host
 (and then answer the prompts to accept the host key and  for the
 remote root password)
 That uses a password-based connection to set the keys up for you for
 subsequent passwordless connections.

Ok, gave the above a try and this is what happened:

-bash-4.2$ ssh-copy-id root@linuxpc
/usr/bin/ssh-copy-id: ERROR: No identities found


--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=5127iu=/4140/ostg.clktrk
___
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] Issues with a restore

2013-09-09 Thread David Williams
The single file was just a test...I will want to restore a whole bunch 
of files.  Does the backuppc documentation explain how to set up the ssh 
key for backuppc to execute as root on the target (which is in fact one 
and the same machine)?  I don't have access to the backuppc 
documentation at this moment, but if it is there then I will take a look 
into it.



David Williams

On 9/9/2013 9:01 AM, Les Mikesell wrote:

On Sun, Sep 8, 2013 at 10:54 AM, David Williams
dwilli...@dtw-consulting.com wrote:

I am hoping that someone here can help me work through an issue that I am
having trying to restore some files.  This is an old backup, maybe 1 year
old and I have just installed Mageia 3 on a new machine.  I have gotten to
the point whereby I can see my previous back ups, which were done from the
local machine and I am trying to restore to the local machine too.  To begin
with I am just trying to restore a single file.  The command is below, along
with the error messages.

Seems that the first command, that beings with /usr/bin/ssh is expecting a
password, or at least that what happens when I try it manually.  Not really
sure how to proceed from here.
Any help would be much appreciated, also this is just a personal back up and
I don't have too much backuppcPC / Linux knowledge.


Running: /usr/bin/ssh -q -x -l root linuxpc env LC_ALL=C /bin/tar -x -p
--numeric-owner --same-owner -v -f - -C /restores
Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h linuxpc -n 612 -s
/photos -t -r /Pili -p /photos/ /Pili/IMG_0558.JPG
Xfer PIDs are now 13163,13164
Tar exited with error 65280 () status
tarCreate: Unable to write to output file (Connection reset by peer)
restore failed: BackupPC_tarCreate failed

That looks like you haven't set up the ssh key for backuppc to execute
as root on the target.  But, to grab a single file it might be easier
to download through a browser and then copy it where you want.



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
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] Issues with a restore

2013-09-09 Thread David Williams
On 9/9/2013 1:53 PM, John Rouillard wrote:
 On Mon, Sep 09, 2013 at 12:07:03PM -0400, David Williams wrote:
 The single file was just a test...I will want to restore a whole
 bunch of files.  Does the backuppc documentation explain how to set
 up the ssh key for backuppc to execute as root on the target (which
 is in fact one and the same machine)?
   

 Then why bother with ssh at all?

 sudo -u backuppc  .../BackupPC_tarCreate -h linuxpc -n 612 \
-s /photos -t -r /Pili -p /photos/ /Pili/IMG_0558.JPG | \
 sudo tar -xvf - --numeric-owner --same-owner C /restores

 should do the trick I would think.
Ok, so what would go into the restore command then?  Would I just 
replace the restore command with the whole line above?  I am thinking 
not as it wouldn't be dynamic since it has the directory names in 
there.  I have no issues of skipping SSH just as long as I know what I 
need to put into the restore command in the config file.  Sorry, as 
mentioned in my original email I don't know that much about Backuppc.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
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] Issues with a restore

2013-09-08 Thread David Williams
I am hoping that someone here can help me work through an issue that I 
am having trying to restore some files.  This is an old backup, maybe 1 
year old and I have just installed Mageia 3 on a new machine.  I have 
gotten to the point whereby I can see my previous back ups, which were 
done from the local machine and I am trying to restore to the local 
machine too.  To begin with I am just trying to restore a single file.  
The command is below, along with the error messages.


Seems that the first command, that beings with /usr/bin/ssh is expecting 
a password, or at least that what happens when I try it manually.  Not 
really sure how to proceed from here.
Any help would be much appreciated, also this is just a personal back up 
and I don't have too much backuppcPC / Linux knowledge.



Running: /usr/bin/ssh -q -x -l root linuxpc env LC_ALL=C /bin/tar -x -p 
--numeric-owner --same-owner -v -f - -C /restores
Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h linuxpc -n 612 -s 
/photos -t -r /Pili -p /photos/ /Pili/IMG_0558.JPG

Xfer PIDs are now 13163,13164
Tar exited with error 65280 () status
tarCreate: Unable to write to output file (Connection reset by peer)
restore failed: BackupPC_tarCreate failed
--


David Williams

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk___
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] Backup failing with tar error 512

2012-04-25 Thread David Williams


On 4/25/2012 3:58 PM, Les Mikesell wrote:

On Mon, Apr 23, 2012 at 3:48 PM, David Williams
dwilli...@dtw-consulting.com  wrote:

For some strange reason backuppc seems to be failing nightly with the error 
message below.  Best I can tell this is at the end of the /home directory.  I 
am not sure exactly what the issue is so I am hoping that someone can help me 
home into the exact issue. This is the only errors that I am seeing.  Any help 
is much appreciated.



tarExtract: Done: 0 errors, 86 filesExist, 135056137 sizeExist, 1318103 
sizeExistComp, 715 filesTotal, 250893372 sizeTotal

Got fatal error during xfer (Tar exited with error 512 () status)

Backup aborted (Tar exited with error 512 () status)

Saving this as a partial backup, replacing the prior one (got 8100 and 1113 
files versus 0)

Is this a localhost backup?  And if so, have you set it up to use sudo
or are you using ssh?
Localhost that is set up to use sudo.  The backup runs through /var and 
/home as best I can tell, or it is failing at the very end of /home, not 
sure.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
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] Had to reinstall

2012-04-17 Thread David Williams
On 4/17/2012 1:39 AM, Les Mikesell wrote:
 On Mon, Apr 16, 2012 at 9:55 PM, David Williams
 dwilli...@dtw-consulting.com  wrote:
 I was able to mount my old hard drive that crashed and take a look at a few 
 things.  I guess the first thing of note is that I am using the 
 BackupPC_Admin.cgi script, so I believe that means a basic install.
 I am not able to see the correct links down the left hand side but now I am 
 getting the infamous message:

 Error: Wrong iuser: my userid is 485, instead of 482(backuppc).

 userid 485 is apache.  I've tried to understand what's happening but I can't 
 figure it out.  The permissions of the BackupPC_Admin.cgi file is as follows:

 -rwsr-x--- backuppc apache

 As far as I can tell that is correct. Shouldn't that ensure that 
 BackupPC_Admin.cgi gets run as the backuppc user?
 You may need to have perl-suid (or perl-suidperl, depending on your
 linux distro and packaging) installed.  Or maybe httpd-suexec for some
 versions...

 And you don't see much in the web interface until you can log in as
 and admin user - so apache has to be configured to request a login for
 the location and you need to have your login in $Conf{CgiAdminUsers}.

Ok, so that is where I am stuck, apache is not asking me for a login.  I 
have my config.pl file from my previous install (located in 
/etc/backuppc) and it does have an admin user define in 
$Conf{CgiAdminUsers}.  I also have a .htaccess file in my 
/var/www/backuppc directory so I am not sure what apache is not asking 
for a login.

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
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] Had to reinstall

2012-04-17 Thread David Williams

On 4/17/2012 11:27 AM, Les Mikesell wrote:
 On Tue, Apr 17, 2012 at 8:03 AM, David Williams
 dwilli...@dtw-consulting.com  wrote:
 And you don't see much in the web interface until you can log in as
 and admin user - so apache has to be configured to request a login for
 the location and you need to have your login in $Conf{CgiAdminUsers}.

 Ok, so that is where I am stuck, apache is not asking me for a login.  I
 have my config.pl file from my previous install (located in
 /etc/backuppc) and it does have an admin user define in
 $Conf{CgiAdminUsers}.  I also have a .htaccess file in my
 /var/www/backuppc directory so I am not sure what apache is not asking
 for a login.
 Do you have a copy of your old httpd.conf file (and snippets from
 /etc/httpd/conf.d/ if you used them.   The authentication needs to be
 required when accessing the cgi script which might not be in the
 protected directory.

 If you are starting over from scratch, you might find it easier to use
 a version packaged for your linux distribution, although you have to
 pay some attention to where the packages move things and mount your
 old archive in the right place, it would make a future reinstall a lot
 easier.
I was able to get it working :)  I went from Mandriva Linux to Mageia, 
which is a fork of Mandriva, so very, very similar.  Thanks for all the 
help.

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
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] Had to reinstall

2012-04-16 Thread David Williams

  
  
I had a hard disc crash which basically messed up my /usr
partition. So, I had to basically re-install Linux. This is just a
home box but I have had BackupPC running on it for quite a while
(years) and to be honest it just worked :) So, I reinstalled Linux
and I downloaded the backuppc package. I have gotten to the point
whereby I can get the webpage up but a few things are happening
different from my previous install.

1). The web interface is not showing any hosts but the overall
status does show that my disc 92% full. Best I can tell (remember)
I have 2 places for a hosts file. One in /etc/backuppc and the
other is where my TOP_DIR is set, which is /var/lib/backuppc. Both
have valid host files so I am really at a loss as to why the web
interface is not showing any hosts at all.

2). The web interface is not asking for my login/password but that
could be because I have not done something...very possible.

Would appreciate any help.

Thanks.
-- 
  
  Golf Caddie Support
  Check
  out our WebOS mobile phone app for the Palm Pre and
  Pixi:

| 
| 
| 
by DTW-Consulting, Inc.
  
  

  

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
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] One more time

2011-02-17 Thread David Williams


  
  
Can anyone help me with the samba issue?
  Will also try another group thanks.


  
  David Williams
  Check
  out our WebOS mobile phone app for the Palm Pre and
  Pixi:

Golf
  Caddie | Golf
Caddie Forum | Golf
  Caddie FAQ by DTW-Consulting, Inc.
  
  


On 2/15/2011 9:36 AM, David Williams wrote:

  
  Ryan,

Thanks for the info. Tried what you suggested and here is what
happened.

smbclient -L laptop1 -U dwilliams
Enter dwilliams's password:
session setup failed: SUCCESS - 0

mount -t cifs //192.168.15.50/c$ /mnt/test/ -o
username=dwilliams
Password:
mount error(13): Permission denied

dwilliams is setup as an admin user on laptop1.

smbfs did not work and I got the following message: "smbfs is
deprecated and will be removed from the 2.6.27 kernel. Please
migrate to cifs"

Perhaps this is a windows 7 security issue, not sure. I know
several years ago I was using SMB to backup an XP machine and
didn't have these issues.
I'm not familiar with rsync so would have to look into that.
  
  
    
    David Williams
Check out our WebOS mobile phone app for
the Palm Pre and Pixi:
   Golf
Caddie | Golf

  Caddie Forum | Golf

Caddie FAQ by DTW-Consulting, Inc.


  
  
  On 2/15/2011 9:29 AM, Ryan Blake wrote:
  


David,

Being a "mobile warrior," I
believe you would be best fitted with using rsync (cwRsync
for Windows)instead of smb. You also need to keep in mind that your system will need
to transfer all files across the pipe to check their
checksum. If you are connected via wireless when you are
home, I would not suggest it, unless your drive is
practically unused.

With that said, if you still would
prefer to use smb, I would suggest doing some basic
troubleshooting from another PC (if possible) by simply
connecting to the \\laptop1 device (you will
want to connect to the c$ share). If you can connect
successfully or if you don't have another device to test, I
would suggest running the following command on your linux
box:

smbclient -L ComputerName -U
Administrator*

If the system comes back with your
open network shares, then good. If it does not, then
something is wrong and you'll need to look into the error
message it gives back. If it does work, you can try one
last thing, actually mounting the drive to your server to
ensure that works.

1. Create a folder in /mnt using
mkdir /mnt/test
2. Run this command: mount -t cifs
//IP.AddressOrHostName.Of.Computer/c$ /mnt/test/ -o
username=Administrator*
3. If that does not work, exchange
cifs for smbfs. mount -t cifs
//IP.AddressOrHostName.Of.Computer/c$ /mnt/test/ -o
username=Administrator*

You should be able to cd to
/mnt/test and do a ls -aL to see all the data in the root of
your C: on your laptop. If that works, it *should* work
assuming your credentials are correct in BackupPC's configs.

P.S. Once you test mounting,
you'll probablywant to unmount with umount /mnt/test

* [Or whatever username you want
to use to connect]

~Ryan

  
  
  
    From: David
Williams 
Sent: Tuesday, February 15, 2011 8:49 AM
To: General

list for user discussion,questions and support 
Subject: Re: [BackupPC-users] One more time
  



On 2/7/2011 3:49 PM, Tyler J. Wagner wrote:

  On Mon, 2011-02-07 at 12:39 -0500, Ryan Blake wrote:

  
However, if that's not an option for whatever reason, the only other option 
would be to ensure that your dhcpd service is properly connected/integrated 
with bind [named] (assuming you are using these).

  
  That's what I do at my office. However, I use dnsmasq at home, which
provides both DNS and DHCP. It automatically integrates them, so when
you supply your hostname with the DHCP request (as most clients do), it
gets added to the local DNS domain 

Re: [BackupPC-users] One more time

2011-02-15 Thread David Williams

On 2/7/2011 3:49 PM, Tyler J. Wagner wrote:

On Mon, 2011-02-07 at 12:39 -0500, Ryan Blake wrote:

However, if that's not an option for whatever reason, the only other option
would be to ensure that your dhcpd service is properly connected/integrated
with bind [named] (assuming you are using these).

That's what I do at my office. However, I use dnsmasq at home, which
provides both DNS and DHCP. It automatically integrates them, so when
you supply your hostname with the DHCP request (as most clients do), it
gets added to the local DNS domain automatically.

Also, consider Bonjour/Avahi. Then you can use hostname.local as your
name/alias and it will work. Ubuntu and Macs will support this out of
the box. On Windows it's easy to install.

Regards,
Tyler


All,

I have now gotten to the point whereby the backup is at least starting.  
It is also stopping very quickly with the following errors:


full backup started for share \\laptop1
Xfer PIDs are now 28877,28876
Exec failed for
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share \\laptop1)
Backup aborted (No files dumped for share \\laptop1)
Not saving this as a partial backup since it has fewer files than the prior one 
(got 0 and 0 files versus 0)

I suspect that I don't have some of the smb parameters setup correctly.  
I have done the following:


XferMethod = smb
SmbShareName = \\laptop1  (have also tried C$)
SmbShareUserName and SmbSharePasswd have both been set.
BackupFilesOnly = \users\dwilliams

How can I troubleshoot this issue further?  Are there any command line 
commands that I can use to ensure I can connect to laptop1 via smb?  I 
have Windows7 64-bit on the laptop.


Any additional help will be much appreciated.
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] One more time

2011-02-15 Thread David Williams


  
  
Ryan,
  
  Thanks for the info. Tried what you suggested and here is what
  happened.
  
  smbclient -L laptop1 -U dwilliams
  Enter dwilliams's password:
  session setup failed: SUCCESS - 0
  
  mount -t cifs //192.168.15.50/c$ /mnt/test/ -o username=dwilliams
  Password:
  mount error(13): Permission denied
  
  dwilliams is setup as an admin user on laptop1.
  
  smbfs did not work and I got the following message: "smbfs is
  deprecated and will be removed from the 2.6.27 kernel. Please
  migrate to cifs"
  
  Perhaps this is a windows 7 security issue, not sure. I know
  several years ago I was using SMB to backup an XP machine and
  didn't have these issues.
  I'm not familiar with rsync so would have to look into that.


      
  David Williams
  Check
  out our WebOS mobile phone app for the Palm Pre and
  Pixi:

Golf
  Caddie | Golf
Caddie Forum | Golf
  Caddie FAQ by DTW-Consulting, Inc.
  
  


On 2/15/2011 9:29 AM, Ryan Blake wrote:

  
  
  David,
  
  Being a "mobile warrior," I believe
  you would be best fitted with using rsync (cwRsync for
  Windows)instead of smb. You
  also need to keep in mind that your system will need to
  transfer all files across the pipe to check their checksum.
  If you are connected via wireless when you are home, I would
  not suggest it, unless your drive is practically unused.
  
  With that said, if you still would
  prefer to use smb, I would suggest doing some basic
  troubleshooting from another PC (if possible) by simply
  connecting to the \\laptop1 device (you will
  want to connect to the c$ share). If you can connect
  successfully or if you don't have another device to test, I
  would suggest running the following command on your linux box:
  
  smbclient -L ComputerName -U
  Administrator*
  
  If the system comes back with your
  open network shares, then good. If it does not, then
  something is wrong and you'll need to look into the error
  message it gives back. If it does work, you can try one last
  thing, actually mounting the drive to your server to ensure
  that works.
  
  1. Create a folder in /mnt using
  mkdir /mnt/test
  2. Run this command: mount -t cifs
  //IP.AddressOrHostName.Of.Computer/c$ /mnt/test/ -o
  username=Administrator*
  3. If that does not work, exchange
  cifs for smbfs. mount -t cifs
  //IP.AddressOrHostName.Of.Computer/c$ /mnt/test/ -o
  username=Administrator*
  
  You should be able to cd to
  /mnt/test and do a ls -aL to see all the data in the root of
  your C: on your laptop. If that works, it *should* work
  assuming your credentials are correct in BackupPC's configs.
  
  P.S. Once you test mounting, you'll
  probablywant to unmount with umount /mnt/test
  
  * [Or whatever username you want to
  use to connect]
  
  ~Ryan
  


    
  From: David Williams
  
  Sent: Tuesday, February 15, 2011 8:49 AM
  To: General
  list for user discussion,questions and support 
  Subject: Re: [BackupPC-users] One more time

  
  
  
  On 2/7/2011 3:49 PM, Tyler J. Wagner wrote:
  
On Mon, 2011-02-07 at 12:39 -0500, Ryan Blake wrote:


  However, if that's not an option for whatever reason, the only other option 
would be to ensure that your dhcpd service is properly connected/integrated 
with bind [named] (assuming you are using these).


That's what I do at my office. However, I use dnsmasq at home, which
provides both DNS and DHCP. It automatically integrates them, so when
you supply your hostname with the DHCP request (as most clients do), it
gets added to the local DNS domain automatically.

Also, consider Bonjour/Avahi. Then you can use "hostname.local" as your
name/alias and it will work. Ubuntu and Macs will support this out of
the box. On Windows it's easy to install.

Regards,
Tyler


  
  All,

I have now gotten to the point whereby the backup is at least
starting. It is also stopping very quickly with the following
errors:

  
  full backup started for share \\laptop1
Xfer PIDs are now 28877,28876
Exec failed for 
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share \\laptop1)
Backup aborted (No fi

Re: [BackupPC-users] One more time

2011-02-07 Thread David Williams


  
  
The problem that I have is that I travel
  everyweek and hook my laptop onto clients networks so DHCP is
  needed.
  That said, perhaps there is a way (I think there is) that I can
  force my DHCP server at home to always provide the same internal
  IP address to my laptop right, by specifying the MAC address or
  something?


  
  David Williams
  Check
  out our WebOS mobile phone app for the Palm Pre and
  Pixi:

Golf
  Caddie | Golf
Caddie Forum | Golf
  Caddie FAQ by DTW-Consulting, Inc.
  
  


On 2/7/2011 10:49 AM, Carl Wilhelm Soderstrom wrote:

  On 02/03 01:45 , David Williams wrote:

  
Got a little free time so thought that I would try again to see how I 
can back up my laptop.
It's set to DHCP and is connected to the same network as the BackupPC 
server.

  
  
Is there any hope you can get a static IP address assignment for your
laptop, so that the BackupPC server doesn't have to 'hunt' for it?

This is what we do everywhere, and it solves the problem perfectly.



  

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
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] One more time

2011-02-07 Thread David Williams


  
  
Ok,
  
  I will take a look into that. I'm not a networking person by any
  means and tend to stumble through these things :)


  
  David Williams
  Check
  out our WebOS mobile phone app for the Palm Pre and
  Pixi:

Golf
  Caddie | Golf
Caddie Forum | Golf
  Caddie FAQ by DTW-Consulting, Inc.
  
  


On 2/7/2011 12:19 PM, Carl Wilhelm Soderstrom wrote:

  On 02/07 11:38 , David Williams wrote:

  
That said, perhaps there is a way (I think there is) that I can force my 
DHCP server at home to always provide the same internal IP address to my 
laptop right, by specifying the MAC address or something?

  
  
That's what I was suggesting, tho perhaps not clearly enough.



  

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
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] One more time

2011-02-07 Thread David Williams


On 2/7/2011 12:32 PM, Les Mikesell wrote:

On 2/7/2011 11:38 AM, David Williams wrote:

The problem that I have is that I travel everyweek and hook my laptop
onto clients networks so DHCP is needed.
That said, perhaps there is a way (I think there is) that I can force my
DHCP server at home to always provide the same internal IP address to my
laptop right, by specifying the MAC address or something?

Yes, all DHCP servers should have a way to reserve an IP by MAC address,
and most will give the same MAC the same IP for some reasonable length
of time anyway unless there is a big turnover with the lease expired.
*Anyway, if you just connect to the backuppc web interface from the
laptop itself and request the backup, it will find you - and keep
working at least until the IP changes.*

I do connect to the web interface from the laptop itself and request the 
backup and I get the following message:


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.


That's my issue, but will look into trying to reserve a specific address 
for this laptop as that's probably an easier solution to the problem, at 
least for me :)



--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb___
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] NAS

2010-04-07 Thread David Williams
Thanks Erik,

 

I think that buying a bare bones setup without the disks would be preferable
so that I can choose the exact type of disks that I’d like to have J

 

___

Dave Williams

Check out our WebOS mobile phone app for the Palm Pre and Pixi: 

 http://www.dtw-consulting.com/GolfCaddie Golf Caddie |
http://www.dtw-consulting.com/GolfCaddie/forum Golf Caddie Forum |
http://www.dtw-consulting.com/GolfCaddie/faq.html Golf Caddie FAQ by
DTW-Consulting, Inc.

site_logo

 

From: Erik Hjertén [mailto:erik.hjer...@companion.se] 
Sent: Wednesday, April 07, 2010 9:46 AM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] NAS

 

David,

I think it depends on, as you say, the flavour. Here in sweden these NAS:es
comes with and without disks. I bought mine without disks as I had two
Western Digital Caviar Green (WD10EACS) from my previous setup. These disks
are 5400 rpm.

Regards
/Erik

David Williams skrev 2010-04-07 14:03: 

Erik,

 

Thanks for the feedback.  That’s helpful.

What type of drives come with the NAS?  Are they 7200rpm or 5400rpm? Or does
that depend on which flavour of the Netgear NAS one buys?

 

___

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  | Golf Caddie FAQ
http://www.dtw-consulting.com/GolfCaddie/faq.html  by DTW-Consulting, Inc.

site_logo

 

From: Erik Hjertén [mailto:erik.hjer...@companion.se] 
Sent: Tuesday, April 06, 2010 5:53 PM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] NAS

 

Hi David

I have a ReadyNAS Duo [X-RAID] with two 1TB disks in raid 0 (mirrored). I
believe it's close to what you are looking at. It's mounted as NFS in my
Ubuntu server. I use this set-up in my home for personal as well as business
use. It has worked flawlessly since I installed it, I think it was in
october last year. I backup several clients to it as well as the Ubuntu
server it self. A full backup typically reaches a speed of 8 MB/s, but I
haven't made any effort to tune the setup, I just plug and pray ;-) . I also
store some larger files on it and I stream video from it as well. Works
great.

What do you want to know?

Regards
/Erik

David Williams skrev 2010-04-06 23:11: 

I currently have a Western Digitial 1TB My Book World device which seems
like it’s starting to play up, which is a shame because I’ve hacked it (it’s
basically a Linux server) so that I could mount the drive as NFS under Linux
and perform backups using Backuppc.  I haven’t look into the problem with
the drive too much, but after a few days of it being mounted I can’t cd into
the mount partition of the drive  L

 

I’m looking to get a replacement which will mainly be used to backup various
mount points on my home Linux server.  I haven’t done too much research yet
but need something that is one the cheap side, is compatible with Linux and
preferably will let me format the drives to ext3 too, or at least mount the
drives such that I can perform backups using Backuppc, which requires
hardlinks.

 

I took a very quick look around and saw the Netgear RND2210-100NAS which
looks pretty decent (states that it’s compatible with Linux) and has 2
drives.  Looks like it already comes with 2 x 1TB drives (no idea what type
of drives though if it does indeed come with 2 HDs) and this would be great
as I could use 1 on the 1TB drive for my backups and the other to hold my
photos, music and videos, which would free up some space on my Linux server.

 

Has anyone ever used (or is currently using) the above Netgear device and
could provide feedback?

 

If I can’t find a decent NAS then I’ll have to buy several HD’s and
re-config my Linux server with much larger drives.

 

 

___

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 | Golf
http://www.dtw-consulting.com/GolfCaddie/faq.html  Caddie FAQ by
DTW-Consulting, Inc.

site_logo

 

 
 


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.800 / Virus Database: 271.1.1/2795 - Release Date: 04/06/10
14:32:00

image001.pngimage002.png--
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

Re: [BackupPC-users] BackupPC_nightly takes too much time

2010-04-07 Thread David Williams
Josh,

Interesting that.  Is there an easy way to convert from ext3 to ext4? Or do
you need to reformat?  Also, did you change all your hard drives to ext4 or
just the drive backuppc backs up to?

___
Dave Williams
Check out our WebOS mobile phone app for the Palm Pre and Pixi: 
Golf Caddie | Golf Caddie Forum | Golf Caddie FAQ by DTW-Consulting, Inc.


 -Original Message-
 From: Josh Malone [mailto:jmal...@nrao.edu]
 Sent: Wednesday, April 07, 2010 4:44 PM
 To: General list for user discussion, questions and support
 Subject: Re: [BackupPC-users] BackupPC_nightly takes too much time
 
 On Wed, 07 Apr 2010 11:34:57 +0200, Norbert Schulze
 n...@nurfuerspam.de wrote:
  Hello,
 
  the BackupPC_nightly takes too much time. Is this too much data for
 this
  server?
 
  Intel(R) Core(TM)2 Quad CPUQ9650  @ 3.00GHz
  Memory: 8GB
 
  General Server Information
  The servers PID is 15477, on host BACKUPPC-Server, version 3.1.0,
 started
  at 3/29 14:35.
  This status was generated at 4/7 11:29.
  The configuration was last loaded at 4/7 11:29.
  PCs will be next queued at 4/7 12:00.
  Other info:
  9 pending backup requests from last scheduled wakeup,
  0 pending user backup requests,
  10 pending command requests,
  Uncompressed pool:
  Pool is 357.26GB comprising 469442 files and 4369 directories (as of
 4/6
 
 I have a system with about the same amount of data and far more files
 running on much less hardware. I, too, found backupPC_nightly taking a
 LONG
 time. I switched from EXT3 to EXT4 (with extents enabled) and my
 problems
 were basically solved. My system was also 32-bit (I've switched to 64-
 bit
 since then to get better ext4 stability... long story, RedHat stinks)
 
 What filesystem are you using?
 
 -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/
 
 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 9.0.800 / Virus Database: 271.1.1/2795 - Release Date:
 04/06/10 14:32: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/


[BackupPC-users] NAS

2010-04-06 Thread David Williams
I currently have a Western Digitial 1TB My Book World device which seems
like it's starting to play up, which is a shame because I've hacked it (it's
basically a Linux server) so that I could mount the drive as NFS under Linux
and perform backups using Backuppc.  I haven't look into the problem with
the drive too much, but after a few days of it being mounted I can't cd into
the mount partition of the drive  L

 

I'm looking to get a replacement which will mainly be used to backup various
mount points on my home Linux server.  I haven't done too much research yet
but need something that is one the cheap side, is compatible with Linux and
preferably will let me format the drives to ext3 too, or at least mount the
drives such that I can perform backups using Backuppc, which requires
hardlinks.

 

I took a very quick look around and saw the Netgear RND2210-100NAS which
looks pretty decent (states that it's compatible with Linux) and has 2
drives.  Looks like it already comes with 2 x 1TB drives (no idea what type
of drives though if it does indeed come with 2 HDs) and this would be great
as I could use 1 on the 1TB drive for my backups and the other to hold my
photos, music and videos, which would free up some space on my Linux server.

 

Has anyone ever used (or is currently using) the above Netgear device and
could provide feedback?

 

If I can't find a decent NAS then I'll have to buy several HD's and
re-config my Linux server with much larger drives.

 

 

___

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 | Golf
http://www.dtw-consulting.com/GolfCaddie/faq.html  Caddie FAQ by
DTW-Consulting, Inc.

site_logo

 

image001.png--
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

2010-03-30 Thread David Williams
Anyone got any ideas as to why this isn't working and the web interface
complains?

___
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: David Williams [mailto:dwilli...@dtw-consulting.com]
 Sent: Friday, March 26, 2010 8:18 PM
 To: 'General list for user discussion, questions and support'
 Subject: 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

Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-26 Thread David Williams
 

___

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] Communicating with a windows laptop on my workgroup

2010-03-26 Thread David Williams
-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

Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-22 Thread David Williams
Chris,

 

Thanks for the additional help on this.  I was able to make the changes and
set my laptop to look at my Linux box as a WINS server.  So now when I
perform the following command from the command line I get the following:

 

nmblookup -U 192.168.15.2 -R laptop1

querying laptop1 on 192.168.15.2

192.168.15.155 laptop100

 

That to me means it works and it's finding the IP address for my laptop :)

 

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!

 

I also updated the config file for laptop1 such that NmbLookupFindHostCmd is
set to:

 

$nmbLookupPath -R -U 192.168.15.2 $host

 

Feel like I am getting closer to getting this working now that I can at
least get success from the nmblookup command.

___

Dave Williams

Check out our WebOS mobile phone app for the Palm Pre and Pixi:

Golf Caddie by DTW-Consulting, Inc.

 

-Original Message-
From: Chris Bennett [mailto:ch...@ceegeebee.com] 
Sent: Thursday, March 18, 2010 7:07 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

 

Hi there,

 

 No, it doesn't make sense.  What you want (and need) is a master

 browser, which (on a workgroup, not a Windows domain) is elected

 from computers on the segment.  N.B.:  if you're not on the same

 segment and don't have a domain controller, you can't browse or use

 nmblookup.

 

WINS was created to work around this, and may help you in this case as

well.

 

Name resolution in SMB/AD uses three methods:

  - broadcast

  - WINS

  - DNS

 

The thread has mostly been about getting a master browser working, but

if the two BackupPC  client nodes are on the same segement, broadcast

resolution should work.  The exception might be if your client is not

responding to Netbios broadcast name queries (UDP 137).

 

So WINS can provide you a central name resolution service (WINS

server) which can respond to name queries on behalf of clients.  The

caveat being the clients need to know to register their name with a

WINS server.  WINS also solves the name resolution between segments

problem.

 

DHCP can dish out the WINS server setting (ISC dhcp name it

'netbios-name-servers'), but since you're statically allocating an IP

address, you'll need to manually configure the setting.  I found

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzahl/rzahlcfgpc
winsxp.htm

which describes how to do it for Windows XP.

 

The samba server requires the option

  wins support = yes

 

Now when you're client boots up, it'll register it's name with the

WINS server.

 

nbmlookup accepts a -R and -U option.  From the manpage:

  -U unicast address

 Do a unicast query to the specified address or host unicast

 address. This option (along with the -R option) is needed to

 query a WINS server.

 

  -R

 Set the recursion desired bit in the packet to do a recursive

 lookup. This is used when sending a name query to a machine

 running a WINS server and the user wishes to query the names in

 the WINS server. If this bit is unset the normal (broadcast

 responding) NetBIOS processing code on a machine is used instead.

 See RFC1001, RFC1002 for details.

 

Test first to ensure nmblookup returns the expected result, and then

update backuppc to use the above options when calling nmblookup.

 

The third resolution method (DNS) is just that: given a bareware name,

append a suffix to the name and send a query to the configured DNS

server.  AD uses this now to replace broadcast and WINS resolution,

coupled with dynamic DNS for clients to register their name to the DNS

server.

 

So hopefully that can help you to configure things the way you'd like

to - personally, the neatest solution is to setup a DNS server, and

configure your a DNS record for your desktop since it's statically

assigned, but all methods above should work they way their advertised

to work :)

 

Regards,

 

Chris Bennett

cgb

 

No virus found in this incoming message.

Checked by AVG - www.avg.com 

Version: 9.0.791 / Virus Database: 271.1.1/2756 - Release Date: 03/20/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 

Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-22 Thread David Williams
 

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

 

Will have to check that out when I am back home and connected to my network.

 

  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.

 

Thanks, I'll look into that.

 

 --

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

2010-03-18 Thread David Williams
Answers below.

___

Dave Williams

Check out our WebOS mobile phone app for the Palm Pre and Pixi:

Golf http://www.dtw-consulting.com/GolfCaddie  Caddie by DTW-Consulting,
Inc.

-Original Message-
From: Michael Stowe [mailto:mst...@chicago.us.mensa.org] 
Sent: Thursday, March 18, 2010 12:04 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 posted this to a Linux forum but also wanted to post it here since this

 is also relates to backuppc.

 

Only peripherally, in the sense that if you're using smb and smb doesn't

work, backuppc won't work.

 

 I did post something a while back and some mentioned about modifying

 Samba so that it became a local master.  Anyway, I

 made the changes to my smb.conf file with the following:

 

 local master = yes

 preferred master = yes

 wins support = yes

 

 That said, I still cannot seem to perform a nmblookup on a windows laptop

 that is connected to my network that has a dynamic IP address L

 

I'm not entirely sure why you'd want to use NMB rather than DNS; then

again, I don't recommend SMB since rsync is available.

 

I am by no means an expert in this area at all, and I am open to looking at
other options.  I know that I had the smb method working a while back on a
fixed IP address windows machine.  The last time I posted on here with this
issue, albeit with less information, I was asked to make the changes to
Samba that I indicated above.  I don't pretend to always understand the ins
and outs, just as long as I can get it working J

 

 I have just noticed something in my syslog, which I believe is related to

 a change in my Samba setup.  I am using Backuppc to perform backups on my

 linux server and I was (and still am) having a problem in that I wasn't

 able to back up any machine that had a dynamic IP address, namely my

 laptop.

 

Does it actually resolve via DNS?

 

This is a home network so to be honest, I wouldn't even know how to go about
testing this.  My laptop is associate to a Workgroup and my Linux server has
a static IP address within the 192.168.15.x range.  I can ping the laptop by
ip address but I am not sure what it's normal address would be.  For
example, would it be laptop1.workgroup.com ?

 

 It

 seems that nmblookup will not resolve the ip address from any machines on

 my

 network.  Really not sure what the problem is since I have very little

 experience with this.  Also, I don't remember what change I made to the

 samba configuration (I had a look but nothing jumped out) other than it

 had to do with enforcing Samba to act as a Domain Master if that makes

 sense.

 

No, it doesn't make sense.  What you want (and need) is a master browser,

which (on a workgroup, not a Windows domain) is elected from computers on

the segment.  N.B.:  if you're not on the same segment and don't have a

domain controller, you can't browse or use nmblookup.

 

 The errors I am getting in my syslog are as follows:

 nmbd[4123]:   find_domain_master_name_query_fail:

 nmbd[4123]:   Unable to find the Domain Master Browser name XX1b for

 the workgroup X.

 nmbd[4123]:   Unable to sync browse lists in this workgroup.

 

That's normal.  The local master browser is looking for a domain master

browser.  Which you apparently don't have.  This is indicating that for

whatever reason, samba is not functioning as the LMB.  There may be better

clues when it starts up, since typically that's when the elections are

held.

 

In your log.nmbd, you should see this sort of thing:

 

become_domain_master_browser_bcast:

  Attempting to become domain master browser on workgroup X on subnet

10.168.0.1

 

If you're not seeing this, then something's funny with your smb.conf.

 

After a restart to Samba here's what's in my log:

 

[2010/03/18 13:06:58,  0]
nmbd/nmbd_become_lmb.c:395(become_local_master_stage2)

  *

 

  Samba name server LINUXPC is now a local master browser for workgroup
WORKGROUP on subnet 192.168.15.2

 

  *

[2010/03/18 13:06:58,  0]
nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)

  find_domain_master_name_query_fail:

  Unable to find the Domain Master Browser name WORKGROUP1b for the
workgroup WORKGROUP.

  Unable to sync browse lists in this workgroup.

 

 

 I'd really appreciate any help that would allow me to be able to use

 nmblookup (which is what backuppc uses to resolve client names to an IP

 address) and work out just what I did to samba.

 

Can you actually browse any windows shares at all?

 

I'm not at my Linux box right now, but I'm pretty sure that I can.  For
example, from my laptop I can browse the Samba shares that I setup on the
Linux box.

 

 If I try and do a nmblookup for a client I get the following error

 message:

 

 nmblookup laptop1

 querying laptop1 on 

Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-18 Thread David Williams
From: David Williams [mailto:dwilli...@dtw-consulting.com] 
Sent: Thursday, March 18, 2010 1:05 PM
To: 'General list for user discussion, questions and support'
Subject: Re: [BackupPC-users] Communicating with a windows laptop on my
workgroup

 

Answers below.

___

Dave Williams

Check out our WebOS mobile phone app for the Palm Pre and Pixi:

Golf http://www.dtw-consulting.com/GolfCaddie  Caddie by DTW-Consulting,
Inc.

-Original Message-
From: Michael Stowe [mailto:mst...@chicago.us.mensa.org] 
Sent: Thursday, March 18, 2010 12:04 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 posted this to a Linux forum but also wanted to post it here since this

 is also relates to backuppc.

 

Only peripherally, in the sense that if you're using smb and smb doesn't

work, backuppc won't work.

 

 I did post something a while back and some mentioned about modifying

 Samba so that it became a local master.  Anyway, I

 made the changes to my smb.conf file with the following:

 

 local master = yes

 preferred master = yes

 wins support = yes

 

 That said, I still cannot seem to perform a nmblookup on a windows laptop

 that is connected to my network that has a dynamic IP address L

 

I'm not entirely sure why you'd want to use NMB rather than DNS; then

again, I don't recommend SMB since rsync is available.

 

I am by no means an expert in this area at all, and I am open to looking at
other options.  I know that I had the smb method working a while back on a
fixed IP address windows machine.  The last time I posted on here with this
issue, albeit with less information, I was asked to make the changes to
Samba that I indicated above.  I don't pretend to always understand the ins
and outs, just as long as I can get it working J

 

 I have just noticed something in my syslog, which I believe is related to

 a change in my Samba setup.  I am using Backuppc to perform backups on my

 linux server and I was (and still am) having a problem in that I wasn't

 able to back up any machine that had a dynamic IP address, namely my

 laptop.

 

Does it actually resolve via DNS?

 

This is a home network so to be honest, I wouldn't even know how to go about
testing this.  My laptop is associate to a Workgroup and my Linux server has
a static IP address within the 192.168.15.x range.  I can ping the laptop by
ip address but I am not sure what it's normal address would be.  For
example, would it be laptop1.workgroup.com ?

 

 It

 seems that nmblookup will not resolve the ip address from any machines on

 my

 network.  Really not sure what the problem is since I have very little

 experience with this.  Also, I don't remember what change I made to the

 samba configuration (I had a look but nothing jumped out) other than it

 had to do with enforcing Samba to act as a Domain Master if that makes

 sense.

 

No, it doesn't make sense.  What you want (and need) is a master browser,

which (on a workgroup, not a Windows domain) is elected from computers on

the segment.  N.B.:  if you're not on the same segment and don't have a

domain controller, you can't browse or use nmblookup.

 

 The errors I am getting in my syslog are as follows:

 nmbd[4123]:   find_domain_master_name_query_fail:

 nmbd[4123]:   Unable to find the Domain Master Browser name XX1b for

 the workgroup X.

 nmbd[4123]:   Unable to sync browse lists in this workgroup.

 

That's normal.  The local master browser is looking for a domain master

browser.  Which you apparently don't have.  This is indicating that for

whatever reason, samba is not functioning as the LMB.  There may be better

clues when it starts up, since typically that's when the elections are

held.

 

In your log.nmbd, you should see this sort of thing:

 

become_domain_master_browser_bcast:

  Attempting to become domain master browser on workgroup X on subnet

10.168.0.1

 

If you're not seeing this, then something's funny with your smb.conf.

 

After a restart to Samba here's what's in my log:

 

[2010/03/18 13:06:58,  0]
nmbd/nmbd_become_lmb.c:395(become_local_master_stage2)

  *

 

  Samba name server LINUXPC is now a local master browser for workgroup
WORKGROUP on subnet 192.168.15.2

 

  *

[2010/03/18 13:06:58,  0]
nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)

  find_domain_master_name_query_fail:

  Unable to find the Domain Master Browser name WORKGROUP1b for the
workgroup WORKGROUP.

  Unable to sync browse lists in this workgroup.

 

 

 I'd really appreciate any help that would allow me to be able to use

 nmblookup (which is what backuppc uses to resolve client names to an IP

 address) and work out just what I did to samba.

 

Can you actually browse any windows shares at all?

 

I'm not at my Linux box right now, but I'm

Re: [BackupPC-users] Communicating with a windows laptop on my workgroup

2010-03-18 Thread David Williams
 

 

___

Dave Williams

Check out our WebOS mobile phone app for the Palm Pre and Pixi:

Golf Caddie by DTW-Consulting, Inc.

 

 

-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, March 18, 2010 3:11 PM
To: mst...@chicago.us.mensa.org; General list for user discussion, questions
and support
Cc: dwilli...@dtw-consulting.com
Subject: Re: [BackupPC-users] Communicating with a windows laptop on my
workgroup

 

Michael Stowe wrote:

 

 Does it actually resolve via DNS?

 

 This is a home network so to be honest, I wouldn't even know how to go

 about testing this.  My laptop is associate to a Workgroup and my Linux

 server has a static IP address within the 192.168.15.x range.  I can ping

 the laptop by ip address but I am not sure what it's normal address would

 be.  For example, would it be laptop1.workgroup.com ?

 

 Probably not.  Somewhere on your network you've got a DHCP server that's

 giving your laptop an IP address, and there's probably a DNS server that's

 either being updated directly by your laptop (Windows does that) or by

 your DHCP server.

 

 At any rate, to find out, open a command window on your Windows box and
type:

 

 ipconfig

 

 Which should yield a connection-specific DNS suffix.

 

 Workgroups/WINS is -quite- different, and entirely unrelated.

 

For a network with only a few machines, the easiest approach might be to 

configure the router/dhcp server to give out fixed IP addresses based on the


known ethernet MAC addresses.   Most home routers have a simple web
interface 

and the ability to configure this.  They may also offer to provide DNS, but
for 

a couple of machines it doesn't matter - you can just set dhcp to 0 in
backuppc 

and put the IP address in ClientAlias.

 

That's a good idea. I'll check that out as it would be much simpler.  I'll
only ever have 3-4 laptops that I'll want to consider backing up.

 

-- 

   Les Mikesell

lesmikes...@gmail.com

 

 

No virus found in this incoming message.

Checked by AVG - www.avg.com 

Version: 9.0.790 / Virus Database: 271.1.1/2752 - Release Date: 03/17/10
03: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/


[BackupPC-users] Backing up a laptop via DHCP

2009-12-28 Thread David Williams
I have a simple home network setup on the 192.168.15.x subnet.  To date I
have just been backing up items on the backup server itself and that has
been working fine.  The backuppc server has a static IP address.  I now want
to add a couple of laptops to the backup but according to backuppc it can
never locate these laptops.  I've gone through the documentation about
nmblookup using the -A or -B options but nothing seems to work :(  At a loss
as to how to proceed now.  The laptops will always be set to DHCP so I can't
locate them by IP address.

 

My home network is basically a windows Workgroup and I was planning on
access my laptops via smb.  From my backuppc server I can see both laptops
on the workgroup.

 

Any help, guidance would be much appreciated.

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
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] Backup Taking Forever

2009-06-17 Thread David Williams
All,

 

I have had to reconfigure backuppc a little so that I can get it to work
with my external USB drive.  This mainly involved getting my external drive
mounted as NFS, and also mounting it to /var/lib/backuppc

 

Backuppc will start just fine and I can log into the web interface and see
my client (local machine)  and see the configuration settings, both the
global one and for the specific machine.

 

The specific machine configuration file is configured so that 'TarShareName'
contains:  /var, /etc, /photos, ..and several other partitions.  I also have
set the 'BackupFilesExclude' to: /var/lib/backuppc.

 

When I start a full backup I notice that the file NewFileList is creating
entries for /var/lib/backuppc/* which is confusing to me as I'd expect this
to be exclude since it is part of the exclusion path.

 

I am using tar as the XferMethod.

 

Am I missing something that would prevent the exclude from working ?

 

I am running backuppc on Mandriva 2009.0 and I have version 3.1.0-7.

 

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
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] Backup Taking Forever

2009-06-17 Thread David Williams
I have cut and pasted what I believe are the appropriate sections:

My overall (global) config file is in /etc/backuppc/config.pl
Each clients config file is in /var/lib/backuppc/pc/clinet.pl

The is from my client config file.

$Conf{TarShareName} = [
  '/var',
  '/home',
  '/root',
  '/etc',
  '/email',
  '/shares',
  '/work',
  '/music/sonos',
  '/music/archive',
  '/music/temp',
  '/photos'
];

$Conf{BackupFilesExclude} = {
  '*' = [
'/var/lib/backuppc'
  ]
};


David Williams


-Original Message-
From: Adam Goryachev [mailto:mailingli...@websitemanagers.com.au] 
Sent: Wednesday, June 17, 2009 11:58 AM
To: dwilli...@dtw-consulting.com; General list for user discussion, questions 
and support
Subject: Re: [BackupPC-users] Backup Taking Forever

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Williams wrote:
 All,
 The specific machine configuration file is configured so that
 ‘*TarShareName’* contains:  /var, /etc, /photos, ……and several other
 partitions.  I also have set the ‘*BackupFilesExclude**’* to:
 /var/lib/backuppc.
 When I start a full backup I notice that the file NewFileList is
 creating entries for /var/lib/backuppc/* which is confusing to me as I’d
 expect this to be exclude since it is part of the exclusion path.
 I am using tar as the XferMethod.
 
 Am I missing something that would prevent the exclude from working ?

Please post/send a copy of your configuration file in (sometimes)
/etc/backuppc/hostname.pl or /etc/BackupPC/hostname.pl etc...

Without seeing the whole config file, or at least the include/exclude,
share name sections, it will be very difficult to help, other than to
say You have an error with the configuration of one of those settings.

Regards,
Adam
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAko5EnMACgkQGyoxogrTyiVBTgCgk7emnA8cPhzg1WU2/IEh02zl
VMUAoIIzjc/IA2R0b1pD3/2QuMaS8lQj
=qpRn
-END PGP SIGNATURE-


No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.75/2182 - Release Date: 06/16/09 
21:23:00


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] Backup Taking Forever

2009-06-17 Thread David Williams
Chris,

 

I know that performance to an external USB drive isn't the greatest, but if
you re-read my original post you will see that my concern is that my
excluded items are appearing in the NewFileList file, which they shouldn't
be, at least not the way I understand it.

 



David Williams

 

From: Chris Baker [mailto:cba...@intera.com] 
Sent: Wednesday, June 17, 2009 1:00 PM
To: 'General list for user discussion, questions and support'
Subject: Re: [BackupPC-users] Backup Taking Forever

 

 

Let's get this straight here. You are backing up a machine on your network
to an external USB drive. I have noticed major issues myself when network
file transfer is combined with USB file transfer. It just takes forever.  I
recommend trying an eSATA solution if you want to use an external drive.

 

 

From: David Williams [mailto:dwilli...@dtw-consulting.com] 
Sent: Wednesday, June 17, 2009 10:02 AM
To: 'General list for user discussion, questions and support'
Subject: [BackupPC-users] Backup Taking Forever

 

All,

 

I have had to reconfigure backuppc a little so that I can get it to work
with my external USB drive.  This mainly involved getting my external drive
mounted as NFS, and also mounting it to /var/lib/backuppc

 

Backuppc will start just fine and I can log into the web interface and see
my client (local machine)  and see the configuration settings, both the
global one and for the specific machine.

 

The specific machine configuration file is configured so that 'TarShareName'
contains:  /var, /etc, /photos, ..and several other partitions.  I also have
set the 'BackupFilesExclude' to: /var/lib/backuppc.

 

When I start a full backup I notice that the file NewFileList is creating
entries for /var/lib/backuppc/* which is confusing to me as I'd expect this
to be exclude since it is part of the exclusion path.

 

I am using tar as the XferMethod.

 

Am I missing something that would prevent the exclude from working ?

 

I am running backuppc on Mandriva 2009.0 and I have version 3.1.0-7.

 

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.75/2182 - Release Date: 06/16/09
21:23:00

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects___
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] Backup Taking Forever

2009-06-17 Thread David Williams
Thanks,

Giving this a try now.


David Williams


-Original Message-
From: Adam Goryachev [mailto:mailingli...@websitemanagers.com.au] 
Sent: Wednesday, June 17, 2009 12:23 PM
To: dwilli...@dtw-consulting.com; General list for user discussion, questions 
and support
Subject: Re: [BackupPC-users] Backup Taking Forever

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Williams wrote:
 I have cut and pasted what I believe are the appropriate sections:
 
 My overall (global) config file is in /etc/backuppc/config.pl
 Each clients config file is in /var/lib/backuppc/pc/clinet.pl
 
 The is from my client config file.
 
 $Conf{TarShareName} = [
   '/var',
   '/home',
   '/root',
   '/etc',
   '/email',
   '/shares',
   '/work',
   '/music/sonos',
   '/music/archive',
   '/music/temp',
   '/photos'
 ];
 
 $Conf{BackupFilesExclude} = {
   '*' = [
 '/var/lib/backuppc'
   ]
 };

So now I might be able to help

Change the last part to:
$Conf{BackupFilesExclude} = {
  '/var' = [
'/lib/backuppc'
  ]
};

or

$Conf{BackupFilesExclude} = {
  'var' = [
'/lib/backuppc'
  ]
};

I'm not sure if the literal share name is needed or not. Of course, you
could use * and just fixup the directory to exclude, but that would also
exclude a directory called /home/lib/backuppc which in this instance
probably wouldn't matter (wouldn't happen) but with another example may
make a big difference

Hope that helps.

Regards,
Adam
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAko5GFIACgkQGyoxogrTyiVnUwCgy9itGlYzsGuR//9TpexnqOFC
7IgAoJP03kyZsFGmOWIC0BGU7h5UZQ7u
=gH33
-END PGP SIGNATURE-


No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.75/2182 - Release Date: 06/16/09 
21:23:00


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] Backup Taking Forever

2009-06-17 Thread David Williams
Adam,

That did the trick :)

Thanks.


David Williams


-Original Message-
From: David Williams [mailto:dwilli...@dtw-consulting.com] 
Sent: Wednesday, June 17, 2009 1:19 PM
To: 'General list for user discussion, questions and support'
Subject: RE: [BackupPC-users] Backup Taking Forever

Thanks,

Giving this a try now.


David Williams


-Original Message-
From: Adam Goryachev [mailto:mailingli...@websitemanagers.com.au] 
Sent: Wednesday, June 17, 2009 12:23 PM
To: dwilli...@dtw-consulting.com; General list for user discussion, questions 
and support
Subject: Re: [BackupPC-users] Backup Taking Forever

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Williams wrote:
 I have cut and pasted what I believe are the appropriate sections:
 
 My overall (global) config file is in /etc/backuppc/config.pl
 Each clients config file is in /var/lib/backuppc/pc/clinet.pl
 
 The is from my client config file.
 
 $Conf{TarShareName} = [
   '/var',
   '/home',
   '/root',
   '/etc',
   '/email',
   '/shares',
   '/work',
   '/music/sonos',
   '/music/archive',
   '/music/temp',
   '/photos'
 ];
 
 $Conf{BackupFilesExclude} = {
   '*' = [
 '/var/lib/backuppc'
   ]
 };

So now I might be able to help

Change the last part to:
$Conf{BackupFilesExclude} = {
  '/var' = [
'/lib/backuppc'
  ]
};

or

$Conf{BackupFilesExclude} = {
  'var' = [
'/lib/backuppc'
  ]
};

I'm not sure if the literal share name is needed or not. Of course, you
could use * and just fixup the directory to exclude, but that would also
exclude a directory called /home/lib/backuppc which in this instance
probably wouldn't matter (wouldn't happen) but with another example may
make a big difference

Hope that helps.

Regards,
Adam
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAko5GFIACgkQGyoxogrTyiVnUwCgy9itGlYzsGuR//9TpexnqOFC
7IgAoJP03kyZsFGmOWIC0BGU7h5UZQ7u
=gH33
-END PGP SIGNATURE-


No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.75/2182 - Release Date: 06/16/09 
21:23:00


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] External WD Worldbook Device

2009-06-02 Thread David Williams
I did finally get around to hacking my drive and enabling NFS.  I can now
mount it as NFS and backuppc is now working again :)

However, there might still be something wrong with my setup.

I am running Mandriva 2009.0 and installed backuppc from the Mandriva
respostiory.

I updated the config.pl file and one of the things that I did change was the
TopDir parameter, which I set to /backups

My backups are currently going to /backups/pc/, where  is the host
that I am backing up.

I was re-reading the email below about the pool files and I didn't see
anything under /backups/cpool or /backups/pool.

On further investigation I do see files/directories under
/var/lib/backuppc/cpool.  By changing the TopDir parameter in the config.pl
file have I messed anything up ?  Backups seem to be working (very slowly),
but they are working.  I am assuming that this is ok but not sure.

Under /var/lib/backuppc/cpool are directories like 0/ 1/ 2/ 3/, etc but when
I drill down into some of these directories I don't see any files.

Would appreciate some help.


David Williams


-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, March 26, 2009 2:01 PM
To: dwilli...@dtw-consulting.com; General list for user discussion,
questions and support
Subject: Re: [BackupPC-users] External WD Worldbook Device

David Williams wrote:
 Les,
 
 I believe that under the Mandriva package we are allowed to change the
 TopDir and it is in the config.pl file.

That's not likely. When you install from source, the configuration 
process modifies the code, embedding this location elsewhere.  If you 
don't re-run that process it won't be right.

 When I originally started Backuppc
 it was complaining that it could not create a hardlink under
 /backups/pc/ and /backups/cpool.  It wasn't looking at
 /var/lib/backuppc.  Even with version 3.0 I had TopDir set to /backups and
 backups were being created under /backups.

The test in 3.1 was added to catch this kind of mistake.

 Perhaps it has been 'failing', but I had valid backups that I have
restored
 from.  Whether it was wasting space I don't know, perhaps it was.  Also,
 even though I cannot currently do backups I can restore from existing
 backups and the restore is coming from /backups.  Based upon that I would
 say that the Mandriva package allows the change of the TopDir.

If pooling had ever worked you should have a large tree of files with 
long hash codes for names under the pool or cpool directory.  Does 'ls 
-lR' or 'find' show them?   Backups are stored under the appropriate pc 
directories in any case, but the pooling that eliminates duplicate 
copies can only work when the hardlinks succeed.  If you do have pooled 
files (and ls -l should show link counts  1), then there must be 
something different about the mount options on the new system.

-- 
   Les Mikesell
 lesmikes...@gmail.com





No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.49/2149 - Release Date: 06/01/09
17:55:00


--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
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] External WD Worldbook Device

2009-06-02 Thread David Williams
If you installed from scratch from the sourceforge tarball you would be 
able to change the storage location, but the location is embedded in the 
code during the install process.  If you are using a version packaged 
for a distribution, this step has already been done and you can't change 
it with just the TopDir setting.  You really need to mount the disk at 
/var/lib/backuppc (copy everything that needs to be there first). You'll 
probably also need to mount the disk async to get any performance.

Les, thanks for the info.  Can you just give me a little more info in
regards to what you mean about copy everything that needs to be there
first.  If mount my drive from the current location (/backups) to
/var/lib/backuppc then won't everything that is currently in /backups be
where /var/lib/backuppc is now ?  Do you mean to copy whatever is currently
in /var/lib/backuppc to /backups first, and then mount the drive at
/var/lib/backuppc ?

I current mount the NFS drive as follows:

backupdevice1:/shares/internal/PUBLIC /backups nfs
rsize=8192,wsize=8192,nosuid,soft 0 0

I took a look at the options and there is no async option, just a sync
option.  According to the info sync does the following:  All I/O to the file
system should be done synchronously.


--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
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] External WD Worldbook Device

2009-04-07 Thread David Williams
Just trying to follow up on this.

 

So, the workbook drive that I have cannot create hard links L so this means
I can no longer use this drive for doing backups, since the hardlink check
will stop this.  Is the hardlink issue related to the drive itself, or is it
related to the fact that it is formatted to NTFS format ?

 

Is there a way to format this drive so that it can create hardlinks (ext3?)
and can be used for backups again ?  It's a 1TB drive and I'd hate to have
to buy another drive.

 



David Williams

 

From: Les Stott [mailto:l...@cyberpro.com.au] 
Sent: Thursday, March 26, 2009 11:21 PM
To: General list for user discussion, questions and support
Cc: dwilli...@dtw-consulting.com
Subject: Re: [BackupPC-users] External WD Worldbook Device

 

Les Mikesell wrote: 

David Williams wrote:
  

When I originally started Backuppc
it was complaining that it could not create a hardlink under
/backups/pc/ and /backups/cpool.  It wasn't looking at
/var/lib/backuppc.  Even with version 3.0 I had TopDir set to /backups and
backups were being created under /backups.


 
The test in 3.1 was added to catch this kind of mistake.
 
  

Yes, i found this way back in December 2007, see here

http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg08103.ht
ml

but no one ever replied to my post.

In short yes, the hardlink test is a good thing, but to me it seems it gets
done too early. 

In the old 3.0.0 you could just format a usb drive as ext3 and plug it in on
the same mount point and backuppc would start, create pc, cpool, pool and
trash directories and carry on.
Now in 3.1.0 it does the hardlink check before creating any directories and
becuase the hardlink check is done on subdirectories it fails.

I would absolutely love it if the top level directories were still created
by backuppc first before doing the hardlink test. If those directories are
created because they dont exist and the hardlink test fails then just remove
the directories. Or leave them there, all you've done is create a few
directories.

Or how about just making some temp directories as part of the hardlink test
underneath the $Topdir? That would be the same as trying to create hard
links under TopDir/pc/ etc.

Regards,

Les Stott

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.11.30/2026 - Release Date: 03/27/09
07:13:00

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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/


Re: [BackupPC-users] External WD Worldbook Device

2009-04-07 Thread David Williams
The drive is supposed to be a NAS drive, in that it is connected directly to
my router.  Hoping that someone else has this kind of drive and has come up
with a solution to this problem.  So far I have not been able to see how I
can reformat it :(  There is a web interface for the drive but even with
that there doesn't appear to be a way to re-format the thing.  Perhaps this
is not something that can be done, or that WD want people doing, which is
understandable.

I mount the drive as follows:

//192.168.15.6/public /backups cifs rw,
username=user,password=passwd,uid=backuppc,gid=backuppc 0 0


David Williams

-Original Message-
From: Tino Schwarze [mailto:backuppc.li...@tisc.de] 
Sent: Tuesday, April 07, 2009 9:24 AM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] External WD Worldbook Device

On Tue, Apr 07, 2009 at 08:32:33AM -0400, David Williams wrote:

 So, the workbook drive that I have cannot create hard links L so this
means
 I can no longer use this drive for doing backups, since the hardlink check
 will stop this.  Is the hardlink issue related to the drive itself, or is
it
 related to the fact that it is formatted to NTFS format ?

NTFS does support hardlinks. (But thats a now so well-known feature.) So
it might depend on how you mount the drive.

 Is there a way to format this drive so that it can create hardlinks
(ext3?)
 and can be used for backups again ?  It's a 1TB drive and I'd hate to have
 to buy another drive.

I'm not sure whether you can reformat it. If it's just USB-attached,
then yes, just go ahead. If it's some sort of NAS, it depends on the
device.

You could always create some huge container file and create an ext3
filesystem within that. Performance won't be great, but it'll work.

HTH,

Tino.

-- 
What we nourish flourishes. - Was wir nähren erblüht.

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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/


No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.44/2044 - Release Date: 04/06/09
18:59:00


--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] External WD Worldbook Device

2009-03-26 Thread David Williams
All,

Up until very recently I have had BackupPC 3.0 working with my 1TB external
WD Mybook world edition device, which is connected to my LAN and which I
mount via cifs.  I recently had to upgrade my machine to a newer version on
Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.

Once I had setup installed BackupPC 3.1, mounted my backup device using cifs
and restored my configuration files I started up BackupPC only to get the
message:

Can't create a test hardlink...

And BackupPC would not start :-(  Thankfully I have been able to comment out
this check from the BackupPC program and get BackupPC up and running so that
I can restore what I need from my backup drive via the web interface.

Under BackupPC 3.0 I never had a problem performing backups and I can still
access the backups that I have from the 3.0 version.  There are no error
messages in any of the log files.  So, did something change between 3.0 and
3.1 ?  Is there a way I can check manually by creating a hardlink on the
backups partition from the shell ?  Sorry, not a Linux guru so not well up
on the commands to do this.

I did take a look through the archives but nothing jumped out to me as to
the problem.  I would assume that since backups were working just fine with
3.0 that they should be fine in 3.1 and that my external drive is ok?

Would appreciate any help as I'd like to get my backups up and running
again.

I did do a df -i and got the following output:

FilesystemInodes   IUsed   IFree IUse% Mounted on
//192.168.15.6/public
116M1.7M115M2% /backups

Regards,




attachment: winmail.dat--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
It is connect via RJ45 to my router. 


David Williams


_
From: Chris Baker [mailto:cba...@intera.com] 
Sent: Thursday, March 26, 2009 10:30 AM
To: 'General list for user discussion, questions and support'
Subject: Re: [BackupPC-users] External WD Worldbook Device



How does your Mybook connect to your machine? Is it USB, Firewire, or eSATA?


Chris Baker -- cba...@intera.com
systems administrator
INTERA -- 512-425-2006


_ 
From:   David Williams [mailto:dwilli...@dtw-consulting.com] 
Sent:   Thursday, March 26, 2009 9:03 AM
To: backuppc-users@lists.sourceforge.net
Subject:[BackupPC-users] External WD Worldbook Device

All,

Up until very recently I have had BackupPC 3.0 working with my 1TB external
WD Mybook world edition device, which is connected to my LAN and which I
mount via cifs.  I recently had to upgrade my machine to a newer version on
Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.

Once I had setup installed BackupPC 3.1, mounted my backup device using cifs
and restored my configuration files I started up BackupPC only to get the
message:

Can't create a test hardlink...

And BackupPC would not start :-(  Thankfully I have been able to comment out
this check from the BackupPC program and get BackupPC up and running so that
I can restore what I need from my backup drive via the web interface.

Under BackupPC 3.0 I never had a problem performing backups and I can still
access the backups that I have from the 3.0 version.  There are no error
messages in any of the log files.  So, did something change between 3.0 and
3.1 ?  Is there a way I can check manually by creating a hardlink on the
backups partition from the shell ?  Sorry, not a Linux guru so not well up
on the commands to do this.

I did take a look through the archives but nothing jumped out to me as to
the problem.  I would assume that since backups were working just fine with
3.0 that they should be fine in 3.1 and that my external drive is ok?

Would appreciate any help as I'd like to get my backups up and running
again.

I did do a df -i and got the following output:

FilesystemInodes   IUsed   IFree IUse% Mounted on
//192.168.15.6/public
116M1.7M115M2% /backups

Regards,



  File: ATT00020.txtFile: ATT00023.txtFile: ATT00089.txt
   File: ATT00092.txt  
attachment: winmail.dat--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
Permissions seem to be fine.  User and group are showing up as backuppc.


David Williams

-Original Message-
From: Michael Harnden [mailto:m...@rochestervball.com] 
Sent: Thursday, March 26, 2009 11:35 AM
To: dwilli...@dtw-consulting.com; General list for user discussion,
questions and support
Subject: Re: [BackupPC-users] External WD Worldbook Device

Hi David,
Check your permissions on your backup folders. There is a chance that  
your new installation create your BackupPC user and group with a  
different numerical id than your previous install. If you do a ls -la  
on /backups and get a number back instead of a user/group name that is  
your problem.
Mike

Quoting David Williams dwilli...@dtw-consulting.com:

 All,

 Up until very recently I have had BackupPC 3.0 working with my 1TB
external
 WD Mybook world edition device, which is connected to my LAN and which I
 mount via cifs.  I recently had to upgrade my machine to a newer version
on
 Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.

 Once I had setup installed BackupPC 3.1, mounted my backup device using
cifs
 and restored my configuration files I started up BackupPC only to get the
 message:

 Can't create a test hardlink...

 And BackupPC would not start :-(  Thankfully I have been able to comment
out
 this check from the BackupPC program and get BackupPC up and running so
that
 I can restore what I need from my backup drive via the web interface.

 Under BackupPC 3.0 I never had a problem performing backups and I can
still
 access the backups that I have from the 3.0 version.  There are no error
 messages in any of the log files.  So, did something change between 3.0
and
 3.1 ?  Is there a way I can check manually by creating a hardlink on the
 backups partition from the shell ?  Sorry, not a Linux guru so not well up
 on the commands to do this.

 I did take a look through the archives but nothing jumped out to me as to
 the problem.  I would assume that since backups were working just fine
with
 3.0 that they should be fine in 3.1 and that my external drive is ok?

 Would appreciate any help as I'd like to get my backups up and running
 again.

 I did do a df -i and got the following output:

 FilesystemInodes   IUsed   IFree IUse% Mounted on
 //192.168.15.6/public
 116M1.7M115M2% /backups

 Regards,
 








No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09
06:52:00


--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
I'm not sure what the filesystem is.  I suspect it is NTFS.  I guess
whatever these drives come as.

I did try what Tino suggested and this is what happened:

[r...@dtwconsulting backups]# echo hello  testfile
[r...@dtwconsulting backups]# ln testfile linkedfile
ln: creating hard link `linkedfile' = `testfile': No such file or directory

So yes, does look like there is a problem.

I have checked my previous backups and don't see any errors though, and I
was able to restore some of the files !

Is there a way that I can reformat this drive to ext3 ?  Is it even possible
to format the drive from linux when it is mounted as cifs ?

David Williams


-Original Message-
From: Nils Breunese (Lemonbit) [mailto:n...@lemonbit.com] 
Sent: Thursday, March 26, 2009 11:51 AM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] External WD Worldbook Device

Tino Schwarze wrote:

 On Thu, Mar 26, 2009 at 10:03:03AM -0400, David Williams wrote:
 All,

 Up until very recently I have had BackupPC 3.0 working with my 1TB  
 external
 WD Mybook world edition device, which is connected to my LAN and  
 which I
 mount via cifs.  I recently had to upgrade my machine to a newer  
 version on
 Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.

 Once I had setup installed BackupPC 3.1, mounted my backup device  
 using cifs
 and restored my configuration files I started up BackupPC only to  
 get the
 message:

 Can't create a test hardlink...

 I'm not sure whether CIFS supports hardlinks.

I believe CIFS does, but the underlying file system may not. What is  
the file system on the drive? It might be that hardlinks never worked  
and that the check was only added in 3.1.

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/


No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09
06:52:00


--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
The top level directory is mounted to /backups

There is no symlinking going on.  I have changed the appropriate config to
point to /backups.  This has been working like this for a few years now.


David Williams


-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, March 26, 2009 12:15 PM
To: dwilli...@dtw-consulting.com; General list for user discussion,
questions and support
Subject: Re: [BackupPC-users] External WD Worldbook Device

David Williams wrote:
 Permissions seem to be fine.  User and group are showing up as backuppc.

Is the top level directory symlinked or mounted where the packaged 
backuppc install expects it?

-- 
   Les Mikesell
lesmikes...@gmail.com




No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09
06:52:00


--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
Tino,

Thanks for the info.  I will look into whether or not the drive can be
mounted as NFS.  I've never had to do that so will have to look into what it
will take to perform that.


David Williams


-Original Message-
From: Tino Schwarze [mailto:backuppc.li...@tisc.de] 
Sent: Thursday, March 26, 2009 12:53 PM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] External WD Worldbook Device

Hi David,

On Thu, Mar 26, 2009 at 12:02:16PM -0400, David Williams wrote:
 I'm not sure what the filesystem is.  I suspect it is NTFS.  I guess
 whatever these drives come as.
 
 I did try what Tino suggested and this is what happened:
 
 [r...@dtwconsulting backups]# echo hello  testfile
 [r...@dtwconsulting backups]# ln testfile linkedfile
 ln: creating hard link `linkedfile' = `testfile': No such file or
directory
 
 So yes, does look like there is a problem.
 
 I have checked my previous backups and don't see any errors though, and I
 was able to restore some of the files !
 
 Is there a way that I can reformat this drive to ext3 ?  Is it even
possible
 to format the drive from linux when it is mounted as cifs ?

Not directly since you use the drive as a NAS, therefore you access it
via some network protocol. Does it support NFS? If so, try using that
and perform the above test.

A not-so-nice solution would be to create an x GB file and format that
with whatever unix filesystem you like.

It would work roughly like this (for a 10 GB volume):

dd if=/dev/zero of=/backups/backuppc-volume bs=1M count=10240

mke2fs -m 1 -j /backups/backuppc-volume

mount -o loop,noatima,nodiratime /backups/backuppc-volume /var/lib/backuppc

If you run out of space on the volume later, you may resize it by
growing the file first (be careful!), then resizing the file system.

I suppose, performance is not an issue for you - it may be pretty
slow...

I wonder how you managed to do backups the first time, though... you
only upgraded your server? Then there must have been a way to create
links or BackupPC would have complained a lot.

HTH,

Tino.

-- 
What we nourish flourishes. - Was wir nähren erblüht.

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de


--
___
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: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09
06:52:00


--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
Les,

I believe that under the Mandriva package we are allowed to change the
TopDir and it is in the config.pl file.  When I originally started Backuppc
it was complaining that it could not create a hardlink under
/backups/pc/ and /backups/cpool.  It wasn't looking at
/var/lib/backuppc.  Even with version 3.0 I had TopDir set to /backups and
backups were being created under /backups.

Perhaps it has been 'failing', but I had valid backups that I have restored
from.  Whether it was wasting space I don't know, perhaps it was.  Also,
even though I cannot currently do backups I can restore from existing
backups and the restore is coming from /backups.  Based upon that I would
say that the Mandriva package allows the change of the TopDir.

David Williams


-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, March 26, 2009 1:00 PM
To: dwilli...@dtw-consulting.com; General list for user discussion,
questions and support
Subject: Re: [BackupPC-users] External WD Worldbook Device

David Williams wrote:
 The top level directory is mounted to /backups
 
 There is no symlinking going on.  I have changed the appropriate config to
 point to /backups.

You can't change the location in the config in pre-packaged versions. 
There have been about a million discussions on this list about that 
issue.  If you get the original package from sourceforge and install 
yourself, you have a chance to pick the location.  In the RPM and deb 
packaged versions included in distributions, someone has already made 
that choice and you can't change it.

  This has been working like this for a few years now.

Or failing... The older version just didn't test.  You'll end up with 
working backup copies but no pooling if the links don't work so it 
wastes a lot of space.

-- 
   Les Mikesell
lesmikes...@gmail.com



No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09
06:52:00


--
___
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] SMB, NAS and Backuppc

2008-03-20 Thread David Williams (DTW Consulting)
You should be able to use fstab to do this also. I did for a 1TB WD drive that sounds very similar and I had the same problem with permissions. Putting a line in fstab and using cifs with uid and gid = backuppc did the trick.In my case, this WD drive is painfully slow and only backs up at a rate of 2MB/sec and a full back up takes about 15 hours :( Not sure why this is so slow, maybe that's just what happens when backing up to a cifs mount? Don't know.The WD drive is formatted as a NTFS partition (if I remember correctly). Wish there was a way to format is a linux partition but I don't think there is.
Dave Williams

 Original Message 
Subject: Re: [BackupPC-users] SMB, NAS and Backuppc
From: Ronnie Gilkey [EMAIL PROTECTED]
Date: Thu, March 20, 2008 12:12 pm
To: Ashley Paul James [EMAIL PROTECTED],
backuppc-users@lists.sourceforge.net

  Ashley Paul James wrote:Hi all,   I just signed on the mailing list, so hello to all.   I've been battling with an issue for over a week now, so I am pretty exhausted from doing the same thing everyday. Its for a client so they need a backup done. It could be a simple fix, something I have missed after looking at the same problem day in/day out. Im hoping some person out there can help me.   First of the backupPC server is a vmdk running on ESX, though the fact that its ESX should not matter. The backupserver is on a private 192 network along with 3 clients using a 2nd interface. The NAS drive is a LaCie Big Ethernet Disk (1T
 B) with a 192.168.10.x IP with a username and share name call backuppc. SMB is being used to connect to the share as the LaCie will only use SMB for linux. (CIFS to) The NAS drive is formatted as xfs and cannot be changed. To connect to the GUI I run a ssh tunnel.   I have mounted the NAS drive using the below cmd in fstab on the backupserver.//192.168.10.x/backuppc /mnt/net-storage   smbfs  rw,uid=105,umask=666,username=backuppc,password=backuppc,auto 00   The drive mounts perfectly. I have tried it with out the uid and umask and it works fine. (I added these in as a last effort).   The basic trouble is BackupPC cannot write to the NAS drive as user backup
 pc. You cannot run 'chown' any files on the NAS drive.   I have su'd to backuppc and ran the ./BackupPC_dump -v -f 192.168.10.x but receive a 'permission denied' error on creating the file structure on the NAS drive. Obviously you receive a similar error when you run a backup from the GUI I have also added backuppc to the sudo file and ran the above cmd as sudo. An error is produced informing that you must 'su backupppc' to run it. When you cd to the NAS drive you cannot create a file as user backuppc, unless you sudo backuppc first. As root you can create files on the NAS All the files on the NAS drive are owned by root.user and cannot be changed.   My research into this matter has not present many options.   Thanks all   -This SF.net email is sponsored by: MicrosoftDefy all challenges. Microsoft(R) Visual Studio 2008.http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___BackupPC-users mailing listBackupPC-users@lists.sourceforge.netList:https://lists.sourceforge.net/lists/listinfo/backuppc-usersWiki:http://backuppc.wiki.sourceforge.netProject: http://backuppc.sourceforge.net/Ashley,  You can use smbmount (or mount.cifs on newer systems). And do this:  smbmount //192.168.10.x/backuppc /mnt/storage -o username=DOMAIN\\USER,password=PASSWD,uid=backuppc,gid=backuppc  You won't be able to use fstab (that I know of), but the permissions will work.  Thanks, Ronnie Gilkey[EMAIL PROTECTED]-- Puryear Information Technology, LLCBaton Rouge, LA * 225-706-8414http://www.puryear-it.comVisit http://www.puryear-it.com/publications.htm to download your freecopies of: "Best Practices for Managing Linux and UNIX Servers" "Spam Fighting and Email Security in the 21st Century" -
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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/



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:

Re: [BackupPC-users] SMB, NAS and Backuppc

2008-03-20 Thread David Williams (DTW Consulting)
I to am using my WD NAS as a cifs mount and backuppc seems to be backing up to it just fine. I don't see any errors on the host status page.When you say archive space, you mean the location that all the backups are stored right ? If that's what you mean, then that is what I am doing.
Dave Williams

 Original Message 
Subject: Re: [BackupPC-users] SMB, NAS and Backuppc
From: Les Mikesell [EMAIL PROTECTED]
Date: Thu, March 20, 2008 2:03 pm
To: Ashley Paul James [EMAIL PROTECTED]
Cc: backuppc-users@lists.sourceforge.net

Ashley Paul James wrote:
 Ronnie
 
 Wow, that worked like a charm. One of three client servers are currently 
 backing up now, with no 'permission denied' errors. I am pretty excited 
 and  i can now move on to building a trixbox server.
 
 In retrospect the solution you suggested makes sense, my cmd line had 
 incorrect syntax. A fellow worker suggested i place the command in the 
 rc.local file. So the drive will mount upon reboot.
 

Are you trying to use a smb/cifs mounted filesystem as the archive space 
for backuppc?  I wouldn't expect that to work since backuppc needs to be 
able to make hard links to the pool area.  Be sure to check your log 
files for link errors.

-- 
   Les Mikesell
lesmikesell@gmail.com

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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/



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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] Problems starting backuppc under Mandriva 2008

2008-01-15 Thread David Williams
Craig,

I took a look at XferLOG.bad.z file and I couldn't see any errors from tar
at all.  I'm assuming that the errors would be at the end of the file.  At
the time the error occurred it was backing up /music.  This mount point
contains 9351 files.  Would that cause a problem ?  Would it be better to
break out this mount point with different sub-directories ?

Regards,

David Williams
 
-Original Message-
From: Craig Barratt [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 14, 2008 9:47 PM
To: David Williams
Cc: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Problems starting backuppc under Mandriva 2008


David writes:

 Well, all was going well, but almost 3 hours into my backup I get the
 following error:
 
 2008-01-14 13:23:06 Got fatal error during xfer (Tar exited with error 512
 () status)
 2008-01-14 13:23:11 Backup aborted (Tar exited with error 512 () status)

Look in the XferLOG.bad file to see what the error from tar is.

Craig


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.2/1223 - Release Date: 1/13/2008
8:23 PM
 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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] Problems starting backuppc under Mandriva 2008

2008-01-14 Thread David Williams
Well, all was going well, but almost 3 hours into my backup I get the
following error:

2008-01-14 13:23:06 Got fatal error during xfer (Tar exited with error 512
() status)
2008-01-14 13:23:11 Backup aborted (Tar exited with error 512 () status)

Regards,

David Williams
 

-Original Message-
From: David Williams [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 14, 2008 10:27 AM
To: 'Craig Barratt'
Subject: RE: [BackupPC-users] Problems starting backuppc under Mandriva 2008


Thanks Craig,

That did the trick just great :)

Regards,

David Williams
 

-Original Message-
From: Craig Barratt [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 14, 2008 9:14 AM
To: David Williams
Subject: Re: [BackupPC-users] Problems starting backuppc under Mandriva 2008


David writes:

 Here's the file.

Thanks.  It looks like there are 5 extraneous lines starting
at line 134 that should be deleted:

  } else {
  $paths = {
ConfDir= $confDir eq  ? '__CONFDIR__' : $confDir,
LogDir = '/var/log/BackupPC',
};

Somehow this file got trashed in this distro.

Craig


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.19.2/1223 - Release Date: 1/13/2008
8:23 PM
 


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
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] Problems starting backuppc under Mandriva 2008

2008-01-10 Thread David Williams
I am the only one with this issue then ?  Is this something I need to take
up with Mandriva ?

 

Regards,



David Williams

 

From: David Williams [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 09, 2008 11:45 AM
To: 'backuppc-users@lists.sourceforge.net'
Subject: Problems starting backuppc under Mandriva 2008

 

All,

 

I tried to go onto sourceforge and do a search but kept getting an error
message saying Unable to connect to Search Server.

 

I've had backuppc installed for quite a while and recently noticed that it
wasn't running.  When I went to start the service I got the following
messages:

 

./backuppc start

Starting backuppcsyntax error at /usr/share/backuppc/lib/BackupPC/Lib.pm
line 139, near } else

Compilation failed in require at /usr/share/backuppc/bin/BackupPC line 60.

BEGIN failed--compilation aborted at /usr/share/backuppc/bin/BackupPC line
60.

[FAILED]

 

I've no idea what's going on.  Looks like backuppc was upgraded to 3.1.0
from the Mandriva sources a while go.  Not sure if this is a problem with
the Mandriva package or something else.  I've put a not on the Mandriva
forum too, but that might take a while before I get a response.  Worst case
is I will uninstall the package from Mandriva and install backuppc from
source.

 

Any help would be much appreciated J

 

Regards,



David Williams

 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
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] Problems starting backuppc under Mandriva 2008

2008-01-09 Thread David Williams
All,

 

I tried to go onto sourceforge and do a search but kept getting an error
message saying Unable to connect to Search Server.

 

I've had backuppc installed for quite a while and recently noticed that it
wasn't running.  When I went to start the service I got the following
messages:

 

./backuppc start

Starting backuppcsyntax error at /usr/share/backuppc/lib/BackupPC/Lib.pm
line 139, near } else

Compilation failed in require at /usr/share/backuppc/bin/BackupPC line 60.

BEGIN failed--compilation aborted at /usr/share/backuppc/bin/BackupPC line
60.

[FAILED]

 

I've no idea what's going on.  Looks like backuppc was upgraded to 3.1.0
from the Mandriva sources a while go.  Not sure if this is a problem with
the Mandriva package or something else.  I've put a not on the Mandriva
forum too, but that might take a while before I get a response.  Worst case
is I will uninstall the package from Mandriva and install backuppc from
source.

 

Any help would be much appreciated J

 

Regards,



David Williams

 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
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] Clearing old backups

2007-05-23 Thread David Williams
Yes, that is probably it.  I don't think my files change that much.

Thanks for the speedy responses :)

David Williams
 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carl
Wilhelm Soderstrom
Sent: Wednesday, May 23, 2007 2:40 PM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Clearing old backups

On 05/23 01:00 , David Williams wrote:
 I seem to be having a problem with space being cleared when old backups
are
 removed.  For example, I just changed my config files for the 2 hosts I am
 backing up to only keep 2 full backups (instead of 3) and 6 incremental
 backups (instead of 14).  When backuppc ran last night I can see in the
log
 files that it removed/cleared a bunch of incremental and full backs and I
 can also see that those directories are gone from my backup hard drive.
 However, when I do a df it still shows that my backup drive is 91% full L
 I've some postings on this before and I thought that this removing of
 incremental and full backups would regain some space.

If your files aren't changing that much (and if they're just documents and
the like, they're probably changing less than you think in terms of size
bytewise); you might not have that much space used by your incrementals.

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.7.6/815 - Release Date: 5/22/2007
3:49 PM
 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Backup Speed

2006-02-22 Thread David Williams
All,

Just looking to see if my backup speeds are in the right range or if they are a 
little slow.

My setup is as follows:

1 Linux box running Mandriva 2006.  This is my backuppc server and I am backing 
up several partitions on this box. 
Total backup size is around 65GB for a full backup.  The incrementals are about 
the same size too, which surprises me.

1 Windows box running Win XP.  The Linux box is running samba and backsup the 
windows box via samba.  A full backup is
around 40GB with the incremental being around 3 GB.

The following is what is being reported as the MB/sec

Windows: around 5 MB/s
Linux:   Between 9.5 to 10.8 MB/s

Both these boxes are on the same LAN and are both directly connected to my 
router.  The Ethernet cards are 10/100.  I
would have hoped for a faster throughput but perhaps there is a good reason for 
this?  At least on the Linux box
(since there should be no network overhead) I'm very surprised by the speed.  
The linux box is being backed up using
tar.

So, are these speeds normal are do I have the ability to get better throughput?

Also, why would the incremental backups on my Linux box be roughly the same 
size as the full backup?  Alot of the
files are music and videos and really don't change.  It's taking around 90 
minutes for a full or incremental backup.

The only other information I can add is as follows:  The drives on the Linux 
machine are SATA drives and on the
windows box I have one SATA drive and one IDE drive.

Just noticed something in the Xfer log for the Linux box which may explain why 
it's doing such a large backup for the
incremental backups:

Running: /usr/bin/sudo /bin/gtar -c -v -f - -C /var --totals 
--newer=2006-02-14\ 11:14:20 .
Xfer PIDs are now 28504,28503
/bin/gtar: Substituting 1901-12-13 15:45:52 for unknown date format 
`2006-02-14\\ 11:14:20'

Looks like there is a problem with the date format and it substituting in a 
date from over 100 years ago.

Appreciate any help.

Thanks.

___
David Williams


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/