13 days ago
Hello. A request for a managed PostgreSQL backup can return “GRAPHQL_ERROR: Failed to create a backup” without a backup ID. What are the common causes and recommended checks for this error? What is the official procedure for creating a backup and testing its restoration in an isolated environment without affecting the original database? Are there plan, capacity, or storage requirements, and what initial or recurring costs would apply? This is an informational inquiry only; it does not authorize any changes or paid services.
1 Reply
13 days ago
The most common cause of a manual backup failing is the size limit: manual backups are capped at 50% of the volume's total size, so a volume whose data exceeds that threshold cannot take a manual backup until its capacity is grown. Backups also require the volume to be mounted to a service, so checking the volume's current usage against its capacity on the volume's metrics, and confirming it is attached, are the first things to look at.
To create a backup, open the database service's Backups tab and use the create button, or set Daily (kept 6 days), Weekly (kept 27 days) or Monthly (kept 89 days) schedules from the same tab. The public API equivalent is the volumeInstanceBackupCreate mutation.
Backups can only be restored into the same project and environment, so there is no supported way to test a restore in an isolated environment or a separate service. A restore creates a new volume and stages a change that swaps your service onto it; applying that change redeploys the original service, so it is not a read-only preview.
There is no setup fee. Backups are incremental and copy-on-write, billed only for data exclusive to each backup at the same per-GB rate as volumes (pricing), and invoiced monthly. Volume size limits depend on the plan, and more detail is in the backups docs.
Status changed to Awaiting User Response Railway • 13 days ago
6 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 6 days ago