{
  "manifest_version": "1.0.0",
  "template": {
    "id": "1e7745d2-ce36-483e-a01e-9a807afaf408",
    "slug": "16Nb5i",
    "name": "Postgres Backup to your Google Drive",
    "description": "Backup a Postgres DB to your Personal Google Drive",
    "url": "https://railway.com/deploy/16Nb5i",
    "upstream": {
      "repo_url": "https://github.com/doiska/postgres-gdrive-backup"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "backup-postgres-gdrive",
      "source": {
        "repo": "https://github.com/doiska/postgres-gdrive-backup"
      },
      "needs_volume": false,
      "http": false
    }
  ],
  "required_inputs": [
    {
      "key": "FOLDER_ID",
      "service": "backup-postgres-gdrive",
      "description": "The folder id from your GDrive, it will be at the end of the url.",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "DATABASE_URL",
      "service": "backup-postgres-gdrive",
      "description": "Your database url (includes postgresql://))",
      "secret": false,
      "strategy": "ask_user"
    },
    {
      "key": "RUN_ON_START",
      "service": "backup-postgres-gdrive",
      "description": "Run the backup right after the service is deployed",
      "secret": false,
      "strategy": "default",
      "default": "true"
    },
    {
      "key": "CRON_EXPRESSION",
      "service": "backup-postgres-gdrive",
      "description": "-1 to disable cron (in case you are using Railway's cron)",
      "secret": false,
      "strategy": "default",
      "default": "0 0 * * *"
    },
    {
      "key": "SERVICE_ACCOUNT",
      "service": "backup-postgres-gdrive",
      "description": "Your Service Account json (https://console.cloud.google.com/projectselector2/iam-admin/serviceaccounts)",
      "secret": false,
      "strategy": "ask_user"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "16Nb5i"
      }
    },
    "cli": "railway deploy --template 16Nb5i",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "1e7745d2-ce36-483e-a01e-9a807afaf408",
            "serializedConfig": {
              "services": {
                "2e83cb8b-adfa-4641-916f-e4e2963c89bf": {
                  "name": "backup-postgres-gdrive",
                  "build": {},
                  "deploy": {},
                  "source": {
                    "repo": "https://github.com/doiska/postgres-gdrive-backup"
                  },
                  "variables": {
                    "FOLDER_ID": {
                      "isOptional": false,
                      "description": "The folder id from your GDrive, it will be at the end of the url.",
                      "defaultValue": "{{FOLDER_ID}}"
                    },
                    "DATABASE_URL": {
                      "isOptional": false,
                      "description": "Your database url (includes postgresql://))",
                      "defaultValue": "{{DATABASE_URL}}"
                    },
                    "RUN_ON_START": {
                      "isOptional": true,
                      "description": "Run the backup right after the service is deployed",
                      "defaultValue": "true"
                    },
                    "CRON_EXPRESSION": {
                      "isOptional": false,
                      "description": "-1 to disable cron (in case you are using Railway's cron)",
                      "defaultValue": "0 0 * * *"
                    },
                    "SERVICE_ACCOUNT": {
                      "isOptional": false,
                      "description": "Your Service Account json (https://console.cloud.google.com/projectselector2/iam-admin/serviceaccounts)",
                      "defaultValue": "{{SERVICE_ACCOUNT}}"
                    }
                  },
                  "networking": {
                    "tcpProxies": {},
                    "serviceDomains": {}
                  },
                  "volumeMounts": {}
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {},
  "resources": {
    "expected_services": 1,
    "needs_volume": false
  },
  "generated_at": "2026-09-13T04:14:39.446Z",
  "generator_version": "0.1.0"
}
