BackupPC-users

Re: [BackupPC-users] One more time

2011-02-15 09:31:48
Subject: Re: [BackupPC-users] One more time
From: "Ryan Blake" <rblake3 AT hotmail DOT com>
To: <dwilliams AT dtw-consulting DOT com>, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 15 Feb 2011 09:29:27 -0500
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 probably want to unmount with umount /mnt/test
 
* [Or whatever username you want to use to connect]
 
~Ryan

Sent: Tuesday, February 15, 2011 8:49 AM
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 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 AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/