Back ups with offsite S3 buckets
Hey everyone,
I am using an off-site S3 Minio instance. If something happens to the server running Ente, and I able to connect to the same Minio instance, and recover the data?
I would assume no because of the E2EE, but I wanted to know if I backup the PostgreSQL DB if it is possible.
6 Replies
To backup your Ente instance, you should backup your
museum.yaml, credentials.yaml or any other custom configuration that you created for Museum, the API server. The entire data volume needs to be backed up for the database and object storage.
While the actual encrypted photos are indeed stored in the object storage, this encrypted data will not be usable without the database since the database contains information like a file specific encryption. A common oversight is taking a lot of care for backing up the object storage, even going as far as enabling replication and backing up the the multiple object storage volumes, but not applying the same care to the database backup.
-# 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 /docsearch🔍 Similar Solved Posts
Found some similar posts that might help:
📋 Check these out:
You would need your DB restored from backul and your credentials.
Using that and a new setup which connects to the same s3 as before should work.
See this post:
https://discord.com/channels/948937918347608085/1400224637060780183/1404336361133314189
Keerthana
Sorry for the late response.
You will need 3 buckets if you wish to have high availability, that way, even if one goes down, you can restore based on other 2 buckets.
And if you really need HA, you should use a dedicated S3 compatible storage service for reliability since MinIO instances aren't reliable for long term usage (we include it in quickstart script since it's easier to get started with) and create replica of the DB.
Doing backups of both the database and object storage is important for ensuring availability on disaster, this is the most important thing to be taken into consideration.
Hope it helps
Yes, you need a proper dump of DB and S3 that is hopefully tested with a restoration (backup without restoration is noise), and if you really do wish to store long term, will advise to go with Backblaze or other S3 compatible provider for reliability, MinIO doesn't cut out and is intended to get started.
Thread marked as solved. It will be closed in <t:1755557529:R>.
This thread is now closed.