What is the problem you are having with rclone?
I have some SharePoint sites, I want to copy some files from one of the sites to others that I have joined using a union and with a crypt on top, the problem is that when I try to use the server side copy it shows the error “Can't copy - not same remote type”, it seems that rclone cannot pass the file directly to the original remote to make server side copy, the problem seems to be with union, because if I remove the union and try to copy from one of the crypts to another remote (adding a crypt as well) it works correctly, however being with a union it doesn't work.
Maybe rclone should determine to which “remote” of the union it should make the copy and then try to make the server side copy to that remote?
Run the command 'rclone version' and share the full output of the command.
rclone v1.67.0
- os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
- os/kernel: 10.0.22631.3880 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.22.4
- go/linking: static
- go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
Sharepoint
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy crypt2: crypt1: -P -vv --server-side-across-configs --user-agent 'ISV|rclone.org|rclone/v1.67.0' --tpslimit 3 --transfers 3 --checkers 3 --onedrive-delta --fast-list --ignore-existing --config '.\rclone copy.conf' --log-file rclone_forum.log
The rclone config contents with secrets removed.
[crypt1]
type = crypt
remote = union:
password = XXX
password2 = XXX
filename_encoding = base32768
server_side_across_configs = true
[crypt2]
type = crypt
remote = sp_others:
password = XXX
password2 = XXX
filename_encoding = base32768
server_side_across_configs = true
no_versions = true
[sp1]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = documentLibrary
server_side_across_configs = true
no_versions = true
[sp2]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = documentLibrary
server_side_across_configs = true
no_versions = true
[sp3]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = documentLibrary
server_side_across_configs = true
no_versions = true
[sp_others]
type = onedrive
client_id = XXX
client_secret = XXX
token = XXX
drive_id = XXX
drive_type = documentLibrary
no_versions = true
hard_delete = true
[union]
type = union
upstreams = sp1: sp2: sp3:
action_policy = mfs
create_policy = mfs
search_policy = mfs
server_side_across_configs = true