Google Drive - server side copying gives a 404 error

Hello,

I'm trying to do a server side copy of data from drive1 to drive2.

drive1: regular google account
drive2: google workplace account

my command used
```rclone copy "drive1:/Pics Family" drive2:/Ak_personal/Family_pics --server-side-across-configs --progress``

As I read here,

--drive-server-side-across-configs
Deprecated: use --server-side-across-configs instead.

Allow server-side operations (e.g. copy) to work across different drive configs.

This can be useful if you wish to do a server-side copy between two different Google drives.

The reason I'm doing this is my perception that this will be faster and not use my bandwidth as much. is this true?
Plus, I don't have to download to SSD and then re-upload to drive2.

The Issue

  • Full directory structure IS being created in the destination: drive2
  • BUT NO files are being copied.

Here is a snippet of the output.

2024/08/19 11:04:33 ERROR : 2008/Bon V/africa_048.jpg: Failed to copy: googleapi: Error 404: File not found: 1xaM_UstTle6ebHCc0Lgz0I3hpsAfj_St., notFound
2024/08/19 11:04:33 ERROR : 2008/Bon V/africa_050.jpg: Failed to copy: googleapi: Error 404: File not found: 1MV4UHa-5ZvlJvG22kWcCircHf267CzyS., notFound
2024/08/19 11:04:33 ERROR : 2008/Bon V/africa_049.jpg: Failed to copy: googleapi: Error 404: File not found: 1LO6haFB6mdZETiuFUyFC4lA_IbDNdpSs., notFound
2024/08/19 11:04:34 ERROR : 2008/Bon V/africa_052.jpg: Failed to copy: googleapi: Error 404: File not found: 125rxMtuI4eXWnKhTe484oqLYEcMXSSTW., notFound
2024/08/19 11:04:34 ERROR : 2008/Bon V/africa_051.jpg: Failed to copy: googleapi: Error 404: File not found: 1kPHrwbtObapu0PFov4KsVX5Sr7_84LS3., notFound
2024/08/19 11:04:34 ERROR : 2008/Bon V/africa_053.jpg: Failed to copy: googleapi: Error 404: File not found: 0B7nfmedtHUgpRElMVERham43SDg., notFound
2024/08/19 11:04:34 ERROR : 2008/Bon V/africa_054.jpg: Failed to copy: googleapi: Error 404: File not found: 1JPF4guo_7VlBNuCrZ1qTlod0MEDS7vN-., notFound
Transferred:   	          0 B / 5.359 GiB, 0%, 0 B/s, ETA -
Errors:               121 (retrying may help)
Transferred:            0 / 2269, 0%
Elapsed time:        50.0s
Transferring:
 *         2008/Bon V/africa_054.jpg:  0% /1.372Mi, 0/s, -
 *         2008/Bon V/africa_055.jpg:  0% /1.777Mi, 0/s, -
 *         2008/Bon V/africa_056.jpg:  0% /1.428Mi, 0/s, -
 *         2008/Bon V/africa_057.jpg:  0% /1.643Mi, 0/s, -^C

rclone version

rclone v1.67.0
- os/version: darwin 14.6.1 (64 bit)
- os/kernel: 23.6.0 (arm64)
- os/type: darwin
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.22.4
- go/linking: dynamic
- go/tags: cmount

redacted config

[drive1]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =

[drive2]
type = drive
client_id = XXX
client_secret = XXX
token = XXX
team_drive =

thank you

I think you have to share content from one drive to another first.

Thank you @kapitainsky

I'm also wondering if a command like this will work?

rclone copy drive1:/folder_x drive1:/folder_y --server-side-across-configs --progress

Objective:

  • folder_x has a bunch of files contributed by multiple people (which count towards their space)
  • I want folder_y to be all owned by me

Yeap it should work. But the best way is to try. You can always use --dry-run or/and start with some test data.

Trying it now - it seems to work!
I'll report back if there are any problems.

One thing I'm running into, rclone is flagging these files are dupes and NOT copying to the destination folder

I thought the dupe checker would not be purely based on file name?

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