𝓢𝓮𝓮𝓙𝓪𝔂𝓔𝓶𝓶

  • 7 Posts
  • 55 Comments
Joined 1 year ago
cake
Cake day: June 26th, 2023

help-circle











  • Be aware your backup is useless, if you don’t backup nextclouds database when using a bucket as primary storage ☝🏻

    Understood. My hope was to mount the bucket locally (ro) and have it backed up with the container backups using the built in borg backup option.

    rclone sync b2:mybucket otherprovider:otherbucket

    I’d prefer to have proper incremental backups not just a warm copy of the data.

    Rclone can mount and backup almost everything. It is a swiss knife and I love it.

    It seems to be very capable but I cannot make it work for my purposes. I fought with rclone/aio for a few hours yesterday trying to make it work.

    I was, quite easily, able to mount the B2 bucket to a local path. I used the --allow-other option to make it available to the whole system. Everything was accessible via the CLI, but the Nextcloud AIO admin refused to allow me to add that path to the backup job. I was unable to find any logs that indicated why. If I could get this working, I think, it would be ideal as the backups would be consistent.

    I also tried using a couple of the serve options. The nfs option would launch but mounts would fail with protocol errors. I couldn’t get the docker plugin to sync up properly with docker. I haven’t tried the restic serve option yet. I can provide logs if requested.

    Thanks for the help.







  • I’m rather confused by the config you posted. The NFS config should all be down in the volumes: section the only thing you reference in the service section is the name of the volume you define and the path to mount in the container. Something like this (tho I’m guessing as to what should be what with your setup).

    services:
      navidrome:
        container_name: navidrome
        image: deluan/navidrome:latest
        ports:
          - "4533:4533"
        environment:
          ND_SCANSCHEDULE: 1h
          ND_LOGLEVEL: info
        volumes:
          - /opt/navidrome/data:/data
          - music:/music
    volumes:
      music:
        driver_opts:
          type: nfs
          o: "addr=XXX.XXX.XXX.XXX,nolock,soft,ro"
          device: ":/nfs/Shared Music"