Re: [BackupPC-users] One more time
2011-02-17 10:25:42
David,
You were right when you unchecked the wizard
option. I couldn't remember the verbatim message on Windows
7.
You could try a couple more things:
1. Specify the IP address instead of the hostname:
smbclient -L 192.168.15.50 -U dwilliams
2. If #1 does not work, then you will need to
check to see what version of smbclient you have. Type smbclient -V to get
version information. If it is older than 3.5.x, then you'll need
to upgrade to at least 3.5.x. After you do that, try it again and see if
it works. There is a known problem with Windows 7 working with older
versions of smbclient.
From the symptoms you mention, it sounds a lot
like the problem is one of those two mentioned above. If not, you may
contact me off-list to spare everyone else the e-mails back and forth.
But, I did feel like the above may be helpful to someone else in the
future.
~Ryan
Sent: Thursday, February 17, 2011 9:31 AM
Subject: Re: [BackupPC-users] One more time
Ryan,
Thanks again for your
help. Sharing wasn't enabled on the C drive so I changed that. I can
now mount the C drive from my Linux box.
However, the backup still fails
and the following command still fails:
smbclient -L laptop1 -U
dwilliams Enter dwilliams's password: session setup failed: SUCCESS -
0
Also, under advanced settings in Folder Options I could not find a
"Simple file sharing" option to uncheck. There is only a "Use Sharing
Wizard" which I unchecked.
So, getting closer, but still not
there.
On 2/17/2011 9:01 AM, Ryan
Blake wrote:
David,
Did you make sure you have File and Printer
sharing enabled on the computer (right click on your network device
and choose properties and look for File and Printer sharing to be
checked) and have the firewall open to allow traffic (you may even want
to temporarily disable it when doing the testing you did earlier)? Also,
I am guessing the dwilliams account is not an account from part of a
domain at work? If it is, you'll need to use username=domain\\username
(note the \\). Your other option would be to create a local admin
account on your workstation for backup and recovery. You should also
right click on your "C" drive and ensure that under the Sharing tab that the
C$ share shows up. You can do a more thorough check if you go into your
Control Panel, select "Small Icons" (top left of window), and find "Folder
Options." From there, hit the "View" tab and under "Advanced Settings,"
uncheck Simple file sharing. Now go back and check for that c$
share. It would also be a good time to see what permissions are set on
it.
Those few steps should at least get you started
towards finding your solution.
~Ryan
Sent: Thursday, February 17, 2011 8:30 AM
Subject: Re: [BackupPC-users] One more time
Can anyone help me with the samba
issue? Will also try another group thanks.
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.
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
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/
------------------------------------------------------------------------------
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/
|
------------------------------------------------------------------------------
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/
|
|
|