[BUG] Mirror repo not finding snapshots to sync
Prerequisites
- I have read the troubleshooting guide
Rclone Pre-flight Checklist (if applicable)
- This issue is NOT related to rclone (skip if not using rclone)
- I have tested
rclone listremotesandrclone lsd remote:on the host and they work - I have verified the rclone config is mounted into the container
- I have restarted the container after config changes
Bug Description
I have created a backup job and successfully backed up data to a B2 bucket using the S3 repo option. After backing up 3 times (3 snapshots) I tried to create a mirror to an icloud remote configured using rclone, however whenever I hit "sync more snapshots" it doesn't seem to find my 3 existing snapshots in order to back them up to the mirror.
You can see in the photo here my existing snapshots are there, but zerobyte doesn't find them in order for me to back them up. It just says "Sync 0 snapshots" with the option still greyed out since none are loaded.
Steps to Reproduce
- Create a backup job to a B2 bucket and run a couple of backups.
- Configure an icloud remote using rclone and add the rclone config to the zerobyte container
- Configure an icloud repo in zerobyte using the existing rclone config
- Verify the repo populates in icloud
- Attempt to add the icloud repo as a backup mirror and sync existing snapshots
Expected Behavior
Hitting the "sync more snapshots" should find existing snapshots for backing up to the icloud mirror remote.
Zerobyte version / commit
0.42
Deployment Method
Docker Compose
Backup/Repository Context
Initial backup is to a B2 bucket using the S3 repo option. Mirror repo is setup to an icloud rclone remote
Logs / Error Messages
rclone version
rclone v1.75.0
- os/version: debian 12.15 (64 bit)
- os/kernel: 6.8.12-30-pve (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.26.5
- go/linking: static
- go/tags: nonerclone listremotes
icloud:rclone lsd icloud: 2>&1
0 2000-01-01 00:00:00 -1 Desktop
0 2000-01-01 00:00:00 -1 Documents
633699920 2000-01-01 00:00:00 -1 Downloads
772321 2000-01-01 00:00:00 -1 backupssudo docker exec zerobyte ls -la /root/.config/rclone/
total 6
drwxrwxr-x 2 1001 1001 3 Sep 3 14:16 .
drwxr-xr-x 3 root root 3 Sep 3 15:22 ..
-rw------- 1 1001 1001 4017 Sep 3 14:16 rclone.confsudo docker exec zerobyte env | grep RCLONE
VITE_RCLONE_VERSION=1.75.0sudo docker inspect zerobyte --format='{{.HostConfig.CapAdd}}'
[CAP_SYS_ADMIN]sudo docker inspect zerobyte --format='{{.HostConfig.Devices}}'
[{/dev/fuse /dev/fuse rwm}]Source: nicotsx/zerobyte