{
  "manifest_version": "1.0.0",
  "template": {
    "id": "795dad7f-eb41-4fea-9617-57be081c9aed",
    "slug": "BZJOmR",
    "name": "mysql-s3-backups",
    "description": "Backup your MySQL or MariaDB database to S3 via a cron.",
    "url": "https://railway.com/deploy/BZJOmR",
    "upstream": {
      "repo_url": "https://github.com/PenguinOfWar/mysql-s3-backups"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "mysql-s3-backups",
      "source": {
        "repo": "https://github.com/PenguinOfWar/mysql-s3-backups"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "AWS_S3_BUCKET",
      "service": "mysql-s3-backups",
      "description": "The name of the bucket that the access key ID and secret access key are authorized to access.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_S3_REGION",
      "service": "mysql-s3-backups",
      "description": "The name of the region your bucket is located in, set to `auto` if unknown.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "mysql-s3-backups",
      "description": "AWS access key ID",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "BACKUP_DATABASE_HOST",
      "service": "mysql-s3-backups",
      "description": "The host of the database to backup.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "BACKUP_DATABASE_NAME",
      "service": "mysql-s3-backups",
      "description": "The name of the database to backup.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "BACKUP_DATABASE_PORT",
      "service": "mysql-s3-backups",
      "description": "The port of the database to backup.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "mysql-s3-backups",
      "description": "AWS secret access key, sometimes also called an application key.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "BACKUP_DATABASE_PASSWORD",
      "service": "mysql-s3-backups",
      "description": "The password of the database to backup.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "BACKUP_DATABASE_USERNAME",
      "service": "mysql-s3-backups",
      "description": "The username of the database to backup.",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "BZJOmR"
      }
    },
    "cli": "railway deploy --template BZJOmR",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "795dad7f-eb41-4fea-9617-57be081c9aed",
            "serializedConfig": {
              "services": {
                "e7c837e5-1ff9-4b92-8156-b8f888fb2f68": {
                  "name": "mysql-s3-backups",
                  "source": {
                    "repo": "PenguinOfWar/mysql-s3-backups",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "AWS_S3_BUCKET": {
                      "isOptional": false,
                      "description": "The name of the bucket that the access key ID and secret access key are authorized to access.",
                      "defaultValue": "{{AWS_S3_BUCKET}}"
                    },
                    "AWS_S3_REGION": {
                      "isOptional": false,
                      "description": "The name of the region your bucket is located in, set to `auto` if unknown.",
                      "defaultValue": "{{AWS_S3_REGION}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "AWS access key ID",
                      "defaultValue": "{{AWS_ACCESS_KEY_ID}}"
                    },
                    "BACKUP_DATABASE_HOST": {
                      "isOptional": false,
                      "description": "The host of the database to backup.",
                      "defaultValue": "{{BACKUP_DATABASE_HOST}}"
                    },
                    "BACKUP_DATABASE_NAME": {
                      "isOptional": false,
                      "description": "The name of the database to backup.",
                      "defaultValue": "{{BACKUP_DATABASE_NAME}}"
                    },
                    "BACKUP_DATABASE_PORT": {
                      "isOptional": false,
                      "description": "The port of the database to backup.",
                      "defaultValue": "{{BACKUP_DATABASE_PORT}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "AWS secret access key, sometimes also called an application key.",
                      "defaultValue": "{{AWS_SECRET_ACCESS_KEY}}"
                    },
                    "BACKUP_DATABASE_PASSWORD": {
                      "isOptional": false,
                      "description": "The password of the database to backup.",
                      "defaultValue": "{{BACKUP_DATABASE_PASSWORD}}"
                    },
                    "BACKUP_DATABASE_USERNAME": {
                      "isOptional": false,
                      "description": "The username of the database to backup.",
                      "defaultValue": "{{BACKUP_DATABASE_USERNAME}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0"
}
