HI Tim,

I don't know what to tell you ... I just quickly set up and backed-up a few
folders on Windows 2012R2.  Can you browser the hidden share directly via
smbclient on the BPC box?

My old notes revealed the following registry tweaks (we jumped from XP-8,
so didn't apply):

Issues
======
1. Winexe blocked by Windows "simple file sharing" mode

Some versions of Windows operate in so-called "simple file sharing" mode.
In this mode, when an attempt is made to access the system over the
network using credentials that are local to that server or client,
Windows will only provide guest level access.

To fix, you have to set the "Network Access: Sharing and security model
for local accounts" to "Classic – local users authenticate as themselves".
Access it via Start > Run > secpol.msc > Local Policies > Security Options,
and change "Network Access: Sharing and security model for local accounts"
to "Classic - local users authenticate as themselves".

Ref: 
http://itbin.blogspot.com/2010/10/psexec-logon-failure-and-access-denied.html

2. Winexe blocked by Windows Remote User Account Control

The LocalAccountTokenFilterPolicy setting affects how administrator
credentials are applied to remotely administer the computer.

To use winexe with a Windows Vista or Windows 7 machine it is
necessary to configure a registry setting as follows.

Click on the Windows "Start" icon, enter "cmd" and then press
CTRL-SHIFT-ENTER. In the console window that subsequently opens, enter
the following command.

  reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\system"
/v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

Ref: http://support.microsoft.com/kb/942817



Kris Lou
[email protected]

On Tue, Dec 15, 2015 at 12:48 PM, Timothy J Massey <[email protected]>
wrote:

> Hello!
>
> Just a quick writeup:  the latest version (1.3.4) of the BackupPC "client"
> as assembled by Michael Stowe (http://www.michaelstowe.com/backuppc/ ) is
> working well for me.  This includes multi-drive systems!  Thank you again
> Michael for your efforts on this:  it is really appreciated.
>
> I have found only one issue with the package:  if you use an
> authentication name other than Administrator during the install,
> rsyncd.conf is not updated to reflect that.  You have to modify it by hand.
>
> As for using it with Windows Server beyond 2008 (including 2008R2):  I
> have yet to make this work.  When I use either the winexe commonly
> available for CentOS 6 (that's version 1.0) or a custom-compiled version
> that was given to me (that's version 1.1) I get the same error:  ERROR:
> Failed to open connection - NT_STATUS_OBJECT_NAME_NOT_FOUND
>
> This is *not* due to authentication issues or firewall issues.  It is most
> likely because of security improvements made between Server 2008 and
> 2008R2.  I've yet to figure out how to adjust these to allow winexe to
> work--any version of winexe, for that matter.
>
> For the assistance of others, here are my setup instructions.  Hopefully
> they may simplify things for you.  I will say, it's *really* nice to look
> at a Windows backup now and see zero errors...  :)
>
> Tim Massey   *Out of the Box Solutions, Inc.*
> * Creative IT Solutions Made Simple!*
> *http://www.OutOfTheBoxSolutions.com*
> <http://www.outoftheboxsolutions.com/>
> *[email protected]* <[email protected]>       22108 Harper Ave.
> St. Clair Shores, MI 48080
> Office: (800)750-4OBS (4627)
> Cell: (586)945-8796
>
>
> Start BPC Client installer (1.34)
> Accept/Next (EULA)/Next (Path:  C:\BackupPC)
>         rsync username:  backupuser
>         rsync password:  <Password>
> Install/Close
>
> (Modify C:\BackupPC\rsyncd.conf:  use write.exe from Administrator prompt)
> (Change auth users to use the rsync user you will use in the BPC-Client
> auth.file)
> auth users = backupuser
> (If you will be doing additional drives (D, E, etc.) copy entire [C]
> section and modify for D:
>         Change share from [C] to [D]
>         Change path from /B/ to /A/
>         NOTE:  You will need to use the same drive letters as is used in
> PART.CMD)
> (Save and exit)
> (If more than C:)
> (Modify C:\BackupPC\part.cmd:  use write.exe from Administrator prompt)
> (Modify SET PART= line for multiple drives:  Example:  SET PART=C: D: )
> (Modify SET MAP= line for multiple drives:  Example:  SET MAP=B: A: )
> (Save and exit)
>
> (On BackupPC Server:)
> mkdir /etc/BackupPC/pc/BPC-Client
> (extract backuppc.tar.gz to /etc/BackupPC/pc/BPC-Client)
> (Create a new file:)
> vi /etc/BackupPC/pc/BPC-Client/backuppc/auth.file
> (Paste the following:)
> domain=YOURDOMAIN
> username=YourUser
> password=<Your Password>
> (Save and exit)
> chmod 550 /etc/BackupPC/pc/BPC-Client/backuppc/auth.file
> chown root:backuppc /etc/BackupPC/pc/BPC-Client/backuppc/auth.file
>
> vi preusercmd.sh
> (Rem out and add:)
> AUTHFILE=/etc/BackupPC/pc/BPC-Client/backuppc/auth.file
> (For some reason, it can't find the "at" command for me, so add /usr/bin
> before the at command in line 9)
> (Save and exit)
>
> vi postusercmd.sh
> (Rem out and add:)
> AUTHFILE=/etc/BackupPC/pc/BPC-Client/backuppc/auth.file
> (Save and exit)
>
> (Download winexe from
> http://download.opensuse.org/repositories/home:/ahajda:/winexe/CentOS_CentOS-6/x86_64/
> NOTE:  This will not work with 2012/Win8/10!  See here:
> http://rand0m.org/2015/08/05/winexe-1-1-centos-6-and-windows-2012-r2/
> and here:
> https://www.reddit.com/r/linuxadmin/comments/2xsmge/winexe_1001_for_centos_6_x86_64/
> )
>
> yum install winexe-1.00-2.5.x86_64.rpm
> yum install at
>
> vi /etc/BackupPC/pc/hostname.pl
> (Paste the following, adding the password:)
> #
> # Backup of server via rsyncd
> #
> $Conf{XferMethod} = 'rsyncd';
> $Conf{RsyncShareName} = [
>   'C'
> ];
> $Conf{RsyncdUserName} = 'backupuser';
> $Conf{RsyncdPasswd} = '<password>';
>
> # Use BackupPC Windows Client for VSS
> $Conf{DumpPreUserCmd} =
> '/etc/BackupPC/pc/BPC-Client/backuppc/preusercmd.sh $host';
> $Conf{DumpPostUserCmd} =
> '/etc/BackupPC/pc/BPC-Client/backuppc/postusercmd.sh $host';
> (Save and exit)
>
> (NOTE:  If not using DNS)
> vi /etc/hosts
> (Add IP for new host and save and exit)
>
> vi /etc/BackupPC/hosts
> (Add new host and save and exit)
>
> From Web:
> reload config
> start backup!
>
>
>
> (Bare metal restore of Windows 7+:  http://www.goodjobsucking.com/?p=449 )
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>
------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to