Skip to content

[BUG] Mirror repo not finding snapshots to sync #1139

Description

@hbilbo

Prerequisites

Rclone Pre-flight Checklist (if applicable)

  • This issue is NOT related to rclone (skip if not using rclone)
  • I have tested rclone listremotes and rclone 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.

Image

Steps to Reproduce

  1. Create a backup job to a B2 bucket and run a couple of backups.
  2. Configure an icloud remote using rclone and add the rclone config to the zerobyte container
  3. Configure an icloud repo in zerobyte using the existing rclone config
  4. Verify the repo populates in icloud
  5. 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: none
rclone 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 backups
sudo 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.conf
sudo docker exec zerobyte env | grep RCLONE
VITE_RCLONE_VERSION=1.75.0
sudo docker inspect zerobyte --format='{{.HostConfig.CapAdd}}'
[CAP_SYS_ADMIN]
sudo docker inspect zerobyte --format='{{.HostConfig.Devices}}'
[{/dev/fuse /dev/fuse rwm}]

icloud_mirror_repo.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions