Backup Client

Warning: the following is just my own personal documentation that I chose to make public, may not be %100 correct or clear.

Linux host

To setup a linux host, we need to install rsync on the host. Then we need to add the backuppc user and add a password. Then add the user to  the sudos file.

Then you need to find “## Allow root”.

then add “backuppc ALL=(ALL) ALL” then

 

to save and exit.

Now go to the backuppc server to copy the ssh key to the host. For some reason, my installation of backuppc uses root instead of backuppc for the backup. This probably should be changed.

Then go to the backuppc webpage, click “edit Hosts”, click the “add: button, and enter the ip address of the host into the “host” field. Then enter “backuppc” into the user field and click save.

 

Windows host

Go to http://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.0.9.0/ and download the cygwin-rsync, then install

Go to  C:\rsyncd

Edit  rsyncd.conf

Change  auth users = UUU  to  auth users = backuppc

Change  hosts allow = 192.1.1.100, 192.1.1.101  to  hosts allow = backupsrv.com  or whatever the backuppc servers ip adress is

Set  path to equal the directory that you want backed up

Edit  rsyncd.secrets

Go to bottom

Change  #UUU:PPP  to  backuppc:password  and change password to a password

make sure that the very last line is empty

 

Go to  Control Panel\System and Security\Windows Firewall

Click on  advance settings

 

Click  Inbound Rules

 

Click  new rule

click  Port , then  next

Select  tcp , enter  873  in the Specific local port field, then hit  next

Click  allow the connection  then hit  next

Select  domain , then  Private , then  Public  and then hit  next

Name it  rsyncd  , then hit  finish

 

Click  new rule

click  Port , then  next

Select  tcp , enter  8  in the Specific local port field, then hit  next

Click  allow the connection  then hit  next

Select  domain , then  Private , then  Public  and then hit  next

Name it  rsyncd  , then hit  finish

 

 

This is because windows firewall is stupid…..

 

Right click the rule  ping , the one we just made, and the click  properties

Click tab  Protocols and Ports

Change  Protocol type  drop down to  ICMPv4

Click  Ok

 

On the Server

 

Go to  edit hosts

Click  add enter the ip address of the client into the  host  field, enter  backuppc in the user field, then hit  save

Click the drop down menu under  hosts , click on the ip address of the client

Click  edit config

Click on the  xfer  tab

Change the  XferMethod drop down to  rsyncd

Change  RsyncdUserName  to backuppc

Change  RsyncPasswd to the password that you put in the rsyncd.secrets file

add  cDrive  to the  RsyncShareName

Hit  save

Categories: Software