Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

OneDrive is My Saviour

, 2 Mar 2014
Rate this:
Please Sign up or sign in to vote.
OneDrive is My Saviour

Anyone following my twitter feed would have seen a panicked tweet I sent out recently. I’ve been working on a book for a while now and I had just finished another chapter, while readying to send the new chapter to the publisher with all the images I managed to delete the chapter document itself! Loosing over two weeks of full time effort of work.

Needless to say I was a bit distraught, especially with deadlines looming.

But You Backup, Don’t You?

(Image courtesy of the critique circle who have another fantastic post on backing up your writing)

Yes, I backup my work regularly, in fact I also use OneDrive (formally SkyDrive) as my working folder so that all my work is sent up to the cloud the minute I click save as well as on my local storage. I also zip up the contents to a separate drive on a weekly basis, so you would think I would be safe.

Sadly, when I managed to delete the work, it also then synchronised this delete to OneDrive as well immediately (a bit of a gap in the OneDrive solution?), to my horror my local backup was also corrupt, it hadn’t zipped correctly or something happened with the drive.

What proceeded was blind panic and frantic searching for tmp files, recovery files, any trace or fragment of my heard work.

What has OneDrive Ever Done for Us?

OneDrive has lots of impressive features including Version history (which is also deleted when a file is deleted Steaming mad) and a 99.99% uptime policy to ensure your files are always online. It also includes a free app for just about every platform now which will synchronise all your files online. If you are also using the later versions of office, it will also work directly on OneDrive and synchronise locally to ensure your work is safe (provided you are online).

But none of this saves you if files are accidentally deleted from local storage!!

The Miracle of the Online RECYCLE BIN

What eventually saved me from not only a huge effort of recreating all my work but also (probably) my sanity was the online recycle bin that comes with OneDrive.

This is one feature of OneDrive that isn’t really shouted about or even mentioned but thankfully (especially for me) it does.

Finding the Recycle Bin is really easy, it’s just located in the bottom left of your online storage account.

image

In here, you’ll find a normal recycle bin view with the options to empty it or restore all / individual items:

image

And here’s where my glorious work was saved, ready to be reborn and VERY quickly mailed to my publisher !!

If you do manage to delete an item accidentally in the online view, you go get a “Hail Mary” UnDo option, however such a feature isn’t available locally and items are deleted automatically. Which just means you need to go online to your recycle bin to save your bacon.

image

The Missing Pieces

My only gripe in this whole affair is that the OneDrive app just does this without confirmation at all, granted you can configure the client now to only synchronise selected folders but I should also be able to set the synchronisation status for any folder to just Contribute instead of just Full sync, the SyncToy app I also use for non-regular backups has this feature, ensuring that I keep everything on the remote storage.

A Wholehearted Thank You to the OneDrive Team!

So thank you OneDrive team, a fantastic service that offers so much for so little and if used right, can even save your bacon!!

A Final Note for Coding / Unity Developers

OneDrive and its synchronisation is a great tool but it’s not really for code ESPECIALLY if you access your code from more than one machine.

Use Git (or another) source control system and either use public servers like GitHub (GitHub also supports private repos for a fee) or private repos like BitBucket.

With Unity, be sure to also follow these steps, to configure both Unity and Git effectively (I know I do):

  1. Create your project
  2. Enable “Meta files” Mode (Edit > Project Settings > Editor)
  3. Initiate git with git init (run command from the top level of your Unity3d project folder)
  4. Create .gitignore file (also top level of your Unity3d project folder)
  5. Configure your .gitignore acording to the post below – GitHub also has a Unity .gitignore template for new projects.

http://blog.i-evaluation.com/2013/09/12/unity3d-with-git-gitignore-for-bitbucket-and-github/

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Simon Jackson
Architect ZenithMoon Studios
United Kingdom United Kingdom
Long time game developer / IT maniac.
By day working as a lowly Technical Architect for a healthcare software firm, by night Masquerading as the Master Chief of ZenithMoon Studios.
 
At heart I'm a community developer breaking down lots of fun and curious technologies and bringing them to the masses.
 
I'm also a contributor to several open source projects, most notably the AdRotator advertising rotator project for Windows and Windows Phone.
 
After a hefty break with Windows Phone and Windows 8 I'm heading back to my XNA roots to show how beginners and current XNA devs can take their skills forward with XNA's bleak future.
Follow on   Twitter   Google+

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 3 Mar 2014
Article Copyright 2014 by Simon Jackson
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid