Rclone chunk config

What is the problem you are having with rclone?

Hello, I'm a newbie user of Linux and Rclone, I'm trying to configure a chunk to be able to save in the cloud (on KDrive) large files. I followed the configuration procedure that I found in the documentation but when I try to copy some files to the remote I get an error. I don't understand how, after following the configuration process indicated in the documentation, Rclone can "know" which cloud I want to copy the files to, since during the configuration of the chunker it is not specified which cloud service it is connected to. I hope I have been able to explain myself. Thank you.

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

user@host:~$ rclone version
rclone v1.64.2

  • os/version: linuxmint 21.2 (64 bit)
  • os/kernel: 5.15.0-101-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.21.3
  • go/linking: static
  • go/tags: none

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

KDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

user@host:~$ rclone copy ~/CartellaProvaRClone my_KD_Chunk_crypt:
2024/03/29 11:30:29 Failed to create file system for "my_KD_Chunk_crypt:": can't point remote at itself - check the value of the remote setting

Please run 'rclone config redacted' and share the full output. If you get

user@host:~$ rclone config redacted
[Google_Drive]
type = drive
scope = drive
token = XXX
team_drive =

[Google_Drive_crypt]
type = crypt
remote = Google_Drive:
password = XXX

[OneDrive]
type = onedrive
token = XXX
drive_id = XXX
drive_type = personal
link_type = edit

[OneDrive_crypt]
type = crypt
remote = remote:
password = XXX

[my_KD]
type = webdav
url = https://XXXXXX.connect.kdrive.infomaniak.com
vendor = other
user = XXX
pass = XXX

[my_KD_Chunk_crypt]
type = chunker
remote = my_KD_Chunk_crypt:backup
chunk_size = 100Mi
hash_type = md5all

[my_KD_crypt]
type = crypt
remote = my_KD_crypt:

Paste config here
user@host:~$ rclone config
Current remotes:

Name Type
==== ====
Google_Drive drive
Google_Drive_crypt crypt
OneDrive onedrive
OneDrive_crypt crypt
my_KD webdav
my_KD_Chunk_crypt chunker
my_KD_crypt crypt

A log from the command that you were trying to run with the -vv flag

user@host:~$ rclone copy -vv ~/CartellaProvaRClone my_KD_Chunk_crypt:
2024/03/29 12:24:44 DEBUG : rclone: Version "v1.64.2" starting with parameters ["rclone" "copy" "-vv" "/home/junior/CartellaProvaRClone" "my_KD_Chunk_crypt:"]
2024/03/29 12:24:44 DEBUG : Creating backend with remote "/home/junior/CartellaProvaRClone"
2024/03/29 12:24:44 DEBUG : Using config file from "/home/junior/.config/rclone/rclone.conf"
2024/03/29 12:24:44 DEBUG : Creating backend with remote "my_KD_Chunk_crypt:"
2024/03/29 12:24:44 Failed to create file system for "my_KD_Chunk_crypt:": can't point remote at itself - check the value of the remote setting

You can not refer remote to itself.... It has to point to another remote.

You need something like:

[Google_Drive]
type = drive

[Google_Drive_crypt]
type = crypt
remote = Google_Drive:encrypted_data_dir

[Google_Drive_crypt_chunker]
type = chunker
remote = Google_Drive_crypt:

And then:

$ rclone copy -vv ~/CartellaProvaRClone Google_Drive_crypt_chunker:

effectively you create the chain of remotes:

Google_Drive <-- Google_Drive_crypt <-- Google_Drive_crypt_chunker

Perfect, thank you, now it's clear.

1 Like