s3 for replication
I setup ente and it's working well! i'm hosting with a s3 provider using minio and it's working great. I'm wondering now about adding the other 2 buckets for replication - is that possible to do after the site is up and running?
11 Replies
Yes, it is possible to add the other two buckets for replication after the site is up and running.
To enable replication, you need to set
replication.enabled to true. For this to work, a total of 3 buckets must be configured. Replication works only if all 3 storage buckets are configured (2 hot and 1 cold storage). You can find more information on configuring object storage at https://help.ente.io/self-hosting/administration/object-storage#configuring-object-storage.
Replication is disabled by default, with only the first bucket (b2-eu-cen) being used initially. If you'd like to set one of the other pre-defined buckets as the primary bucket, use the s3.hot_storage.primary option. More details are available at https://help.ente.io/self-hosting/administration/object-storage#replication and in the discussion at https://github.com/ente-io/ente/discussions/3167#discussioncomment-10585970, as well as in Ente's article on ensuring reliability at https://ente.io/reliability/.
-# If your issue is resolved, feel free to use the /solved command to close this thread. If you'd like to ask me another question use /docsearchente
Reliability and Replication
Ente keeps 3 encrypted copies of your data across EU data centers—including an underground facility—to ensure durability and protect against data loss.
Configuring Object Storage - Self-hosting | Ente Help
Configure Object Storage for storing files along with some troubleshooting tips
GitHub
Self hosting: replication not working/unreliable when only two buck...
Hello there! I've been playing around with self hosting Ente and love it so far. I've tried to set up replication between the primary b2-eu-cen bucket and scw-eu-fr-v3, using Backblaze and ...
🔍 Similar Solved Posts
Found some similar posts that might help:
📋 Check these out:
OK. I've populated the 3 containers per museum.yaml and restarted the containers but nothing seems to be replicating. Is there additional config lines that need to be added to museum.yaml to get it to start? I don't have any errors or anything. objects are only being placed in the primary bucket
replication.enabled is set to true?
where is that at? it's nowhere in this documentation page or example museum.yaml? (https://help.ente.io/self-hosting/administration/object-storage)
Configuring Object Storage - Self-hosting | Ente Help
Configure Object Storage for storing files along with some troubleshooting tips
ok. think i got it. that might be good to add to the s3 section of the docs. For any one else curious, add this to museum.yaml:
Yeah, I only found about that here in docs: https://help.ente.io/self-hosting/installation/config#replication
Configuration - Self-hosting | Ente Help
Information about all the configuration variables needed to run Ente with museum.yaml
Is there anyway to do this without all 3? Seems excessive
Documentation was updated and now have that info there too. :ducky_happy_zoomed:
AFAIK, no. But you could use local minio (hot) + s3 (hot) and s3 (cold).
I don't want to pay to have an extra copy :/ I just want local minio + s3 backup
I guess I will write up a script to manually replicate it weekly or something
If you only put in the first bucket info it’ll only use that. You just won’t have replication