Restore selected files using a script from Sugarsync, SpiderOak, Dropbox, Carbonite ... or?

Posted on 2014-12-10
Last Modified: 2014-12-31
I'm working to set up a backup system with one of the mainstream online backup companies.
So, I'm looking at Sugarsync, SpiderOak, Dropbox and Carbonite.
(Any other suggestions would be appreciated).

One of the things I need to be able to do is to run a Windows batch file that will restore a file (or files) from the online backup.  
And, I need to be able to delete a file (or files) from the online backup.
Well, I guess it wouldn't have to be a batch file but that's what I'm most comfortable with and the task is pretty simple.
In the end it will be part of a process that will run hands-off using a scheduler.

Is that possible?  I don't have much experience with these services.
Question by:Fred Marshall
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
  • 2

Assisted Solution

by:Scot Halvorsen
Scot Halvorsen earned 250 total points
ID: 40492947
I am not sure about the others, however DropBox keeps a local directory synced with your files in their care. In most cases it can be found within your home directory identified by variable "HOMEPATH" (Type "set" within any dos box to see all of the default variables.) Any time you add or remove files from this directory (even if it is done on another computer), your computer will be kept up to date.

So a simple script would be able to restore your files any time you wish.

@echo off
set sourcedir=%HOMEPATH%\Dropbox\BackupDir
set destdir=c:\BackupCopy
echo Copying from %sourcedir% to %destdir%
xcopy %sourcedir% %destdir% /i
echo Finished

Open in new window

The variables "sourcedir" and "destdir" can be changed to point to the directories that you wish to copy.
LVL 26

Author Comment

by:Fred Marshall
ID: 40494424
shalvors:  Thanks!  I'd figured that much out myself as I have Dropbox installed.  I'm less familiar with using Dropbox as a backup destination.

I still wonder about the others.  There are quite a few Carbonite instances already and I'd like to be able to be a bit flexible.

Expert Comment

by:Scot Halvorsen
ID: 40494564
From what I have read online, Carbonite acts more like a traditional backup solution. Think of it like a cloud tape backup. The client software collects up all files of certain types from your "Users" directories and sends them to their storage facility. If you want something restored, you have to explicitly tell them to send the file back to you.

With this in mind, I don't think that you original requirement to delete or restore files with a batch script would be possible with Carbonite.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 26

Author Comment

by:Fred Marshall
ID: 40501356
I wonder if it matters which version of Carbonite is being used?  It appears the products vary quite a bit in terms of such capabilities.

The questions remain for SugarSync and SpiderOak (the latter I'd never heard of before....).
LVL 28

Expert Comment

by:Thomas Zucker-Scharff
ID: 40502637
I do NOT recommend the vanilla version of dropbox as a backup because it is not a true backup at all.  Spideroak is very good in terms of retention and ease of use with command line options.  I have used spideroak for years and up until several weeks ago would have recommended this as your best option.  I am currently using Crashplan as my backup option.  CrashPlanPROe is an excellent product for business (enterprise version).  We have run it locally (we have a local CP server instead of using their cloud) for a couple of years now.  I switched from spideroak to crashplan at home as well.  I am not as familiar with the command line in CP, but I do know that at work we can monitor and control virtually everything through a graphical interface, including getting various stats.

My article on why I changed from SpiderOak to CrashPlan is here:

I also wrote a basic article on backup here:

I tried sugarsync and didn't like it at all - I don't remember exactly why.  Versioning is key here.  backup without versioning is useless and a robust restore option is necessary.  I believe that CP has the best options.  Moreover, CP will allow users to do their own restores (read less of a headache for you).  Also CP allowed us to easily recover from a cryptowall infection (in less than 2 hours) due to the versioning.
LVL 26

Author Comment

by:Fred Marshall
ID: 40511912
RE: "Using a script"

So far, the list of possibilities that I've gotten here are:

I've also learned that there is a developer's interface with SugarSync that appears to offer a way to automate scripts.
LVL 28

Expert Comment

by:Thomas Zucker-Scharff
ID: 40512194
As I said above I really feel dropbox is not true backup. Scripting should be fairly easy with spideroak,  like I said I have experience work the command line in spideroak.  I imagine crashplan has a similar command line interface. Either way I have not seen the kind of versioning support that is needed in dropbox. Also note that the algorithm puts a copy of each file on the source computer, including versioning.
LVL 26

Author Comment

by:Fred Marshall
ID: 40517903
So far now I have found that scripting should be possible with:


But it's not clear if SpiderOak or SugarSync would be dealt with using Windows command prompt scripts /  .bat files??
LVL 28

Accepted Solution

Thomas Zucker-Scharff earned 250 total points
ID: 40517922
Spideroak will work fine with batch files. I suggest AutoHotkey as a better alternative though.  I am new to AHK but I have found it to be much better than batch files in most cases.

Featured Post

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as the high-speed power of the cloud.

Question has a verified solution.

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

Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
Riverbed Technology's webinar discusses networking for the cloud era with simplified SD-WAN cloud connectivity.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

728 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