{
  "manifest_version": "1.0.0",
  "template": {
    "id": "92b1e896-0cde-4fa2-b88c-6a3c3014e52d",
    "slug": "tqxaEg",
    "name": "Postgres Backup to GCS",
    "description": "Postgres backups to Google Cloud Storage (GCS)",
    "url": "https://railway.com/deploy/tqxaEg",
    "upstream": {
      "repo_url": "https://github.com/drmarshall/postgres-gcs-backups"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "Postgres Backup to GCS",
      "source": {
        "repo": "https://github.com/drmarshall/postgres-gcs-backups"
      },
      "needs_volume": false,
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "GCS_BUCKET",
      "service": "Postgres Backup to GCS",
      "description": "Your GCS bucket name (you must create it first)",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "GOOGLE_PROJECT_ID",
      "service": "Postgres Backup to GCS",
      "description": "The ID of your Google Cloud Project",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "BACKUP_DATABASE_URL",
      "service": "Postgres Backup to GCS",
      "description": "The connection string for the database you want to backup",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    },
    {
      "key": "BACKUP_CRON_SCHEDULE",
      "service": "Postgres Backup to GCS",
      "description": "The cron schedule to run the backup on.",
      "secret": false,
      "strategy": "default",
      "default": "0 5 * * *"
    },
    {
      "key": "SERVICE_ACCOUNT_JSON",
      "service": "Postgres Backup to GCS",
      "description": "JSON string of the service account .json key. See: https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "tqxaEg"
      }
    },
    "cli": "railway deploy --template tqxaEg",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "92b1e896-0cde-4fa2-b88c-6a3c3014e52d",
            "serializedConfig": {
              "services": {
                "072c8d1a-29fe-412d-95e6-3105c738cce3": {
                  "name": "Postgres Backup to GCS",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "https://github.com/drmarshall/postgres-gcs-backups"
                  },
                  "variables": {
                    "GCS_BUCKET": {
                      "isOptional": false,
                      "description": "Your GCS bucket name (you must create it first)",
                      "defaultValue": "{{GCS_BUCKET}}"
                    },
                    "BACKUP_PREFIX": {
                      "isOptional": true,
                      "description": "Prefix for the backup file name."
                    },
                    "RUN_ON_STARTUP": {
                      "isOptional": true,
                      "description": "Run a backup on startup of this application",
                      "defaultValue": ""
                    },
                    "GOOGLE_PROJECT_ID": {
                      "isOptional": false,
                      "description": "The ID of your Google Cloud Project",
                      "defaultValue": "{{GOOGLE_PROJECT_ID}}"
                    },
                    "BACKUP_DATABASE_URL": {
                      "isOptional": false,
                      "description": "The connection string for the database you want to backup",
                      "defaultValue": "${{Postgres.DATABASE_URL}}"
                    },
                    "BACKUP_CRON_SCHEDULE": {
                      "isOptional": true,
                      "description": "The cron schedule to run the backup on.",
                      "defaultValue": "0 5 * * *"
                    },
                    "SERVICE_ACCOUNT_JSON": {
                      "isOptional": false,
                      "description": "JSON string of the service account .json key. See: https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating",
                      "defaultValue": "{{SERVICE_ACCOUNT_JSON}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {
                      "<hasDomain>": {}
                    }
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-22T22:14:50.114Z",
  "generator_version": "0.1.0"
}
