backups

by foomo

Helm chartv0.2.4App 0.2.4Verified publisher

Helm chart for backing things up.

About this chart

backups

Helm chart for backing things up.

Homepage: https://www.foomo.org

Resources

Values

Cronjob

KeyTypeDefaultDescription
cronjob.backoffLimitint6Set the cronjob parameter backoffLimit
cronjob.concurrencystring"Forbid"Set the cronjob parameter concurrency
cronjob.failedJobsHistoryLimitint1Set the cronjob parameter failedJobsHistoryLimit
cronjob.podAnnotationsobject{}Pod annotations
cronjob.podLabelsobject{}Pod labels
cronjob.restartstring"Never"Set the cronjob parameter restart
cronjob.schedulestring"@daily"Set the cronjob parameter schedule
cronjob.startingDeadlineSecondsint0Set the cronjob parameter startingDeadlineSeconds
cronjob.successfulJobsHistoryLimitint1Set the cronjob parameter successfulJobsHistoryLimit
cronjob.ttlSecondsAfterFinishedint0Set the cronjob parameter ttlSecondsAfterFinished

Contentful

KeyTypeDefaultDescription
dump.contentful.imagestring"foomo/contentful-cli:v3.10.2"Contentful image https://hub.docker.com/r/foomo/contentful-cli/tags
dump.contentful.passwordstring""Contentful password
dump.contentful.spaceIdstring""Contentful space id

Dump

KeyTypeDefaultDescription
dump.dump.extraEnvlist[]Environment variables to add to pg dump container
dump.pullPolicystring"IfNotPresent"Image tag
dump.typestring"postgres"Storage type
dump.upload.extraEnvlist[]Environment variables to add to save container

MongoDB

KeyTypeDefaultDescription
dump.mongodb.hoststring""MongoDB host
dump.mongodb.imagestring"mongo:9.0.4"MongoDB image https://hub.docker.com/_/mongo
dump.mongodb.namestring"instance-name"MongoDB instance name
dump.mongodb.passwordstring""MongoDB password
dump.mongodb.portstring"27017"MongoDB port
dump.mongodb.userstring""MongoDB user name

Postgres

KeyTypeDefaultDescription
dump.postgres.hoststring""Postgres host
dump.postgres.imagestring""Postgres image
dump.postgres.namestring"instance-name"Postgres instance name
dump.postgres.passwordstring""Postgres password
dump.postgres.portstring"5432"Postgres port
dump.postgres.typestring"SelfHosted"Set the type of postgres database
dump.postgres.userstring""Postgres user name

Overrides

KeyTypeDefaultDescription
fullnameOverridestring""Overrides the chart's computed fullname
nameOverridestring""Overrides the chart's name
namespaceOverridestring""The name of the Namespace to deploy

General

KeyTypeDefaultDescription
revisionHistoryLimitint10Number of revisions to keep

Service Account

KeyTypeDefaultDescription
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountbooltrueAutomatically mount a ServiceAccount's API credentials?
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use.

Upload

KeyTypeDefaultDescription
upload.azure.clientIdstring""Azure Client ID
upload.azure.containerNamestring""Container name
upload.azure.imagestring"mcr.microsoft.com/azure-cli:2.91.0"Upload image name https://learn.microsoft.com/en-us/cli/azure/release-notes-azure-cli?view=azure-cli-latest
upload.azure.prefixstring""Bucket prefix
upload.azure.storageAccountstring""Storage Account name
upload.azure.tenantIdstring""Azure Tenant ID
upload.azure.workloadIdentity.enabledboolfalseEnable Azure Workload Identity
upload.gcs.bucketstring""Bucket name
upload.gcs.imagestring"google/cloud-sdk:591.0.0"Upload image name https://hub.docker.com/r/google/cloud-sdk/tags
upload.gcs.prefixstring""Bucket prefix
upload.gcs.projectIdstring""GCP Project ID
upload.pullPolicystring"IfNotPresent"Image tag
upload.s3.accessKeystring""Bucket access key
upload.s3.bucketstring""Bucket name
upload.s3.endpointstring""Bucket endpoint
upload.s3.imagestring"amazon/aws-cli:2.39.2"Upload image name https://hub.docker.com/r/amazon/aws-cli/tags
upload.s3.prefixstring""Bucket prefix
upload.s3.regionstring""Bucket region
upload.s3.secretAccessKeystring""Bucket secret access key
upload.typestring"s3"Storage type

Deploy backups with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has backups 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 chartbackups is pinned at v0.2.4 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