How To Automate Your Backup With NAS, Dropbox, Gdrive, OneDrive And Many Others

Renato Murakami

We love it when our readers get in touch with us to share their stories. This article was contributed to DIYP by a member of our community. If you would like to contribute an article, please contact us here.

In this post I’ll explain the structure and scheme that I personally use for backup. It’s not the cheapest, not the easiest, and perhaps not the safest method, but after trying several options, I believe this setup provides  balance between price, accessibility and data integrity.

nassetupexplainer

The two main objectives here were: 1) eliminate any monthly payments, and 2) combine local redundancy and free cloud storage services. Folks who already have a some knowledge with backup systems will perhaps only need the schema above to understand the setup, but I’ll detail everything after the jump.


Disclaimer: I’m not a specialist nor a professional in this complicated area of backup and security. There are other solutions out there, and it is possible that for you, this isn’t the ideal one. This is why I say I’m posting my specific case. Use your critical thinking! Lastly, I am not sponsored or paid by any of the brands/companies in the article.

The main element in my setup is a Synology NAS server.  I am using the DS214play which has two 3Tb HDDs. Unfortunately I can’t tell if this setup is possible with other NAS brands (probably not) because different NAS servers use different OSs. To make things “worse”, I am using Synology branded apps, so I am not sure if there are there are persices app matches for other brands (probably not). That said I am going to give some alternative recommendations after explaining how my system works.

backup-002

With the NAS installed on the local network – I recommend it’s installed in another room at your house/apartment, connected via Ethernet (wired network) if possible – and after initial configurations made, you;d want to install two apps: Synology Cloud Station and Synology Cloud Sync.

1

Synology Cloud Station – this app will build a storage and synchronization system that works similarly to most known cloud systems (Dropbox, Google Drive, OneDrive, iCloud, etc), only locally. The app also has links for the client counterparts to be installed on your own devices (in my case: Desktop PC, Smartphone and tablet).

For further step by step information on app installation and configuration watch this intro from Synology

https://youtu.be/kZX8XK9Wy2Y

The first time you configure the app both on THe Synology server and on the other client devices, you will be directed to choose a folder for synchronization (or the app will choose one for you). This is the your focal point – the sync app is contained to that folder. Everything that’s inside the folder will be synchronized to the NAS. (And anything outside this server will not be)

Take a look at my initial scheme (first image on this post) on the folder named CloudStation.

9rd1t8N

Synology Cloud Sync – similarly named, this app works only inside the NAS (and has no clients), to synchronize the NAS with cloud storage services. It’s something like your Dropbox app on the PC, only it handles several different services and several accounts in one single app. The image above shows the main services it supports (and there are more).

To use it, you must first create accounts in each of those services. I have a free account in several of them.

With the accounts created and passwords in hand, use the NAS system to connect to each of those accounts, one by one. The app connects to the services using their own APIs, but you don’t need to worry about that… only that you’ll need to give specific permission to each one of them so the whole thing works.

For further information on how to install and setup the app, watch this video:

https://youtu.be/a6_Kj6e2nUM

Here comes the “trick” that I use so that my system synchronizes everything among devices, NAS and cloud automatically: When you configure each of the drive accounts (Dropbox, Google Drive, hubiC, etc), create a subfolder for each of those services INSIDE the Synology Cloud Storage folder (in my personal case, the CloudStation folder) on the NAS.

In practice, this forces all folders related to cloud storage services to also be synchronized on the local network using Synology Cloud Storage, assigning the NAS to connect and sync with cloud services by itself, using Synology Cloud Sync. With this, you also won’t need to install those services (Dropbox, Google Drive, etc) on your devices, since it becomes the NAS responsibility to handle it.

Example: you copy new photos inside the CloudStation\Dropbox subfolder in your Desktop PC. The Cloud Station app on the PC syncs with the NAS, copying the photos there. Then, the NAS uploads the photos to Dropbox servers using Cloud Sync. You now have 3 copies in 3 different locations done automatically (Desktop PC, NAS and Dropbox).

With this, we have the functionality of Synology Cloud Station plus Synology Cloud Sync added up, with local storage on your devices and NAS, plus cloud storage, all automatic.

With this system set up, what I did then was sketch a chart with how much space I have in each of the cloud storage services, plus some other specs, to decide what I should put in each folder.

Example: I have only 4Gb of space on Dropbox, so I set it aside for text documents, a selection of finalized .jpg photos, and other small files. On OneDrive, I have around 30Gb free space, so I’m saving full video project folders in it. On Google Drive I have only 5Gb, but the service is now connected to Google Photos that gives you unlimited space for those, so all supported photos goes there.

Another step into automatization: set the standard folders for you photo editor, video editor and/or text editor inside those. This way, everything you create with those will automatically be sync’ed.

backup-capture

Even more advanced scenario: Synology Cloud Sync allows you to choose the file types that the service can synchronize. So if your space is limited, but you’d still like to sync at least some important files in a given service, it’s possible to filter those.

Example: you have a project folder with tons of different raw files, but wants to sync only jpg and mp4 files, it’s possible to do it.

Extra space on cloud services: you just need to either pay for them, or to open extra accounts.

Unfortunate: Synology Cloud Sync still doesn’t support Mega, Flickr and some other services that gives you a TON of space free. Users have been asking for those in the forums though, so perhaps it’ll come in future updates.

backup-synology-step2

Special cases: Bittorrent Sync

On my tablet, I have a temporary folder which I need that everything thrown there to also be backed up on the NAS, but with one way sync. Meaning that everything I copy into the folder on the tablet is also copied to the NAS, but if I erase files on the tablet, it’s NOT erased on the NAS, and it’s also not copied back again into the tablet.

Example: there’s a folder on my tablet (Temporary) in which I put a collection of videos, photos, art, music and sound effects for an editing job. But on the tablet, it’s only important to me that after using all those, the only thing that remains is the final result, because I have limited space. Problem is that, even though I have limited space and it’s necessary to delete files to free it up, those original files that I used for the project needs to be backed up – for future jobs and restores.
Which is why I need everything backed up on the NAS, but not necessarily on the tablet.

This is usually how a backup service works – without the bidirectional synchronization of cloud storage. But with this solution, the copies will be made every time a new file is included. By comparison, most backup services will ask for a certain time interval for backups to be made (ex: once a day, once a week, etc).

This special case can also be used for local smartphone image and video backup, when you don’t want to use cloud services, whatever the reason is.

For those cases, the app I found was BitTorrent Sync – available for Synology NAS, Windows, OSx, Android, iOS and several other systems.
It works in a similar way to Cloud Station, but with one key difference: the app allows one of the connected sides to be “Read Only”. That is, you can read and copy files, but can’t erase or modify.

The configuration of it would be subject to an entire other post, but just so that this information isn’t abandoned, here’s an extra official video:

https://youtu.be/pqqSQfA3yhU

Redundancy Expansion: another NAS, Amazon Glacier, HiDrive, Elephant Drive

backup-backup

Let’s say you need some extra safety, or other physical locations (to provide protection against disaster scenarios). It’s possible to connect your Synology server to another Synology server that is in another location (state, country, whatever). Or, you can use one of the apps for remote backup. Services like Amazon Glacier, or Elephent drive (this will cost money, mind you). If you are more tech savvy you can try connecting to crashplan -though this requires some shell expertise.

Extra tip: Desktop Area

This is something I need specifically, but it’s worth sharing.

I have a PC and a tablet running Windows 10 which are used only by myself. As many, I have the habit of throwing everything on the Desktop Area, and only putting some order to it when the mess becomes intolerable. I have seen this with many creatives.

I started thinking if there was a way to not only backup the Desktop, but also to synchronize it between my PC and my tablet. This was I won’t have to worry about cleaning up and organizing two different Desktops all the time.

The answer is pretty simple, but may have eluded you if you don’t know how to move your desktop..

backup-desktop

You would want to open Windows Explorer, click with the right mouse button on the Desktop folder, choose Properties, “Location” tab, and then redirect it to a subfolder (create a new one) inside the Cloud Station folder. Once you do that with all the devices you need, in practice you’ll end up with a common Desktop to all your devices. Of course, that’s if you have several devices with the same OS.

If you don’t have a Synology NAS, the same could be done with Bittorrent Sync, or even a cloud storage services like Dropbox, Google Drive, etc – you only need to take care on space and file size limitations.

About The Author

Renato Murakami is a photographer and tinkerer from Brazil, you can follow his blog here and interact with him on twitter here. This article is based on an article published here and shared with permission.


Filed Under:

Tagged With:

Find this interesting? Share it with your friends!

DIPY Icon

We love it when our readers get in touch with us to share their stories. This article was contributed to DIYP by a member of our community. If you would like to contribute an article, please contact us here.

Join the Discussion

DIYP Comment Policy
Be nice, be on-topic, no personal information or flames.

Leave a Reply

Your email address will not be published. Required fields are marked *

5 responses to “How To Automate Your Backup With NAS, Dropbox, Gdrive, OneDrive And Many Others”

  1. HyperJ Avatar
    HyperJ

    … Or you can just use Crashplan. Yes, I know, it has a monthy/yearly fee for the cloud backup, but there is no easier way to handle a complete backup solution.

    What you suggest seems very complicated, and relies on you “nickel-and-diming” various online cloud services where you can store a couple GB here, and a couple of GB there, carefully juggling what goes where.

    I myself have close to a terabyte of just personal photos/videos. Many people will have more. Working professionals will have far more. And if your solution does not back up all of it to an off-site location, then it is a risky solution.

    I realize that many people think that services where you have to pay a monthly fee for unlimited (or large) is costing way too much, I certainly sleep far easier now.

    (to clarify, I am a Crashplan user but not affiliated with them) :-)

    1. Renato Murakami Avatar
      Renato Murakami

      Yep. I know about Crashplan and other services (like Amazon Glacier and others mentioned) and I’d recommend using them for pros as a simple backup solution, if you have simple backup needs. Heck, for some it’s just better to pay for the cloud storage services they are already using, nothing wrong with that.

      But like I said, this is my setup. And it’s built with different things in mind.

      Local management and custom setup is one of the things. Since I don’t use, I’m not sure how far goes Crashplan customization, but a local NAS allows for a mix of local storage, cloud storage, different sync types between machines, account management, among others. Synology’s OS also allows for a bunch of other things, so I guess the most advantage you can get is if you use those somehow.

      Special cases like the Desktop sync among other stuff I’ve been planning to do is also part of the objective. I’m still learning and doing some research, but the idea is to host a bunch of stuff locally, have content access directly over Internet, stream videos, have tight access controls, etc.

      Other points: privacy, connectivity, and not “putting everything inside one box”. I know services like Crashplan and Amazon Glacier are very reputable and it’s unlikely that some big problem happens. Still, I guess some people will just feel better if at last part of their content is in their own hands. You also still have a level of backup here even if Internet connection is down.

      But to clarify once again: I’m far from saying that my solution is the best for everyone. It’s a balance between safety, price and features. The objective of the post was to present a possible solution for those looking for something different.

      There are some scenarios where simple Crashplan/etc accounts are not enough to attend some demanding tasks because it’s just backup for prevention of failure/disaster scenarios. For instance: video editing groups that have a team of people with different access levels to content needing a distributed backup and update solution.

      1. HyperJ Avatar
        HyperJ

        Yes, there are certainly pros and cons with different approaches. Crashplan won’t by itself allow you to “mirror” data between your different devices like you want. (although you can download/restore specific files or folder to any computer)

        An ideal solution would be if there was Crashplan support on a NAS device like yours. (or other large backup service) And it’s not just storage space – Crashplan will for example store versions of data, allowing you to get back to a version of an image that modified a while back.

        …Because that is my main reservation with your approach, that it emphasizes mirroring/sharing data versus a complete off-site backup.

        But different approaches work best for different people. Thanks for your reply!

  2. Michal Krause Avatar
    Michal Krause

    Hello, main problem with your setup is that cloud storage services are not backups. If you accidentally delete or damage your files (which may easily happen due to human mistake or software or hardware error), such change will be distributed accross all storages and you will not be able to recover uncorrupted version. Some cloud storages keeps previous versions or deleted files, but only for limited time (about 1 month typically) and up to storage capacity. Synology Cloud Station keeps 32 versions of file which may not be enough for files like PSD edited in Photoshop.

    Reliable backup definitely has to keep much longer history of changes and file deletion (unlimited preferably), because you never know how long it’ll takes you to notice a problem. And this is the reason why specialized backup services (like CrashPlan mentioned in other comments) are better solution. BTW, CrashPlan can be installed on Synology via community package, but unfortunatelly, it is not supported by Code42 due the hardware limitation of NAS and even if I use it this way, I have to say that it’s little bit hard to install and maintain and there are memory consumption related issues (because CrashPlan is written in Java – I hope that native applications will be released one day).

    Michal Krause

  3. Nested folders Avatar
    Nested folders

    What do you think about “nesting” cloud service folders inside each other to keep copies in all of them. If OneDrive has 30GB, Google Drive 5GB and Dropbox 3GB, I would create such tree going from larger storage to smaller storage space.

    CloudStationOndDriveGoogle DriveDropbox

    Most critical and small sized files are in Dropbox and all those are also mirrored in Google Drive and OndeDrive. Less important things are in Google Drive other folders and so on.