Files gone missing after calling sync on crypt


#1

Hi

I am a bit confused about what just happened. I have configured two remotes

Name                 Type
====                 ====
backup               crypt
backup raw           webdav

and have just called

rclone sync . backup:/private/

to transfer ~30GB of files from the working directory to my backup remote. When calling

rclone ls backup:/private

I only see the 30GB of files I just synced with the remote, and all old files are not showing up. The total memory usage on the remote however indicates that the old files should still be around.

Anyone got an idea what just happened?

Some more infos:
$ rclone version
rclone v1.44
- os/arch: linux/amd64
- go version: go1.11.1

$ cat .config/rclone/rclone.conf
[backup raw]
type = webdav
url = https://uXXXXXXXX.your-storagebox.de
vendor = other
user = XXXXXXXXX
pass = .....

[backup]
type = crypt
remote = backup raw:crypt/
filename_encryption = standard
directory_name_encryption = true

#2

Ok, sorry, that was me being stupid. I called sync in a directory that only contained the new files so the old were deleted on the remote.


#3

Yep. To just add the new ones, you’d use copy or move. Otherwise it’ll make your destination look exactly like your source.