systemd/casync

Listing an index file requires the store

remram44 opened this issue · 0 comments

After reading the documentation, I was surprised that listing the contents of a .caidx is not possible without accessing the corresponding store. I had assumed that it contained the list of file names and that casync only needed to read from the .castr to get file content.

$ casync list 20211118-00-c991bcaf.caidx 
Failed to run synchronizer: No such file or directory
$ casync list --store=https://.../default.castr 20211118-00-c991bcaf.caidx
drwxr-xr-x dir
...

This is a real problem when the content is remote. I downloaded the .caidx file and thought I could use it to figure out what to download from the remote store, however list operations take minutes.