Trying to adapt my Google Drive rclone mount command to Dropbox

What is the problem you are having with rclone?

For years I have been using rclone to mount my Google Drive files so I could play them with Plex.

I'm migrating my data from Google Drive to Dropbox and I suppose that since both services are different it might be better should change some parameters so I'd like to adapt my rclone mount script accordingly just in case I can improve its performance further.

Rclone version.

rclone v1.61.1

Which cloud storage system are you using?

Dropbox

The command you were trying to run (eg rclone copy /tmp remote:tmp)

[Unit]
Description=Dropbox Daemoon
After=multi-user.target

[Service]
Type=notify
EnvironmentFile=/path/to/rclone.env
ExecStart=/usr/bin/rclone mount DB: /mnt/dropbox \
--config=/path/to/rclone.conf \
--log-file=/path/to/rclone-dbmovies.log \
--log-level=NOTICE \
--uid=1000 --gid=1000 --umask=002 \
--allow-other \
--timeout=1h \
--tpslimit=10 \
--dir-cache-time=5m \
--vfs-cache-mode=writes \
--vfs-cache-max-age=1h \
--vfs-cache-max-size=off \
--vfs-read-chunk-size-limit=1024M \
--vfs-read-chunk-size=64M \
--buffer-size=16M

ExecStop=/bin/fusermount -uz /mnt/dropbox > /dev/null
TimeoutSec=60
User=0
Group=0

[Install]
WantedBy=multi-user.target

The rclone config contents with secrets removed.

[DB]
type = dropbox
client_id = xxxxxx
client_secret = yyyyyy
token = zzzzz

click Search and type dropbox plex - the issue is repeating. It is nice to search first before asking question answered already many times.

hi,
you should check out I migrated away from Google Drive to Dropbox from @Animosity022
including the systemd service files.

Oh yes of course I checked his GitHub already :slight_smile:

But if I understand correctly he uses his mount to upload files also. I have my own upload command so I supposed I should use different parameters.

Of course I could have posted on his thread asking how to re-adapt his mount command to my needs but I thought that would be asking too much so maybe it would he better to ask how can I improve mine

imho, start with his systemd, which is used for plex streaming.
if you find that lacking, then tweak that.

1 Like

systemd script = mount
upload_cloud script = upload

@Animosity022 has two systemd files to mount TV and Movies with a different Dropbox APP ID. And one script to upload everything after 1 hour "on local disk", very straight forward. You can use the upload, but it is not mandatory. But it worth to check it, as Dropbox has other "problems" as Gdrive.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.