Menu

Tree [fe4ce6] master /
 History

HTTPS access


File Date Author Commit
 configs 2016-10-06 Pelle Hanses Pelle Hanses [5c4189] Initial commit
 win_scripts 2016-10-06 Pelle Hanses Pelle Hanses [d9050b] New address to files
 BackupPC-Win.png 2016-10-06 Pelle Hanses Pelle Hanses [fe4ce6] Dokumentation
 BackupPC-Win.xcf 2016-10-06 Pelle Hanses Pelle Hanses [fe4ce6] Dokumentation
 Install_BackupPC_Windows.cmd 2016-10-06 Pelle Hanses Pelle Hanses [d9050b] New address to files
 LICENSE 2016-10-06 Pelle Hanses Pelle Hanses [b38a63] Documnetation
 Readme.txt 2016-10-06 Pelle Hanses Pelle Hanses [a47321] Dokumentation

Read Me

BackupPC Windows client

This contains a script file to install a working BackupPC client on
Windows. It uses Cygwin, SSHD and RsyncD.

Installation - the simple way
1. Download installations file, Install_BackupPC_Windows.cmd
2. Run the file Install_BackupPC_Windows.cmd
3. Set a password for Rsyncd user backuppc in the file rsyncd.secrets
   when it is opened in Notepad.
   This password will you use in the BackupPC config to connect via 
   Rsync to the client.
4. Last in the installation you will se some command you have to do 
   on the BackupPC server.
   These commands will put a ssh key on the client to allow user 
   backuppc to connect via SSH without password.
   su backuppc
	ssh SERVERNAME -p 2022
	# Just to create /home/backuppc folder to store keys
	ssh-copy-id -p 2022 backuppc@SERVERNAME
5. Add the client as host in BackupPC web interface
6. Xfer settings
	- XferMethod: rsyncd
	- RsyncShareName: backuppc
	- RsyncShareName: add as many RsyncShareName's you need. You have to
	  add them in rsyncd.conf to, see point .
	- RsyncdUserName: backuppc
	- RsyncdPasswd: YOUR PASSWORD from point 3.
7. Backup Settings
	- DumpPreUserCmd: $sshPath -q -x -l backuppc -p 2022 $host "/backuppc/pre-cmd.cmd"
	- DumpPostUserCmd: $sshPath -q -x -l backuppc -p 2022 $host "/backuppc/post-cmd.cmd"
8. To add more folders to backup edit the file 
   c:\cygwin\backuppc\rsyncd.conf 
   
Installation - more choices
1. Set up a folder on a http or ftp server, 
	ex http://myserver.net/files/backuppc/
2 Copy all the code from the project, 
	https://sourceforge.net/p/backuppc-windows-client/code/ci/master/tree/
   to your server/folder, point 1.
3. Edit the file Install_BackupPC_Windows.cmd,
	- line 44: "WebbServer" to your server
4. Edit the file update.sh,
	- line 47: "SCRIPT_DOWNLOAD_SERVER" to your server
	- line 48: "CONFIG_DOWNLOAD_SERVER" to your servder
5. Add folder on the http/ftp server, configs/$HOSTNAME, 
	ex ttp://myserver.net/files/backuppc/configs/SERVER01
6. Put specific rsyncd.conf files in the folder in point 6 for all your
   server. This will let them to update their rsyncd.conf file before 
   backup starts.
7. If you ad something extra in the rsyncd.conf file you have to add
   this in the webb interface under "RsyncShareName"
8. Download installations file from your server, 
	Install_BackupPC_Windows.cmd
9. Do the above "Installation - the simple way" point 2 - 7.


End
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.