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

NameEmailUrl
djjudas21[email protected]

Source Code

Values

KeyTypeDefaultDescription
affinityobject{}
databaseslist[{"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].allDatabasesstring"true"Back up all databases (overrides database)
databases[0].databasestring""DB name for single DB backup
databases[0].debugstring"false"Enable debug output
databases[0].passwordstring""Database password
databases[0].portstring"3306"Database port
databases[0].schedulestring""Override crontab schedule for this host
databases[0].typestring""Database type, mysql or postgresql
databases[0].usernamestring"root"Database username
failedJobsHistoryLimitint3number of failed jobs to remember
fullnameOverridestring""
housekeepingobject{"enabled":true,"keepDays":10}delete old backups
housekeeping.enabledbooltruedelete old backups
housekeeping.keepDaysint10backup retention period
image.pullPolicystring"IfNotPresent"image pull policy
image.repositorystring"djjudas21/dbdump"image repository
image.tagstringchart.appVersionimage tag
imagePullSecretslist[]
mysqldumpOptionsstring"--single-transaction"options to pass to mysqldump
nameOverridestring""
nodeSelectorobject{}resource definitions
persistence.accessModestring"ReadWriteMany"accessMode to use for PVC
persistence.enabledbooltruecreate new PVC
persistence.sizestring"8Gi"size of PVC to create
persistence.storageClassstring""storage class to use for PVC
persistence.subPathstring""subPath for PVC
pgdumpOptionsstring""options to pass to pgdump
podAnnotationsobject{}
resourcesobject{}resource definitions
schedulestring"0 3 * * *"cron time setting for backup schedule
securityContextobject{"enabled":false,"fsGroup":999,"runAsUser":999}Pod Security Context
securityContext.enabledboolfalseset true to change default security context of job/cronjob
securityContext.fsGroupint999group ID to use
securityContext.runAsUserint999user ID to use
successfulJobsHistoryLimitint3number of successful jobs to remember
tolerationslist[]

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdbdump is pinned at v0.0.17 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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