Local -> Google Shared Drive

What is the problem you are having with rclone?

Failed to create file system for "RcloneLocal:Redacted - Backup:": didn't find section in config file

Very new to this, have read been going through forum heavily but hard to find something to suit my exact scenario

Attempting to transfer folders from Local PC to Shared Google Drive

Thanks in advance

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

rclone v1.59.1

  • os/version: Microsoft Windows 11 Pro 21H2 (64 bit)
  • os/kernel: 10.0.22000.856 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.18.5
  • go/linking: static
  • go/tags: cmount

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

Google Drive - Enterprise

The command you were trying to run

rclone copy -P "C:\Users\redacted\Downloads" "gdrive:Redacted - Backup"

The rclone config contents with secrets removed.

[rCloneLocal]
type = drive
client_id = redacted
client_secret = redacted
scope = drive
token = {longstringjunk}
team_drive = (Equivalent to the id of Redacted - Backup)
root_folder_id = 

A log from the command with the -vv flag

2022/09/02 10:19:21 DEBUG : rclone: Version "v1.59.1" starting with parameters ["rclone" "copy" "-P" "C:\\Users\\redacted\\Downloads" "redacted - Backup:" "-vv"]
2022/09/02 10:19:21 DEBUG : Creating backend with remote "C:\\Users\\redacted\\Downloads"
2022/09/02 10:19:21 DEBUG : Using config file from "C:\\Users\\redacted\\AppData\\Roaming\\rclone\\rclone.conf"
2022/09/02 10:19:21 DEBUG : fs cache: renaming cache item "C:\\Users\\redacted\\Downloads" to be canonical "//?/C:/Users/redacted/Downloads"
2022/09/02 10:19:21 DEBUG : Creating backend with remote "redacted - Backup:"
2022/09/02 10:19:21 Failed to create file system for "redacted - Backup:": didn't find section in config file

hello and welcome to the forum,

based on the config file, the name of the remote is rCloneLocal, not RcloneLocal
the name of remotes are case sensitive

so as a test, try something like
rclone lsd rCloneLocal: -vv

Wow, That was quick as thank you.

So that appears to have worked for your command

c:\rclone>rclone lsd rCloneLocal: -vv
2022/09/02 10:40:21 DEBUG : rclone: Version "v1.59.1" starting with parameters ["rclone" "lsd" "rCloneLocal:" "-vv"]
2022/09/02 10:40:21 DEBUG : Creating backend with remote "rCloneLocal:"
2022/09/02 10:40:21 DEBUG : Using config file from "C:\Users\redacted\AppData\Roaming\rclone\rclone.conf"
-1 2022-09-02 10:08:09 -1 Downloads
2022/09/02 10:40:22 DEBUG : 4 go routines active

What do i need to add to my original command to make it work as i still get same error, sorry... new to these cli's

rclone copy -P "C:\Users\redacted\Downloads" "gdrive:redacted - Backup"

Thanks mate

need to use a remote that is in the config file
rclone listremotes will list the remotes.

maybe try
rclone copy --dry-run -vv -P "C:\Users\redacted\Downloads" "rCloneLocal:redacted - Backup"

1 Like

Legend!

Replacing the "gdrive" bit with remote name "rCloneLocal" fixed it

Thanks mate

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