Skip to content

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.

6 points14 comments
Open on Reddit
About this post
Posted
Archived
Score
6 · 100% up
Kind
Text
ID
3de6bm

Author

39
posts
104
comments
1
media
View profile

14 comments

There is way to do this by using cURL and GDrive API. Just google these two things together and you're golden.

2 points

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.

1 points

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.

1 points

There's insync but it has a one time cost of $20. Used to be $10. Still, probably the most reliable client around.

2 points

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

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.