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.
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

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 26

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 26

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 26

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

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

Question has a verified solution.

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

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Each year, investment in cloud platforms grows more than 20% ( as an increasing number of companies begin to…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

738 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