Rsync to pcloud doesn't see existing files

What is the problem you are having with rclone?

I would like to use rsync to clone a local directory to pcloud. Each time I try that rsync starts all over again as if there are no files on the destination. The same happens if I use rclone copy.

Expected behaviour
After a completed rsync, running it again should not transfer any files, as they are already there.

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

rclone v1.65.1
- os/version: arch (64 bit)
- os/kernel: 6.7.0-arch3-1 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.6
- go/linking: dynamic
- go/tags: none

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

pcloud

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

$ rclone mount pcloud_enc:/ /mnt/pcloud_enc/
2024/01/16 23:10:49 NOTICE: Encrypted drive 'pcloud_enc:/': --vfs-cache-mode writes or full is recommended for this remote as it can't stream

2024/01/16 23:20:01 NOTICE: Local file system at /tmp/rclone-spool4139051808: --checksum is in use but the source and destination have no hashes in common; falling back to --size-only

The rclone config contents with secrets removed.

[pcloud]
type = pcloud
token = {"access_token":"x","token_type":"bearer","expiry":"0001-01-01T00:00:00Z"}

[pcloud_enc]
type = crypt
remote = pcloud:enc
password = x

A log from the command with the -vv flag

A short snippet here

[a@t470s ~]$ rclone -vv mount pcloud_enc:/ /mnt/pcloud_enc/
2024/01/16 23:41:07 DEBUG : rclone: Version "v1.65.1" starting with parameters ["rclone" "-vv" "mount" "pcloud_enc:/" "/mnt/pcloud_enc/"]
2024/01/16 23:41:07 DEBUG : Creating backend with remote "pcloud_enc:/"
2024/01/16 23:41:07 DEBUG : Using config file from "/home/a/.config/rclone/rclone.conf"
2024/01/16 23:41:07 DEBUG : Creating backend with remote "pcloud:enc"
2024/01/16 23:41:07 INFO  : Encrypted drive 'pcloud_enc:/': poll-interval is not supported by this remote
2024/01/16 23:41:07 NOTICE: Encrypted drive 'pcloud_enc:/': --vfs-cache-mode writes or full is recommended for this remote as it can't stream
2024/01/16 23:41:07 DEBUG : Encrypted drive 'pcloud_enc:/': Mounting on "/mnt/pcloud_enc/"
2024/01/16 23:41:07 DEBUG : : Root: 
2024/01/16 23:41:07 DEBUG : : >Root: node=/, err=<nil>
2024/01/16 23:41:07 DEBUG : /: Lookup: name=".Trash"
2024/01/16 23:41:08 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/01/16 23:41:08 DEBUG : /: Lookup: name=".Trash-1000"
2024/01/16 23:41:08 DEBUG : /: >Lookup: node=<nil>, err=no such file or directory
2024/01/16 23:41:50 DEBUG : /: Attr: 
2024/01/16 23:41:50 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/01/16 23:41:51 DEBUG : /: Attr: 
2024/01/16 23:41:51 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/01/16 23:41:51 DEBUG : /: ReadDirAll: 
2024/01/16 23:41:51 DEBUG : /: >ReadDirAll: item=5, err=<nil>
2024/01/16 23:41:51 DEBUG : /: Attr: 
2024/01/16 23:41:51 DEBUG : /: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/01/16 23:41:51 DEBUG : /: Lookup: name="switch_games"
2024/01/16 23:41:51 DEBUG : /: >Lookup: node=switch_games/, err=<nil>
2024/01/16 23:41:51 DEBUG : switch_games/: Attr: 
2024/01/16 23:41:51 DEBUG : switch_games/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/01/16 23:41:53 DEBUG : /: Lookup: name="switch_games"
2024/01/16 23:41:53 DEBUG : /: >Lookup: node=switch_games/, err=<nil>
2024/01/16 23:41:53 DEBUG : switch_games/: Attr: 
2024/01/16 23:41:53 DEBUG : switch_games/: >Attr: attr=valid=1s ino=0 size=0 mode=drwxr-xr-x, err=<nil>
2024/01/16 23:41:53 DEBUG : switch_games/: Lookup: name="9IN1PUZLE-(USA)-NSwTcH-[BASE]-NSP-Ziperto.rar"
2024/01/16 23:41:54 DEBUG : switch_games/: >Lookup: node=switch_games/9IN1PUZLE-(USA)-NSwTcH-[BASE]-NSP-Ziperto.rar, err=<nil>
2024/01/16 23:41:54 DEBUG : switch_games/9IN1PUZLE-(USA)-NSwTcH-[BASE]-NSP-Ziperto.rar: Attr: 
2024/01/16 23:41:54 DEBUG : switch_games/9IN1PUZLE-(USA)-NSwTcH-[BASE]-NSP-Ziperto.rar: >Attr: a=valid=1s ino=0 size=56887596 mode=-rw-r--r--, err=<nil>```

You need to turn on a cache so it can work on a mount as that's a limitation of pcloud.

You can just use rclone copy pcloud_enc:

No reason to use the mount as it slows down the process anyway.

1 Like

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