Click here to Skip to main content
15,885,546 members
Articles / All Topics

OneDrive is My Saviour

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
2 Mar 2014CPOL4 min read 10.6K   2  
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)


Written By
Architect ZenithMoon Studios
United Kingdom United Kingdom
Long-time game developer / IT maniac.
By day I architect, design, build and deliver enriching Mixed Reality solutions to clients, bringing the work of AR/VR to light in new and interesting ways, by night I Masquerade as the Master Chief of ZenithMoon Studios, my own game development studio.

At heart, I am 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 Reality Toolkit and all the services provided by the Reality Collective, The Unity-UI-Extensions project, as well as in the past the AdRotator advertising rotator project for Windows and Windows Phone.

Currently, I spend my time fulfilling contracts in the Mixed Reality space (primarily for an XR experience firm called Ethar), writing books, technically reviewing tons of material and continuing my long tradition of contributing to open-source development, as well as delivering talks, but that goes without saying Big Grin | :-D

Mixed Reality MVP, Xbox Ambassador, MS GameDevelopment Ambassador & Best selling author:

[Accelerating Unity Through Automation](https://www.amazon.co.uk/Accelerating-Unity-Through-Automation-Offloading/dp/1484295072/ref=rvi_sccl_3/262-0817396-1418043)
[Mastering Unity 2D Game Development] (https://www.packtpub.com/game-development/mastering-unity-2d-game-development)
[Unity 3D UI Essentials] (https://www.packtpub.com/game-development/unity-3d-gui-essentials)

Comments and Discussions

 
-- There are no messages in this forum --