익명 22:15

Best way to sync Google Drive on Ubuntu 26.04 LTS

Best way to sync Google Drive on Ubuntu 26.04 LTS

I need the best way to sync Google Drive on my Ubuntu LTS 26.04 with local cache that allows me to keep working for at least a day without any internet.

Requirements are similar to Google Drive for PC:

  1. Ability to work completely offline (not even internet to "mount" the drive first and then disconnect).
  2. Download and caching of files when they are accessed.

What I have tried and fails:

  1. rclone vfs local mount: Doesn't mount without internet! No usable cache! Can this be fixed? This is my most hopeful option currently. Here is the code I currently use:
[Unit]
Description=Google Drive Mount
After=network-online.target
Wants=network-online.target
OnFailure=gdrive-mount-failed.service

[Service]
Type=simple

ExecStart=/usr/bin/rclone mount gdriveboi: %h/G \
    --vfs-cache-mode full \
    --cache-dir %h/.cache/rclone \
    --vfs-cache-max-size 100G \
    --vfs-cache-max-age 720h \
    --vfs-write-back 30s \
    --vfs-read-ahead 128M \
    --dir-cache-time 5m \
    --poll-interval 30s \
    --log-level INFO \
    --log-file %h/.local/share/rclone-mount.log \
    --rc \
    --rc-addr 127.0.0.1:5572 \
    --rc-no-auth

ExecStop=/bin/fusermount3 -uz %h/G

Restart=no

[Install]
WantedBy=default.target
  1. Nautilus doesn't support native Google Drive starting GNOME 50. https://www.omgubuntu.co.uk/2026/03/google-drive-not-working-nautilus-ubuntu-26-04

  2. Dolphin + Dolphin Plugins + Konqueror + KIO GDrive + KIO Admin: Can't even add the Google account on Dolphin. Page shows blank.

  3. rclone bisync fails randomly and repeatedly. --resyncing has destroyed my work multiple times now. I can provide the last used code if asked.



Top Answer/Comment:

I know of a commercial solution: overGrive. I used it back when Ubuntu did not yet have a built in solution, bought a lifetime license years ago (2020), then I switched to the Ubuntu built in solution, but now since Ubuntu does not support this any longer I will switch back to it.

I'm not involved into the project but started looking for a solution back then as my company used Google Drive widely.

Downsides:

  • A license is required for each account used
  • You can only sync one account at the time so to use multiple accounts you have to stop syncing the first then start syncing the second.
  • From time to time it had some hiccups, then I had to restart the service. But no data loss ever.
  • Not open source.

What I like(d):

  • You can get a free trial.
  • Supported for years.
  • Lifetime license at a feasible price. (~ 10 USD at the time of writing, 07/2026)
  • True offline support (not like the previously built in stuff from Ubuntu)
상단 광고의 [X] 버튼을 누르면 내용이 보입니다