Skip to content

Restore

Restore from the UI Backups page, or via the API:

POST /api/backups/restore/{run_id}

Returns 202 Accepted and runs asynchronously.

  • postgres pipes the gzipped dump into psql using the same user/db resolution as the backup.
  • mysql pipes the gzipped SQL into mysql -u root -p$MYSQL_ROOT_PASSWORD.
  • mongo uses mongorestore --drop so it overwrites existing collections.
  • redis stops the container, copies the decompressed RDB into /data/, and restarts.
  • sqlite runs sqlite3 .restore against the configured path.
  • volume extracts the archive with tar -xzf - -C /. Not safe over a running database; use a DB-native strategy or stop the service first.

See also: Backups overview, Disaster recovery.