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
tmas...@obscorp.com 
 
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
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/

Reply via email to