Skip to main content
ZWRM supports full backups and point-in-time recovery (PITR) for PostgreSQL databases. Backups are stored externally and can be used to restore into a new database instance.

Enable WAL archiving

Before creating backups, enable WAL (Write-Ahead Log) archiving on the database:
Restart the database after enabling for changes to take effect. To disable WAL archiving:

Create a backup

Example

List backups

Shows all backups for a database with their ID, type, status, size, and creation time.

Example

Delete a backup

Deleting a backup is permanent. You won’t be able to restore from it afterward.

Restore a database

Restore creates a new database from a backup. The original database is not modified.

Examples

Restore from the latest backup:
Restore from a specific backup:
Point-in-time recovery to a specific moment:
PITR requires WAL archiving to be enabled. The target time must fall within the range covered by available WAL segments.

Check restore status

Shows the restore type, status, target database ID, and any error details.