Hi, I’m trying to use Google Drive as a backup server with rclone on Ubuntu 22.04, and it basically works with the following command: ionice -c2 nice -n19 ./restic -r rclone:TestGoogleDrive:mtb backup --files-from includes.txt --exclude-file excludes.txt
. To optimize the backup parameters, I found this forum post: [Link to Forum]. Following that, I adjusted my script as follows: ionice -c2 nice -n19 ./restic -r rclone:TestGoogleDrive:mtb backup -o rclone.args="--drive-chunk-size=256M --drive-use-trash=false --fast-list" --files-from includes.txt --exclude-file excludes.txt
,
I then tried: ionice -c2 nice -n19 ./restic -r rclone:TestGoogleDrive:mtb -o rclone.args="--drive-chunk-size=256M --drive-use-trash=false --fast-list" backup --files-from includes.txt --exclude-file excludes.txt
, and received the following error message:
and received the following error message:
rclone: Error: unknown command “TestGoogleDrive:mtb” for “rclone”
rclone: Run ‘rclone --help’ for usage.
rclone: You could use ‘rclone selfupdate’ to get the latest features.
rclone:
rclone: 2024/11/12 02:29:03 CRITICAL: Fatal error: unknown command “TestGoogleDrive:mtb” for “rclone”
Fatal: unable to open repository at rclone:TestGoogleDrive:mtb: error talking HTTP to rclone: exit status 1
I’m using restic 0.17.3, compiled with go1.23.3 for linux/amd64, and rclone is also installed. Could you give me a bit of help? What am I doing wrong, and how can I get it to work?
Thank you very much in advance for your support!