Dropbox copying shared folders/files

What is the problem you are having with rclone?

It is copying shared folders/files from impersonated user. If e.g. 1TB folder is shared with 38 users, rclone copy would create 38TB of data if I impersonate all 38 users and copy all files/folders from those users.

Run the command 'rclone version' and share the full output of the command.

rclone v1.69.1

  • os/version: unknown
  • os/kernel: 4.4.302+ (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.24.1
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Dropbox Enterprise

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

rclone copy --dropbox-impersonate testuser@testdomain.com Dropbox:/ /volume1/DropboxFullBackup/user_folders/ --progress

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[Dropbox]
type = dropbox
impersonate = XXX
shared_folders = false
token = XXX
client_id = XXX
client_secret = XXX

A log from the command that you were trying to run with the -vv flag

root@QNAP01:/volume1/DropboxFullBackup# rclone -vv copy --dropbox-impersonate testuser@testdomain.com Dropbox:/ /volume1/DropboxFullBackup/user_folders/ --progress
2025/05/12 17:29:31 DEBUG : rclone: Version "v1.69.1" starting with parameters ["rclone" "-vv" "copy" "--dropbox-impersonate" "testuser@testdomain.com" "Dropbox:/" "/volume1/DropboxFullBackup/user_folders/" "--progress"]
2025/05/12 17:29:31 DEBUG : Creating backend with remote "Dropbox:/"
2025/05/12 17:29:31 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2025/05/12 17:29:31 DEBUG : Dropbox: detected overridden config - adding "{EAt8w}" suffix to name
2025/05/12 17:29:31 DEBUG : Dropbox root '': Using root namespace "12446679971"
2025/05/12 17:29:31 DEBUG : fs cache: renaming cache item "Dropbox:/" to be canonical "Dropbox{EAt8w}:"
2025/05/12 17:29:31 DEBUG : Creating backend with remote "/volume1/DropboxFullBackup/user_folders/"
2025/05/12 17:29:31 DEBUG : fs cache: renaming cache item "/volume1/DropboxFullBackup/user_folders/" to be canonical "/volume1/DropboxFullBackup/user_folders"
2025/05/12 17:29:31 DEBUG : Added delayed dir = "Test User", newDst=<nil>
2025/05/12 17:29:32 DEBUG : Added delayed dir = "Test User/TESTSHARETEST", newDst=<nil>
2025/05/12 17:29:32 DEBUG : Test User/TESTSHARETEST/test_share_test.txt: Need to transfer - File not found at Destination
2025/05/12 17:29:32 DEBUG : Local file system at /volume1/DropboxFullBackup/user_folders: Waiting for checks to finish
2025/05/12 17:29:32 DEBUG : Local file system at /volume1/DropboxFullBackup/user_folders: Waiting for transfers to finish
2025/05/12 17:29:32 DEBUG : Test User/TESTSHARETEST/test_share_test.txt: dropbox = e1046e67408b1b71325b1b5214fc0fe18eb919f4b1103cc2f07d73188be19a0f OK
2025/05/12 17:29:32 DEBUG : Test User/TESTSHARETEST/test_share_test.txt.4a80df1f.partial: renamed to: Test User/TESTSHARETEST/test_share_test.txt
2025/05/12 17:29:32 INFO  : Test User/TESTSHARETEST/test_share_test.txt: Copied (new)
2025/05/12 17:29:32 INFO  : Test User/TESTSHARETEST: Set directory modification time (using DirSetModTime)
2025/05/12 17:29:32 INFO  : Test User: Set directory modification time (using DirSetModTime)
Transferred:             15 B / 15 B, 100%, 0 B/s, ETA -
Transferred:            1 / 1, 100%
Elapsed time:         1.1s
2025/05/12 17:29:32 INFO  : 
Transferred:             15 B / 15 B, 100%, 0 B/s, ETA -
Transferred:            1 / 1, 100%
Elapsed time:         1.1s

2025/05/12 17:29:32 DEBUG : 8 go routines active
2025/05/12 17:29:32 INFO  : Dropbox root '': Committing uploads - please wait...
root@QNAP01:/volume1/DropboxFullBackup# 

So folder TESTSHARETEST has been shared form another user to Test User. If I rclone files from Test User it does download the folder/file - is there any way to prevent this and only have rclone download user file/folders that they own and nothing else? Thank you

welcome to the forum,

perhaps use filters to exclude the folder(s)

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