Jellyfin Forum
Google Drive Backups on Linux - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Off Topic (https://forum.jellyfin.org/f-off-topic)
+--- Forum: Self-hosting & Homelabs (https://forum.jellyfin.org/f-self-hosting-homelabs)
+--- Thread: Google Drive Backups on Linux (/t-google-drive-backups-on-linux)



Google Drive Backups on Linux - TheDreadPirate - 2023-08-03

My server used to run Windows before I started using Jellyfin (it hosted Windows shares before).  I used Google Drive for Desktop to sync important folders in my shares to Google Drive.  Now that my server is running Linux I still have the Windows shares hosted on it, but without any off site backup at the moment (cron makes a local backup on another drive).

Is anyone aware of, or has used, any Linux tools/apps to backup/synchronize to Google Drive?  Preferably in real time.  Using another service is the last option since Google Drive is also used for full quality photos backups from our phones and expanded Gmail storage (18 years x3 worth of emails).  In addition to using Google Docs for a lot of stuff over the years.  We could go to a lower tier (currently 2TB tier), and use another service for the Windows share backups.  Again, last option.

Paid apps are acceptable at this point.  I strongly prefer command line tools since I don't want to install a desktop environment on my server.


RE: Google Drive Backups on Linux - archon - 2023-08-03

Try rclone (https://rclone.org/drive/). It isn't a real-time sync, but you can run it periodically and you can limit how far back it looks for changes (so "rclone src dst --max-age=1h" to only consider files modified in the last hour) to make syncing on shorter intervals faster.

I've never tried this, but you could also mount a folder with rclone (https://ostechnix.com/mount-google-drive-using-rclone-in-linux/) which looks like it'll give you real-time sync up to Google Drive but might not be real-time for detecting changes made from other clients.


RE: Google Drive Backups on Linux - TheDreadPirate - 2023-12-09

Happen to think about this old thread and thought I should mention I have been using Duplicati for the last couple months and meets all my needs.