Error message "didn't find section in config file" when sync to GoogleDrive

Hello guys.

I am getting this error message when synchronizing with the drive.
I tried several methods but without success.
Yesterday I made the same configuration for 2 ubuntu servers and it worked perfectly with the same eating, changing only the folders.

COMMAND
rclone copy --update "/usr/maxima/fbkp/sand" "drive:sand"

/usr/maxima have chmod -R 777 permissions

RCLONE CONFIG
[sand]
type = drive
scope = drive
token = ALL THE TOKEN CONTENT

VERSION
rclone v1.53.3

  • os/arch: linux/amd64
  • go version: go1.15.5

MY CONFIG PATH
rclone config file
Configuration file is stored at:
/home/sand/.config/rclone/rclone.conf

RCLONE CONFIG QUERY
$ rclone config
Current remotes:

Name Type
==== ====
sand drive

I don't know what else to try...

Thanks for any help.

hello and welcome to the forum,
i think you want
`rclone copy --update "/usr/maxima/fbkp/sand" sand:"
if you are not sure, for testing, add https://rclone.org/docs/#n-dry-run

wow, flash reply lol

worked perfectly...

command: rclone copy --update "/ usr / maxima / fbkp / sand" sand: sand

Sent the files to the sand folder.

I didn't understand where the error was.

it can be confusing the first time.

you tried to use
drive:sand - which means that the remote is drive and the bucket/folder is sand

but your config file has a remote named sand, not drive
the remote sand is stored on a google drive backend

1 Like

yes i understand now, thank you very much for your help.
have a nice Christmas.

1 Like

same to you....

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