Add a way to backup gitea and upload to S3 #1

Closed
opened 2020-07-11 15:25:40 +00:00 by MOZGIII · 3 comments
MOZGIII commented 2020-07-11 15:25:40 +00:00 (Migrated from gitea.com)

Gitea is a service that needs redular backups. Would be great if Helm Chart offered a built-in way to run backups and upload the archives to S3.

Gitea is a service that needs redular backups. Would be great if Helm Chart offered a built-in way to run backups and upload the archives to S3.
techknowlogick commented 2020-07-12 03:29:27 +00:00 (Migrated from gitea.com)

Utilizing backup tools, such as mysqldump/pg_dump for database (crunchydata has a good one for postgres operator), and restic for repos on disk, may be a better approach than adding in backups into the chart, as you can leverage things such as incremental backups, etc..

This is however my opinion, and so I will leave this open in case someone would like to send a PR for this ticket.

Utilizing backup tools, such as mysqldump/pg_dump for database (crunchydata has a good one for postgres operator), and restic for repos on disk, may be a better approach than adding in backups into the chart, as you can leverage things such as incremental backups, etc.. This is however my opinion, and so I will leave this open in case someone would like to send a PR for this ticket.
sstubbs commented 2020-08-23 17:47:32 +00:00 (Migrated from gitea.com)

An integrated backup solution would be great for the database. Perhaps it would also be good idea to change the deployment https://gitea.com/gitea/helm-chart/src/branch/master/templates/deployment.yaml to a statefulset so velero can do incremental backups.

An integrated backup solution would be great for the database. Perhaps it would also be good idea to change the deployment https://gitea.com/gitea/helm-chart/src/branch/master/templates/deployment.yaml to a statefulset so velero can do incremental backups.
sstubbs commented 2020-08-23 18:55:32 +00:00 (Migrated from gitea.com)

An integrated backup solution would be great for the database. Perhaps it would also be good idea to change the deployment https://gitea.com/gitea/helm-chart/src/branch/master/templates/deployment.yaml to a statefulset so velero can do incremental backups.

Nevermind I see it is a statefulset now.

> An integrated backup solution would be great for the database. Perhaps it would also be good idea to change the deployment https://gitea.com/gitea/helm-chart/src/branch/master/templates/deployment.yaml to a statefulset so velero can do incremental backups. Nevermind I see it is a statefulset now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lunny/helm-chart#1
No description provided.