Re: [BackupPC-users] Problems getting Samba connection to work - XP

2006-12-05 Thread Craig Barratt
Eric writes:

> I did notice that there was no compression of files even though
> compression was set to default 3. This may be a misunderstanding
> on my part of how BackupPC works (maybe compression only works
> using tar or rsync, I don't know).

If you haven't installed Compress::Zlib then compression won't
happen.  Unlike 2.x, in 3.0.0 it is a fatal error to specify
compression without Compress::Zlib being available.

Look at the bottom of the host summary to see whether the
files were compressed.

Note that when you browse a backup with the CGI interface the
files appear uncompressed whether or not they are really
compressed.

Craig

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems getting Samba connection to work - XP

2006-12-05 Thread Eric Snyder
The XP machine is messed up. It is XP pro but I do not have a "Folder
Options" in my control panel or in Windows Explorer in order to turn off
simple file sharing. I confirmed that the current user was a member of the
Administrator group. What I did is go in and create a new Admin user and
that new user had the Folder Options. I used the new Admin user to turn off
simple file sharing and then deleted the C$ share. I then rebooted and the
C$ share gets reestablished either on a reboot or a start/restart of
"server" in services.

After I did all this I could connect to the C$ share. This is not a BackupPC
or Samba issue. Last night I did a full backup of C$ and this morning I saw
that it took over 600 minutes to get over 30 GB backed up. I did notice that
there was no compression of files even though compression was set to default
3. This may be a misunderstanding on my part of how BackupPC works (maybe
compression only works using tar or rsync, I don't know). I will play with
that for a while to gain an understanding before posting here.

I will be chasing the C$ share/Folder Options issue on a Windows forum
somewhere.

Thanks for all your help! BackupPC is awesome!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam
Goryachev
Sent: Monday, December 04, 2006 8:39 PM
To: Backuppc-Users (E-mail)
Subject: Re: [BackupPC-users] Problems getting Samba connection to work - XP

Eric Snyder wrote:
> Yes, I created a user called "backup" and they are a member of the 
> backup operators group. I gave that user a password. I am not escaping 
> the $ but use a command similar to what you show below and get 
> "NT_STATUS_ACCESS_DENIED". Again, If I change the command from 
> "/usr/bin/smbclient gandolf\\C$ -U backup" to "/usr/bin/smbclient 
> gandolf\\Eric -U backup" it connects to the Eric folder just fine.
Just a thought, have you tried:
/usr/bin/smbclient gandolf\\C\$ -U backup

Regards,
Adam

-- 

Adam Goryachev
Website Managers
Ph: +61 2 8304 [EMAIL PROTECTED]
Fax: +61 2 8304 0001www.websitemanagers.com.au


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems getting Samba connection to work - XP

2006-12-04 Thread Adam Goryachev
Eric Snyder wrote:
> Yes, I created a user called "backup" and they are a member of the 
> backup operators group. I gave that user a password. I am not escaping 
> the $ but use a command similar to what you show below and get 
> "NT_STATUS_ACCESS_DENIED". Again, If I change the command from 
> "/usr/bin/smbclient gandolf\\C$ -U backup" to "/usr/bin/smbclient 
> gandolf\\Eric -U backup" it connects to the Eric folder just fine.
Just a thought, have you tried:
/usr/bin/smbclient gandolf\\C\$ -U backup

Regards,
Adam

-- 
Adam Goryachev
Website Managers
Ph: +61 2 8304 [EMAIL PROTECTED]
Fax: +61 2 8304 0001www.websitemanagers.com.au


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems getting Samba connection to work - XP

2006-12-04 Thread Jason Hughes
Quickly try making "backup" an administrator and re-run the smbclient 
command.  If it's a permission thing, this will solve it for sure.  (In 
which case, you'll have to figure out what permission Backup Operators 
lack... perhaps access for C$ has been restricted or broken.  You could 
try deleting C$ share and rebooting.  Or you might find this helpful.  
http://support.microsoft.com/kb/314984)


If being an administrator doesn't help, try using the actual 
administrator user to access C$.  If that doesn't work, there's got to 
be something wrong with the share, especially if other shares work.  I'm 
no SMB guru, though.


JH

Eric Snyder wrote:
Yes, I created a user called "backup" and they are a member of the 
backup operators group. I gave that user a password. I am not escaping 
the $ but use a command similar to what you show below and get 
"NT_STATUS_ACCESS_DENIED". Again, If I change the command from 
"/usr/bin/smbclient gandolf\\C$ -U backup" to "/usr/bin/smbclient 
gandolf\\Eric -U backup" it connects to the Eric folder just fine.


I don't know that much about sharing and networking but it's like the 
default share on "C" is messed up.


What next?

Jason Hughes wrote:

Eric,

You may need to do two things... Are you creating a user on the 
Windows box that is a member of the backup operators group?  You can 
either do that, or use the administrator account.  In either case, 
you will probably want to use a username that exists on the Windows 
machine that *requires a password*.  Using an account that has a 
blank password may work only for certain folders, but fail when 
accessing others, inexplicably.


Second, don't escape the $.  I just did this:
/usr/bin/smbclient dev1\\C$ -U jhughes

It worked fine.  However, if I use a username that doesn't exist on 
the windows machine, it gives NT_STATUS_ACCESS_DENIED.


Good luck,
JH

Eric Snyder wrote:
Using the following commands in a terminal su'd as backuppc the 
following commands work or don't work:

*Works:*
/usr/bin/smbclient -L gandolf\\ -U backuppc
This produces a list of shares on the XP machine gandolf.

*Also Works:*
/usr/bin/smbclient gandolf\\Eric -U backuppc
This connect ti the share Eric on the XP machine gandolf.

*But does not work (frustrated Gr):*
/usr/bin/smbclient gandolf\\C/$ -U backuppc
Gives me "NT_STATUS_BAD_NETWORK_NAME"

/usr/bin/smbclient gandolf\\C\$ -U backuppc
Gives me "NT_STATUS_ACCESS_DENIED"

How to fix?
  
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems getting Samba connection to work - XP

2006-12-04 Thread Eric Snyder
Yes, I created a user called "backup" and they are a member of the 
backup operators group. I gave that user a password. I am not escaping 
the $ but use a command similar to what you show below and get 
"NT_STATUS_ACCESS_DENIED". Again, If I change the command from 
"/usr/bin/smbclient gandolf\\C$ -U backup" to "/usr/bin/smbclient 
gandolf\\Eric -U backup" it connects to the Eric folder just fine.


I don't know that much about sharing and networking but it's like the 
default share on "C" is messed up.


What next?

Jason Hughes wrote:

Eric,

You may need to do two things... Are you creating a user on the 
Windows box that is a member of the backup operators group?  You can 
either do that, or use the administrator account.  In either case, you 
will probably want to use a username that exists on the Windows 
machine that *requires a password*.  Using an account that has a blank 
password may work only for certain folders, but fail when accessing 
others, inexplicably.


Second, don't escape the $.  I just did this:
/usr/bin/smbclient dev1\\C$ -U jhughes

It worked fine.  However, if I use a username that doesn't exist on 
the windows machine, it gives NT_STATUS_ACCESS_DENIED.


Good luck,
JH

Eric Snyder wrote:
Using the following commands in a terminal su'd as backuppc the 
following commands work or don't work:

*Works:*
/usr/bin/smbclient -L gandolf\\ -U backuppc
This produces a list of shares on the XP machine gandolf.

*Also Works:*
/usr/bin/smbclient gandolf\\Eric -U backuppc
This connect ti the share Eric on the XP machine gandolf.

*But does not work (frustrated Gr):*
/usr/bin/smbclient gandolf\\C/$ -U backuppc
Gives me "NT_STATUS_BAD_NETWORK_NAME"

/usr/bin/smbclient gandolf\\C\$ -U backuppc
Gives me "NT_STATUS_ACCESS_DENIED"

How to fix?
  
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems getting Samba connection to work - XP

2006-12-04 Thread Jason Hughes

Eric,

You may need to do two things... Are you creating a user on the Windows 
box that is a member of the backup operators group?  You can either do 
that, or use the administrator account.  In either case, you will 
probably want to use a username that exists on the Windows machine that 
*requires a password*.  Using an account that has a blank password may 
work only for certain folders, but fail when accessing others, inexplicably.


Second, don't escape the $.  I just did this:
/usr/bin/smbclient dev1\\C$ -U jhughes

It worked fine.  However, if I use a username that doesn't exist on the 
windows machine, it gives NT_STATUS_ACCESS_DENIED.


Good luck,
JH

Eric Snyder wrote:
Using the following commands in a terminal su'd as backuppc the 
following commands work or don't work:

*Works:*
/usr/bin/smbclient -L gandolf\\ -U backuppc
This produces a list of shares on the XP machine gandolf.

*Also Works:*
/usr/bin/smbclient gandolf\\Eric -U backuppc
This connect ti the share Eric on the XP machine gandolf.

*But does not work (frustrated Gr):*
/usr/bin/smbclient gandolf\\C/$ -U backuppc
Gives me "NT_STATUS_BAD_NETWORK_NAME"

/usr/bin/smbclient gandolf\\C\$ -U backuppc
Gives me "NT_STATUS_ACCESS_DENIED"

How to fix?
  
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems getting Samba connection to work - XP

2006-12-03 Thread Les Mikesell
On Sun, 2006-12-03 at 15:02, Eric Snyder wrote:

> In windows I have added a user named "backup" and have added them to
> the built in "Backup Operators" group. I tried to connect using the
> terminal from my linux machine and still could not. I added the backup
> user to the password file using smbpasswd. I gave that user the same
> passwd that I gave it when I added them as a user on the Windows box.
> I still cannot connect to gandolf/C or gandolf/C$.

Smbclient uses some of the settings in /etc/samba/smb.conf that
you might expect to only apply to the server.  You may need
to set the "workgroup" to match your domain and
"password server" to the domain controller.

-- 
  Les Mikesell
   [EMAIL PROTECTED]



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems getting Samba connection to work - XP

2006-12-03 Thread Eric Snyder

I have found the following in the documentation:

All Windows NT based OS (NT, 2000, XP Pro), are configured by default to 
share the entire C drive as C$. This is a special share used for various 
administration functions, one of which is to grant access to backup 
operators. All you need to do is create a new domain user, specifically 
for backup. Then add the new backup user to the built in ``Backup 
Operators'' group. You now have backup capability for any directory on 
any computer in the domain in one easy step. This avoids using 
administrator accounts and only grants permission to do exactly what you 
want for the given user, i.e.: backup. Also, for additional security, 
you may wish to deny the ability for this user to logon to computers in 
the default domain policy.


In windows I have added a user named "backup" and have added them to the 
built in "Backup Operators" group. I tried to connect using the terminal 
from my linux machine and still could not. I added the backup user to 
the password file using smbpasswd. I gave that user the same passwd that 
I gave it when I added them as a user on the Windows box. I still cannot 
connect to gandolf/C or gandolf/C$.



Eric Snyder wrote:
I have successfully backed up my localhost machine that BackupPC is 
installed on so I know that it is working. I cannot connect to an XP 
machine using Samba as transfer method. I have searched and searched 
and cannot find what I need.


Using the following commands in a terminal su'd as backuppc the 
following commands work or don't work:

*Works:*
/usr/bin/smbclient -L gandolf\\ -U backuppc
This produces a list of shares on the XP machine gandolf.

*Also Works:*
/usr/bin/smbclient gandolf\\Eric -U backuppc
This connect ti the share Eric on the XP machine gandolf.

*But does not work (frustrated Gr):*
/usr/bin/smbclient gandolf\\C/$ -U backuppc
Gives me "NT_STATUS_BAD_NETWORK_NAME"

/usr/bin/smbclient gandolf\\C\$ -U backuppc
Gives me "NT_STATUS_ACCESS_DENIED"

How to fix?

Thanks,
Eric



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
  
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems getting Samba connection to work - XP

2006-12-03 Thread Eric Snyder

Addition...
I can connect to a specific share (Eric) on gandolf like this:
/usr/bin/smbclient gandolf\\Eric -U backuppc

When I list the shares on gandolf by using
/usr/bin/smbclient -Lgandolf -U backuppc
both Eric and C$ show up.
It seems that when I try to connect to C$ that is when I run into the 
problem.


What I am trying to do is to be able to add a host nae to the hosts file 
and have BackupPC backup everything that is shared on that Windows host 
without specifically calling out each share in the config file for that 
host. Possible?


Eric Snyder wrote:
I have successfully backed up my localhost machine that BackupPC is 
installed on so I know that it is working. I cannot connect to an XP 
machine using Samba as transfer method. I have searched and searched 
and cannot find what I need.


Using the following commands in a terminal su'd as backuppc the 
following commands work or don't work:

*Works:*
/usr/bin/smbclient -L gandolf\\ -U backuppc
This produces a list of shares on the XP machine gandolf.

*Also Works:*
/usr/bin/smbclient gandolf\\Eric -U backuppc
This connect ti the share Eric on the XP machine gandolf.

*But does not work (frustrated Gr):*
/usr/bin/smbclient gandolf\\C/$ -U backuppc
Gives me "NT_STATUS_BAD_NETWORK_NAME"

/usr/bin/smbclient gandolf\\C\$ -U backuppc
Gives me "NT_STATUS_ACCESS_DENIED"

How to fix?

Thanks,
Eric



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
  
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Problems getting Samba connection to work - XP

2006-12-02 Thread Eric Snyder
I have successfully backed up my localhost machine that BackupPC is 
installed on so I know that it is working. I cannot connect to an XP 
machine using Samba as transfer method. I have searched and searched and 
cannot find what I need.


Using the following commands in a terminal su'd as backuppc the 
following commands work or don't work:

*Works:*
/usr/bin/smbclient -L gandolf\\ -U backuppc
This produces a list of shares on the XP machine gandolf.

*Also Works:*
/usr/bin/smbclient gandolf\\Eric -U backuppc
This connect ti the share Eric on the XP machine gandolf.

*But does not work (frustrated Gr):*
/usr/bin/smbclient gandolf\\C/$ -U backuppc
Gives me "NT_STATUS_BAD_NETWORK_NAME"

/usr/bin/smbclient gandolf\\C\$ -U backuppc
Gives me "NT_STATUS_ACCESS_DENIED"

How to fix?

Thanks,
Eric

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/