-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi, for database the recommended way is to use backup tools specific for the databases. Velero is an awesome backup tool and can back up persistent volumes using Hetzner block storage (using restic behind the scenes), but there is the risk of data corruption with the database when you try to restore, because some data might be changed while Velero is backing up. There is actually a potential fix for this with Velero using The nice thing with Velero is that you can back up an entire namespace and restore it in a new cluster as it is. But there is the problem I described above. For databases it's anyway better to use the database's own backup tool (like pg_dump for Postgres or mysqldump for MySQL and so on) because it guarantees crash consistent backups, and also allows for restoring the database anywhere, not just in a Kubernetes cluster. Which databases are you referring to? |
Beta Was this translation helpful? Give feedback.
Hi, sorry for the delay. To use my image first create a secret with both the Postgres password and the S3 credentials:
Then create a cronjob for each databaase