Can I create a scheduled backup that saves to my Google Drive? (Also, preferably from CLI)
I'd like to have setup an automatic scheduled backup of essential folders/files that sends it to my Google Drive. I have been manually making backups to both of my external HDD's for the time being, but really don't like this work harder, not smarter setup I've currently got. On the flipside, I can't always have my external HDD's plugged in and would prefer if I could have it in the cloud. If there is an option better than Google Drive, let me know, but this is what I use for other things currently, figured I'd group it all together.
About this post
- Posted
- Archived
- Score
- 6 · 100% up
- Kind
- Text
- ID
- 3de6bm
14 comments
There is way to do this by using cURL and GDrive API. Just google these two things together and you're golden.
Thanks, I'll check it out.
You could just install one of the google drive clients (many in the aur) and move all important stuff into the folder it creates. That one then autobackups anything as long as the client runs.
Correct me if I'm wrong, and I often can be, but I used grive at one time, but I thought that support for it ended.
There's insync but it has a one time cost of $20. Used to be $10. Still, probably the most reliable client around.
Find a client that works, then just set up a crontab or simple shell script to run when you want it to.
Not sure what I used a few weeks ago, but it worked. Also, there is more than just grive.
check out drive-git -- simple little cli client for push, pull and you can stick it in your crontab and forget about it.
see the github page for usage info