Wednesday, November 14, 2012

Sugarsync - Syncing Nework Shared Data

[Nerd Scale: 2 out of 5 pocket protectors]

I spent a lot of time testing out some of the most popular Cloud File Storage software available and settled on using Sugarsync as my software of choice.   There are two main reasons why I chose Sugarsync:

(1) Unlike most of the other software, such as Dropbox, you don't have to create a separate folder to store your 'synced' data and manually drag your files to that folder.   Sugarsync works much like Carbonite backup does.  You install the software and designate which folders you wish to synchronize to the cloud.

(2) When sharing folders with other users, Sugarsync requires authentication to view the data.   There are some Cloud File Storage software out there that does not require a username and password to view shared data.   In my opinion, that is too big of a security risk.

The one thing that really bothers me about all Cloud File Storage solutions out there is their inability to synchronize network shared data.   In the real world, IT Admins tend to store USER data on servers and configure user workstations to redirect their My Documents to these network folders.   This allows IT Admins to be able to centralize storage, which makes data backup and restoration much simpler.

However, storing the data off of the workstation makes it nearly impossible to use programs like Dropbox or Sugarsync to synchronize this data.   I assume one day, Sugarsync will release a version of software that will accomplish network syncing, but until then what do you do?

Well, I came up with a solution.   By using Symbolic Links, you can get Sugarsync to sync data on a network shared drive.   There are a couple of caveats to acknowledge about this process:

(1) Sugarsync does not 'watch' a symbolic linked folder like it does regular folders.   If a new file or folder is added to the symbolic linked folder, Sugarsync does not automatically detect the new file or folder creation, which prevents the file from being synchronized.   The Sugarsync software has to be shutdown and restarted.   But once restarted, it detects the new file or folder, synchronizes it and begins watching it.   If changes are made to those files or folders, Sugarsync will synchronize them.   But if new files are created, you must repeat the process of restarting the Sugarsync software.

(2) Unlike locally stored folders, Sugarsync will not allow you to exclude files or folders from the Symbolic Linked Folder.  This means all the data within this folder will be synced.

(*UPDATE* Sugarsync has released the Beta 2.0 software and it does allow you to exclude subfolders within the Symbolic Linked Folder.)

But if you can get past these two shortcomings, you should be able to get Sugarsync to sync network shared data with very little effort.   Here is how it is done:

(1) Create a network shared folder.   In my example, I have created a folder called 'SugarSyncTest', located on my Buffalo NAS device.  The path to this folder is \\linkstation2\share\sugarsynctest

I added a TXT file and Folder to this network shared folder for testing purposes:












(2) Now, you need to create a folder on your local computer that will store the Symbolic Link.  Sugarsync will not allow you to directly add a symbolic linked folder, so the link must be a subfolder of a folder that you will have Sugarsync use.   In this case I created a folder called

C:\SugarSyncLink

(3) Open the Sugar Sync Manager software and add the folder that you created in step 2 by choosing Add Folders to SugarSync | Add More Folders and selecting the C:\SugarSyncLink folder.  This folder must be syncing with SugarSync prior to creating the symbolic link to your network data.

(with the new Beta 2.0 software, you can simply drag and drop your folder to the Sugarsync management software)

(4) After creating the local folder, you will need to create a symbolic link that connects to that share.   Start the symbolic link creation by launching the Command Prompt as Administrator:

 

 

(5) At the command prompt type this command:

 mklink /D C:\SugarSyncLink\SugarNetData \\linkstation2\share\sugarsynctest











This command makes a Directory Symbolic Link called 'SugarNetData', located in the
C:\SugarSyncLink folder, which links to the network share of \\linkstation2\share\sugarsynctest

You would change \\linkstation2... to the path of your network share.

(6) If you navigate to the C:\SugarSyncLink\SugarNetData folder and open it, you will see the contents of the \\linkstation2\share\sugarsynctest folder.

(7) If you take a look at the newly added folder in the SugarSync manager, you will notice that it doesn't contain any data.

If you close SugarSync and re-open, it will begin the synchronization of the data within the network shared data.  

Once the data is synced in Sugarsync, you can change it and those changes will automatically sync in real time.   But if any new data is added to the folder, you will have to close Sugarsync and reopen again to sync this new data.  A small price to pay to be able to synchronize network shared data.






5 comments:

  1. Nice workaround, thank you! (Symlinks work great for adding NAS folders to your Win7 Libraries too; although I'm betting you knew that already :)

    ReplyDelete
  2. Hey Ellen, sorry I missed your comment earlier. You are right symbolic links are pretty cool at getting network data to show up in your Libraries.

    ReplyDelete
  3. i do a similar thing - but with sugarsync installed on the server. it syncs the selected local folders to the cloud (which the users are accessing as shares)

    its easier to administer - and control - as only admins on the server can share folders to the outside.

    ReplyDelete
  4. Thanks for sharing Joe. Are you finding SugarSync runs reliably in a server environment? What OS is your server running?

    ReplyDelete
  5. INTERNATIONAL CONCEPT OF WORK FROM HOME
    Work from home theory is fast gaining popularity because of the freedom and flexibility that comes with it. Since one is not bound by fixed working hours, they can schedule their work at the time when they feel most productive and convenient to them. Women & Men benefit a lot from this concept of work since they can balance their home and work perfectly. People mostly find that in this situation, their productivity is higher and stress levels lower. Those who like isolation and a tranquil work environment also tend to prefer this way of working. Today, with the kind of communication networks available, millions of people worldwide are considering this option.

    Women & Men who want to be independent but cannot afford to leave their responsibilities at home aside will benefit a lot from this concept of work. It makes it easier to maintain a healthy balance between home and work. The family doesn't get neglected and you can get your work done too. You can thus effectively juggle home responsibilities with your career. Working from home is definitely a viable option but it also needs a lot of hard work and discipline. You have to make a time schedule for yourself and stick to it. There will be a time frame of course for any job you take up and you have to fulfill that project within that time frame.

    There are many things that can be done working from home. A few of them is listed below that will give you a general idea about the benefits of this concept.

    Baby-sitting
    This is the most common and highly preferred job that Women & Men like doing. Since in today's competitive world both the parents have to work they need a secure place to leave behind their children who will take care of them and parents can also relax without being worried all the time. In this job you don't require any degree or qualifications. You only have to know how to take care of children. Parents are happy to pay handsome salary and you can also earn a lot without putting too much of an effort.

    Nursery
    For those who have a garden or an open space at your disposal and are also interested in gardening can go for this method of earning money. If given proper time and efforts nursery business can flourish very well and you will earn handsomely. But just as all jobs establishing it will be a bit difficult but the end results are outstanding.

    Freelance
    Freelance can be in different wings. Either you can be a freelance reporter or a freelance photographer. You can also do designing or be in the advertising field doing project on your own. Being independent and working independently will depend on your field of work and the availability of its worth in the market. If you like doing jewellery designing you can do that at home totally independently. You can also work on freelancing as a marketing executive working from home. Wanna know more, email us on workfromhome.otr@gmail.com and we will send you information on how you can actually work as a marketing freelancer.


    Internet related work
    This is a very vast field and here sky is the limit. All you need is a computer and Internet facility. Whatever field you are into work at home is perfect match in the software field. You can match your time according to your convenience and complete whatever projects you get. To learn more about how to work from home, contact us today on workfromhome.otr@gmail.comand our team will get you started on some excellent work from home projects.


    Diet food
    Since now a days Women & Men are more conscious of the food that they eat hence they prefer to have homemade low cal food and if you can start supplying low cal food to various offices then it will be a very good source of income and not too much of efforts. You can hire a few ladies who will help you out and this can be a good business.

    Thus think over this concept and go ahead.

    ReplyDelete