mongodb-backup
dasmeta/mongodb-backup/aws
Terraform module to backup mongodb contents into S3 for AWS / EKS
About Helm chart install Terraform module to backup and restore a Mongo database. Usage mongodb_backup_minimal: ``hcl module mongodb_backup_minimal { source = "dasmeta/mongodb-backup/aws" mongodb_host = "localhost" mongodb_username = "root" mongodb_password = "password" cron_schedule = "0 3 " # “every day at 03:00 am” run_as_daemon = "false" init_backup = "false" backup_user_name = "aws-iam-user" s3_bucket = "aws-s3-bucket-name" # it suppose this bucket already creaated } ` mongodb_backup_connection_url: `hcl module mongodb_backup_connection_url { source = "dasmeta/mongodb-backup/aws" app_name = "test" mongodb_host = "localhost" mongodb_uri = "mongodb+srv://..." cron_schedule = "/5 " run_as_daemon = "false" init_backup = "false" backup_user_name = "backup_user" s3_bucket = "mongoatlas-dev-
| Name | Type | Description | Default |
|---|---|---|---|
| s3_bucket | string | The bucket backups will be stored. | required |
| run_as_daemon | string | in case of true deployment will be created (as daemon) elwise kube cronJob will | "false" |
| aws_default_region | string | aws-default-region. | "eu-central-1" |
| app_name | string | Helm app/release name | "mongodb-backup-aws" |
| mongodb_database | string | Mongodb database to be backed up. All databases will be backed up if not specifi | "" |
| max_backups | string | Max backups' | "30" |
| init_backup | string | If enabled scripts will do backup right on the start and then according to the s | false |
| backup_user_name | string | Backup user name for s3 bucket | "mongodb-backup-s3-bucket" |
| mongodb_username | string | Mongodb user name script will need to pull data from mongodb. | "" |
| mongodb_uri | string | --uri param from mongodump docs | "" |
| mongodb_host | string | Mongodb host name backup script will be taking data from. | "localhost" |
| mongodb_exclude_collections | string | Mongodb collections to be excluded from the backup. All collections will be back | "" |
| mongodb_password | string | Mongodb user password script will need to pull data from mongodb. | "" |
| mongodb_port | string | Mongodb user password script will need to pull data from mongodb. | "27017" |
| create_user | bool | Create User for S3 | true |
| volume_storageClass | string | Volume strage class AWS will be claimed for. No need for fast storage as this wi | "gp2" |
| cron_schedule | string | Backup schedule, in crojob format. E.g. '3 0 * * *' | "3 0 * * *" |
| init_restore | string | If enabled scripts will do restore right on the start and then according to the | false |
| app_version | string | Helm app/release version | "0.1.0" |
| namespace | string | Helm app/release namespace | "default" |
| resources | object({ limits = object({ | Allows to set cpu/memory resources Limits/Requests for deployment/cronjob | {
"limits": {
"cpu": "300m",
" |
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,