{
  "manifest_version": "1.0.0",
  "template": {
    "id": "50645a4f-0287-4a9f-b2bc-a58509fff533",
    "slug": "UGKaB8",
    "name": "One Time PostgreSQL S3 Backup",
    "description": "Backup your PostgreSQL database into a S3 bucket using Railway CRON",
    "url": "https://railway.com/deploy/UGKaB8",
    "upstream": {
      "repo_url": "https://github.com/MatteoGauthier/pg-backup-s3-one-time"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "onetime-pg-s3-backup",
      "source": {
        "repo": "https://github.com/MatteoGauthier/pg-backup-s3-one-time"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "AWS_S3_BUCKET",
      "service": "onetime-pg-s3-backup",
      "description": "The name of the S3 bucket.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_S3_ENDPOINT",
      "service": "onetime-pg-s3-backup",
      "description": "A custom S3 endpoint if using a separate S3 compatible service.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_ACCESS_KEY_ID",
      "service": "onetime-pg-s3-backup",
      "description": "The access key ID for the IAM user.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "BACKUP_DATABASE_URL",
      "service": "onetime-pg-s3-backup",
      "description": "The database url for the database to backup. Set to ${{ DATABASE_URL }} if the database is in the same project.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "AWS_SECRET_ACCESS_KEY",
      "service": "onetime-pg-s3-backup",
      "description": "The secret access key for the IAM user.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "UGKaB8"
      }
    },
    "cli": "railway deploy --template UGKaB8",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "50645a4f-0287-4a9f-b2bc-a58509fff533",
            "serializedConfig": {
              "services": {
                "fe7f1da1-3dd8-4a9b-8d3c-227f8dd6af93": {
                  "name": "onetime-pg-s3-backup",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "https://github.com/MatteoGauthier/pg-backup-s3-one-time"
                  },
                  "variables": {
                    "AWS_S3_BUCKET": {
                      "isOptional": false,
                      "description": "The name of the S3 bucket.",
                      "defaultValue": "{{AWS_S3_BUCKET}}"
                    },
                    "AWS_S3_REGION": {
                      "isOptional": true,
                      "description": "The region the S3 bucket is in."
                    },
                    "AWS_S3_ENDPOINT": {
                      "isOptional": false,
                      "description": "A custom S3 endpoint if using a separate S3 compatible service.",
                      "defaultValue": "{{AWS_S3_ENDPOINT}}"
                    },
                    "AWS_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "The access key ID for the IAM user.",
                      "defaultValue": "{{AWS_ACCESS_KEY_ID}}"
                    },
                    "BACKUP_DATABASE_URL": {
                      "isOptional": false,
                      "description": "The database url for the database to backup. Set to ${{ DATABASE_URL }} if the database is in the same project.",
                      "defaultValue": "{{BACKUP_DATABASE_URL}}"
                    },
                    "AWS_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "The secret access key for the IAM user.",
                      "defaultValue": "{{AWS_SECRET_ACCESS_KEY}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-21T16:15:12.787Z",
  "generator_version": "0.1.0"
}
