This is an executable of 'rsync' (a Linux program) that is accompanied by the DLL of Cygwin (a software that allows Windows to run Linux things).
WARNING: If you currently have Cygwin installed or are planning on getting it, these instructions may break your Cygwin software. In that case, you must either install 'rsync' through Cygwin. Please see the other set of instructions.
make a folder named 'rsyncd' in C:
unzip the content into C:\rysncd
Located at C:\rsyncd\rsyncd.secrets
The file should look like this:
2) C:\cygwin\rsyncd.conf File
Required modification:
Find the following section:
Also find the following section in the file.
Optional Modifications.
By default, the backup software will back up practically everything in your 'C:\Documents and Settings'
folderIf you want to specify the folders to be backed up, find the following section and modify.
Note that the slash is forward (not backward). Also note that everything inside the specified folder will be backed up. However, you can exclude certain folders by specifying them on the config file on the server; you can let the administrator know what folders to be excluded. Moreover, you can only specify one path here (to specify multiple paths, see below). Here is an example,
The 'comment' should only be 1 line. It would be a good idea to write this description for future reference
Automatic Restoration - if you would like BackupPC to automatically restore files on
your computer (ie the backup server has the privilege to write to your computer), then you must
turn on this option (it's off by default). If you are planning on backing up system files so that you
can restore the system (not just the data), this may be a good idea.
Otherwise, you will have to
download the desired files/folders from BackupPC and manually restore them.
To turn on the option, find the following section and change 'true' to 'false'
Now we want to make the 'resyncd.secrets' file read-only.
C:\rsyncd\rsyncd.secrets
To do this, right click the file and choose 'Properties.'
Check where it says 'Read-Only'
Next, set up the rsync job as a service to be started at boot-up.
Click on Start --> Run
type 'cmd' and press enter. In the terminal,
Then,
*the second command is a long one liner. You must issue these commands without any misspelling.
To test to see if the above command was properly issued,
Go to Control Panel --> Administrative Tools --> Services
Find 'rsync' and click on 'start' to see if the service starts properly.
Finally, open a port for rsync in the firewall.
Control Panel --> Firewall --> Exceptions
Now the final step is to create and submit configuration files to the administrator.
cleintname.pl file
Copy and paste the following in Notepad:
Now change the bolded items; username and password.
For the '$Conf{RsyncShareName}' item, leave it as it is if you have not done the optional modification
in the 'rsyncd.conf' file (see above). But change it to 'docs' if you have.
Also change the IP address in the $Conf{ClientNameAlias} section to your IP address.
Save the above file as 'clientname.pl' where 'clientname' is the name of your computer.
You can find your computer name by:
Control panel --> System
Then send this file to the administrator and nicely ask them to place the configuration file
on the server ASAP.
Find the following section at the end of the 'rsyncd.conf' file, copy and paste it at the end of the file (so as to have duplicates of the entire section).
Then change the section name within the bracket (ie [cDrive]) for the newly created (pasted) section(s). You can change it to whatever you like, but no space please.
Modify the bolded items according to the descriptions above (note that these entries are exact copies of the main section of the rsync.conf file; they just don't have the # comments sections).
Now change the $Conf{RsyncShareName} = 'cDrive'; section of the 'clientname.pl' file to the following format.
Note that these entries are supposed to be the same as the names in [] in the rsync.conf file.
After you have heard back from the administrator, do the following to connect.
Bookmark the link below and go to it;
http://gerwick-backup.ucsd.edu/backuppc
Now a pop-up window will ask you for the username and password. These are the ones
you have placed in the configuration files.
You should see something similar to below:
Click on 'Start Full Backup' button to start your first backup. Note that this first backup will take a while. The next time you back up, it will be an 'incremental' backup and should only take seconds to a few minutes.
If you get any error messages, let the administrator know of that message
To restore files / folders, simply click on 'browse backups' link on the left menu.
You should see a screen like above.
Then click the checkboxes next to the files and folders you want to restore and click on 'restore selected files.'
Once you click on 'restore selected files,' a screen like the below should show up. There are 3 options to what to do with the files / folders you've selected.
Option 1 will write the backed up files / folders to your harddrive (if the same file is there, it will overwrite).
Option 2 and 3 will archive the files / folders and let you download the archived package as .zip or .tar respectively. This feature has other potential uses than just backup / restoration; you can access the backed up files / folders from anywhere in the world!
To do a complete system restoration, follow the same direction as above for all files & folders through KNOPPIX or something equivalent