{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1435f1de-90f2-4c76-9146-0d534f267998",
    "slug": "mongodb-s3-backup",
    "name": "mongodb S3 Backup",
    "description": "Deploy and Host mongodb S3 Backup with Railway",
    "url": "https://railway.com/deploy/mongodb-s3-backup",
    "upstream": {
      "repo_url": "https://github.com/CasaZurigo/mongodb-s3-backup"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "mongodb-s3-backup",
      "source": {
        "repo": "https://github.com/CasaZurigo/mongodb-s3-backup"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "S3_BUCKET",
      "service": "mongodb-s3-backup",
      "description": "S3 Bucket name",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "S3_REGION",
      "service": "mongodb-s3-backup",
      "description": "Region of the of S3 Bucket https://<region>.s3-example.com",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "MONGODB_URI",
      "service": "mongodb-s3-backup",
      "description": "URI pointing towards your MongoDB",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "S3_ACCESS_KEY_ID",
      "service": "mongodb-s3-backup",
      "description": "S3 Key ID/Username",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "S3_SECRET_ACCESS_KEY",
      "service": "mongodb-s3-backup",
      "description": "S3 Secret Access Key/Password",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "mongodb-s3-backup"
      }
    },
    "cli": "railway deploy --template mongodb-s3-backup",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1435f1de-90f2-4c76-9146-0d534f267998",
            "serializedConfig": {
              "services": {
                "39d2f7ca-7513-4794-9462-ad10b1d3583d": {
                  "name": "mongodb-s3-backup",
                  "deploy": {
                    "startCommand": "bun run start"
                  },
                  "source": {
                    "repo": "CasaZurigo/mongodb-s3-backup",
                    "branch": null,
                    "rootDirectory": null
                  },
                  "variables": {
                    "S3_BUCKET": {
                      "isOptional": false,
                      "description": "S3 Bucket name",
                      "defaultValue": "{{S3_BUCKET}}"
                    },
                    "S3_REGION": {
                      "isOptional": false,
                      "description": "Region of the of S3 Bucket https://<region>.s3-example.com",
                      "defaultValue": "{{S3_REGION}}"
                    },
                    "MONGODB_URI": {
                      "isOptional": false,
                      "description": "URI pointing towards your MongoDB",
                      "defaultValue": "{{MONGODB_URI}}"
                    },
                    "S3_ENDPOINT": {
                      "isOptional": true,
                      "description": "Fully written S3 Bucket endpoint https://ch.s3-example.com",
                      "defaultValue": ""
                    },
                    "S3_KEY_PATH": {
                      "isOptional": true,
                      "description": "Path to where the backup should be stored",
                      "defaultValue": ""
                    },
                    "CRON_SCHEDULE": {
                      "isOptional": true,
                      "description": "Cron description: 5 4 * * * -> At 04:05",
                      "defaultValue": ""
                    },
                    "RETENTION_DAYS": {
                      "isOptional": true,
                      "description": "In Days, how long the oldest backup can be",
                      "defaultValue": ""
                    },
                    "S3_ACCESS_KEY_ID": {
                      "isOptional": false,
                      "description": "S3 Key ID/Username",
                      "defaultValue": "{{S3_ACCESS_KEY_ID}}"
                    },
                    "S3_SECRET_ACCESS_KEY": {
                      "isOptional": false,
                      "description": "S3 Secret Access Key/Password",
                      "defaultValue": "{{S3_SECRET_ACCESS_KEY}}"
                    }
                  },
                  "networking": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-15T22:14:40.394Z",
  "generator_version": "0.1.0"
}
