dbdump
by djjudas21
Helm chartv0.0.17App 0.0.9Verified publisher
A Helm chart to help backup SQL databases using mysqldump and pgdump
About this chart
dbdump
A Helm chart to help backup SQL databases using mysqldump and pgdump
Homepage: https://github.com/djjudas21/dbdump
Maintainers
| Name | Url | |
|---|---|---|
| djjudas21 | [email protected] |
Source Code
- https://hub.docker.com/repository/docker/djjudas21/dbdump/general
- https://github.com/djjudas21/charts
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| databases | list | [{"allDatabases":"true","database":"","debug":"false","host":"example.com","password":"","port":"3306","schedule":"","type":"","username":"root"}] | to be used only when there's an existing database to backup. |
| databases[0] | object | {"allDatabases":"true","database":"","debug":"false","host":"example.com","password":"","port":"3306","schedule":"","type":"","username":"root"} | Database host to connect to (must be unique) |
| databases[0].allDatabases | string | "true" | Back up all databases (overrides database) |
| databases[0].database | string | "" | DB name for single DB backup |
| databases[0].debug | string | "false" | Enable debug output |
| databases[0].password | string | "" | Database password |
| databases[0].port | string | "3306" | Database port |
| databases[0].schedule | string | "" | Override crontab schedule for this host |
| databases[0].type | string | "" | Database type, mysql or postgresql |
| databases[0].username | string | "root" | Database username |
| failedJobsHistoryLimit | int | 3 | number of failed jobs to remember |
| fullnameOverride | string | "" | |
| housekeeping | object | {"enabled":true,"keepDays":10} | delete old backups |
| housekeeping.enabled | bool | true | delete old backups |
| housekeeping.keepDays | int | 10 | backup retention period |
| image.pullPolicy | string | "IfNotPresent" | image pull policy |
| image.repository | string | "djjudas21/dbdump" | image repository |
| image.tag | string | chart.appVersion | image tag |
| imagePullSecrets | list | [] | |
| mysqldumpOptions | string | "--single-transaction" | options to pass to mysqldump |
| nameOverride | string | "" | |
| nodeSelector | object | {} | resource definitions |
| persistence.accessMode | string | "ReadWriteMany" | accessMode to use for PVC |
| persistence.enabled | bool | true | create new PVC |
| persistence.size | string | "8Gi" | size of PVC to create |
| persistence.storageClass | string | "" | storage class to use for PVC |
| persistence.subPath | string | "" | subPath for PVC |
| pgdumpOptions | string | "" | options to pass to pgdump |
| podAnnotations | object | {} | |
| resources | object | {} | resource definitions |
| schedule | string | "0 3 * * *" | cron time setting for backup schedule |
| securityContext | object | {"enabled":false,"fsGroup":999,"runAsUser":999} | Pod Security Context |
| securityContext.enabled | bool | false | set true to change default security context of job/cronjob |
| securityContext.fsGroup | int | 999 | group ID to use |
| securityContext.runAsUser | int | 999 | user ID to use |
| successfulJobsHistoryLimit | int | 3 | number of successful jobs to remember |
| tolerations | list | [] |
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy dbdump with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dbdump on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdbdump is pinned at v0.0.17 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply