Changes

From SME Server
Jump to navigationJump to search
2 bytes added ,  01:18, 11 September 2015
Line 255: Line 255:  
I use rsync without ssh keys – to do so create a local user with sufficient rights to the directory or directories on the Windows client, then edit the file rsync.secrets to include the UserID & Password.  You then use that same UserID & Password within the configuration from the BackupPC webpage – where you chose to back-up the client with Samba, rsync etc.   
 
I use rsync without ssh keys – to do so create a local user with sufficient rights to the directory or directories on the Windows client, then edit the file rsync.secrets to include the UserID & Password.  You then use that same UserID & Password within the configuration from the BackupPC webpage – where you chose to back-up the client with Samba, rsync etc.   
 
You will have to create a “Cygwin share” on the Windows box – that is done using the rsync.conf file.  The “Cygwin share” is the name you choose within the square brackets.  My rsync.conf file with a share name of “cdocs” (after removal of all personal information of course) looks like this:
 
You will have to create a “Cygwin share” on the Windows box – that is done using the rsync.conf file.  The “Cygwin share” is the name you choose within the square brackets.  My rsync.conf file with a share name of “cdocs” (after removal of all personal information of course) looks like this:
[cdocs]
+
[cdocs]
 
     path = c:/User
 
     path = c:/User
 
     comment = c: Drive documents
 
     comment = c: Drive documents
Line 266: Line 266:     
We have share name (cdocs), path, the valid user created on the Windows client, the path to the rysnc.secrets file, an allowable host (this being the local backup server IP), modes, read only and list.  The options are mostly explained in the file – what it doesn’t show is that if you have a different version of rsync, the rsync.conf file looks a bit different.  This one is for rsync 3.0.9
 
We have share name (cdocs), path, the valid user created on the Windows client, the path to the rysnc.secrets file, an allowable host (this being the local backup server IP), modes, read only and list.  The options are mostly explained in the file – what it doesn’t show is that if you have a different version of rsync, the rsync.conf file looks a bit different.  This one is for rsync 3.0.9
[cdocs]
+
[cdocs]
 
   Path = /cygdrive/c/Users/<USERNAME>
 
   Path = /cygdrive/c/Users/<USERNAME>
 
   comment = c: User Data
 
   comment = c: User Data
11

edits

Navigation menu