Solved

Remote Offline Folder Synchronization

Posted on 2008-06-18
7
736 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
  • 4
  • 3
7 Comments
 
LVL 21

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 21

Accepted Solution

by:
mcsween earned 500 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 21

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 21

Assisted Solution

by:mcsween
mcsween earned 500 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Migrate 2003 domain controllers to 2012 18 85
document a domain users/computers 1 36
AD 20012 r2 / vmware horizon 6 37
PowerVault MD3400 Configuration 3 28
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

810 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