-
Notifications
You must be signed in to change notification settings - Fork 1
N. Back up to Google Drive
-
You might ask why do we need a back-up?
-
Well the answer is pretty simple, we are running everything from a SD card which can very easily break or get corrupted so you will lose everything you've configured or have worked on.
The second answer: it's the safe thing to do, everybody backs-up because nobody wants to start from scratch.
-
You might ask: why Google Drive?
-
Well, they paid me for it.. I'm kidding, of course they did not pay me to advertise the well known cloud storage system. I chose Drive because it was handy, it's definitely safer than backing up to a physical drive, I've spent a lot of man hours working on the raspberry on different projects and it's simply the smart and sensible thing to do. Even though I have more than the 15Gb free storage from Google, this is another reason why to choose their solution.
When restoring you also have the option to choose: Amazon S3, Google Cloud Storage, OpenStack Swift, Rackspace Cloud Files, Network Server or even a Local Folder. So, there are many options to chose from, but I'm going to talk only about one.
This is as simple as logging in, no really, i'm not kidding, we have to log into our Google account.
1. Open _Settings_
2. Go to _Online Accounts_
3. Select _Google_
4. Fill in your username your password, approve through the email app/or phone if you have it activated
5. See email address (_it works!_)
6. Configuration (click on your email)
$ pip install PyDrive
Check out the project.
1. Search for "Backups"
2. From the Menu go to "Folders to save"
_Home_ is default, but if you want different, please feel free to do so by removing (-) and adding (+)
3. Storage. Choose "Google Drive".
4. Scheduling. I chose "Day" and "At least a year".
**Congrats, you're done!**
We have learned why backing up is important.
We have also learned how to backup our Raspberry Pi to Google Drive in daily automatic jobs.
If you hit a problem or have feedback (which is highly welcomed) please feel free to get in touch, more details in the footer.