?
Solved

Remote Offline Folder Synchronization

Posted on 2008-06-18
7
Medium Priority
?
740 Views
Last Modified: 2013-12-02
Hi there

I am trying to create a backup methodology for our remote laptop users. The idea is to use offline folder synchronization to synchronize their My Docs folder from their laptop back to our server so we have a copy in the event that their laptop crashes. This will also be available to them when they come in to the office and use a desktop but this is very infrequent.

To curve ball is that I would like the synchronization to occur without an active VPN tunnel and without the user manually initiating the sync. Ideally, the synchronization should occur similar to the way RPC over HTTP works. Is this even possible? If so, could someone guide me through it? I'm really a novice.

Thank you very much
0
Comment
Question by:saj_37uk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 22

Expert Comment

by:mcsween
ID: 21818829
1. How do you want the sync to start?
2. Will you initiate it from the head office or will it be automatic?
3. How will you make sure the user is online ie the internet?
4. Do you want to initiate a VPN tunnel for the Sync or are you looking to do it unencrypted across the internet?
0
 

Author Comment

by:saj_37uk
ID: 21818845
1) I want it to be automatic - so lets say the user is inactive for 5 minutes, the computer should automatically sync with the server.

2) It should be automatic - maybe setup in the offline folder synchronization settings in group policy

3) Yes connected via the internet. Since this is user initiated (all be it automatically by the client laptop) we don't need to worry about users being online to synch at specific times or moments

4) I would like to do it in a secure fashion - we're using HTTP over RPC for Exchange and this works very well for us because the user doesnt need to connect via a VPN. My concern about the VPN is that many of our users will not connect to the VPN because they are lazy and hence synchronization will not occur.

Thanks again for your help.
0
 
LVL 22

Accepted Solution

by:
mcsween earned 2000 total points
ID: 21818925
RSYNC is the way to go with this.  Because you are using internet bandwidth which is unpredicitable you only want to sync what has changed.  RSYNC is pretty unique where it only syncs the bits of the file that have changed, not the entire file.  So if you make a text edit to a 50MB powerpoint presentation it only has to replicate the 15k you changed.  I use it on my network to sync between remote workstations in the field.  I do not use SSH since all my clients are behind hardware IPSEC VPNs.

Have a look at this website...

http://troy.jdmz.net/rsync/index.html

1. Instead of using CROND to schedule the jobs use task manager.  You can deploy a GPO to schedule the tasks or even a simple script using the AT command.

2. You will not need a linux server to do this.  Just install Cygwin tools on the server you want your clients to store their files in.  RSYNCD and SSHD are options you can select during the install.  Check this website for more info... http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html
It doesn't talk about RSYNCD but you can get info on that here...
http://everythinglinux.org/rsync/
More info on RSYNC and XP here...
http://www.gaztronics.net/rsync.php

I'm sure you can find a way to automate a msi package and deploy cygwin and rsync to your clients via AD.  There are no registry settings, only path settings and those can be easily scripted in VB.

Here are 2 free MSI packagers for this...
http://dennisbareis.com/makemsi.htm
http://www.attachmate.com/Products/PC+Lifecycle+Management/

All docs you find for SSHD or RSYNC will apply to you.

0
How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

 
LVL 22

Expert Comment

by:mcsween
ID: 21818928
oh yeah, i forgot to mention it's all free
0
 

Author Comment

by:saj_37uk
ID: 21841069
Hi Mcsween

I'm having a little trouble setting this up. From everything that I have read, my understanding is as follows:

1) Setup SSH on Windows server
2) Setup Rsync on the Windows server
3) Somehow get SSH to work without asking for a password using a public key - i can't seem to get this to work
4) Create a NAT from an external IP address to the Rsync server with port 27 open
5) Install cygwin on the remote client with the same installation options as the server, just dont configure it
6) Use a batch file containing the necessary commands and the task scheduler to execute the sync every hour (or whatever interval).

My only concern here is that I am trying to syncronize the My Documents folder, and as I understand everything I have read, the files need to be in the folder c:\cygwin for me to rsync them. Is this correct? How would I get out of the c:\cygwin folder and access c:\Documents and Settings\$User\... folder?

Thanks!
Sajjad
0
 

Author Comment

by:saj_37uk
ID: 21841072
Oh and another question, do the files have to be stored in the c:\cgywin folder on the server? Is there anyway I can specificy that I want the files stores in: c:\profiles\MyDocs$\$USERNAME$\ folder?

Thanks
0
 
LVL 22

Assisted Solution

by:mcsween
mcsween earned 2000 total points
ID: 21846829
When you open a cygwin prompt in Windows you can refrence your local filesystem through the cygdrive folder.  For example

c:\ = /cygdrive/c
d:\ = /cygdrive/d
etc...

This link will help you with setting up a public key for SSH.
http://www.joomlawebserver.com/freebsd/remote-access/05.-setting-up-ssh-on-cygwin-client-and-se.html
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question