Open aprice30 opened 2 months ago
Hi,
Thanks for mentioning the nautical-backup.override-source-dir
label not accepting multiple values. I should be able to fix this.
I'm looking through your config. I noticed the volumes app_data, app_letsencrypt, db_mysql
are not bind mounts. Currently, this is the only type of volume that Nautical natively supports. We do currently have an issue open to track this here https://github.com/Minituff/nautical-backup/issues/304.
I have started on this feature already, but I think it's going to end up being a fairly large update and will require the transition to Version 3.0 -- meaning it will introduce some breaking changes from V2.
I can help you move over to bind mounts if you'd like, or you can standby a little bit until I get V3 rolled out.
It seems to work with the volumes except I do get some errors about chown while it copies folders. The files appear to copy but it says attributes may not have copies.I will stick with docker volumes for now and wait for v3 I think. I’ll watch those issues and can test when released. ---- On Wed, 18 Sep 2024 01:41:07 +0100 ***@***.******@***.***> wrote ----
Hi, Thanks for mentioning the nautical-backup.override-source-dir label not accepting multiple values. I should be able to fix this. I'm looking through your config. I noticed the volumes app_data, app_letsencrypt, db_mysql are not bind mounts. Currently, this is the only type of volume that Nautical natively supports. We do currently have an issue open to track this here #304. I have started on this feature already, but I think it's going to end up being a fairly large update and will require the transition to Version 3.0 -- meaning it will introduce some breaking changes from V2. I can help you move over to bind mounts if you'd like, or you can standby a little bit until I get V3 rolled out.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
So I have the following compose.yaml
As you can see it has 2 services and the
app
service has 2 volumes. As I am using portainer and compose the volumes are called:I tried to apply the following label but it is ignored and the volumes are skipped (https://minituff.github.io/nautical-backup/labels/#override-source-directory-name)
To get this to work I had to use the global VAR
So it seems the container label does not allow a comma separated list but the global does. Would be nice if they were similar as its annoying most config is at my container level except this one.