Restore a database or volume from a backup
Restore an S3 backup into the service or into a new copy beside it with the restore wizard, or decrypt and restore a backup by hand with age and the AWS CLI.
The restore wizard brings back a backup made by a backup policy. You can restore into a new service beside the original, which is the safe default, or overwrite the original. Use it after a bad migration, an accidental delete, or to check what the data looked like on a given day. When LogiStack itself is gone, you can still decrypt and restore a backup by hand.
What you can restore
- Finished backups that retention hasn't deleted. Running, failed and pruned backups can't be restored.
- Database dumps of PostgreSQL, MySQL, MariaDB and MongoDB. Redis and libSQL dumps come back through a volume backup instead.
- Volume archives of any service.
The wizard lists the 10 newest restorable backups.
Restore with the wizard
Start from a backup
Open the service, select Backups, and select Restore on a row under Recent runs. The wizard opens with that backup selected.
Pick a backup
In Pick a backup, each backup shows its date, size, what it contains (such as Database dump (pg_dump) or a volume) and the start of its SHA-256 checksum. Choose one and select Continue.

Choose where it goes
In Restore into, pick one:
- A new service beside it (marked Safe) for a database: same engine, version and credentials as the original, in the same environment. LogiStack deploys it, then restores into it. Enter its Service name; the default is
<service>-restore-<date>, such aspostgres-restore-06-nov. - A new volume for a volume backup: restored into a fresh volume next to the current one. Enter a Name for the copy.
- Overwrite <service>: for a database, objects are dropped and recreated from the dump. For a volume, the volume is emptied and filled from the archive. Anything written since the backup is lost.
Confirm
Read the summary, then type the name shown in Type <name> to confirm: the copy's name, or the service's own name when you overwrite. Select Restore now.
Follow the progress
The page shows each phase, the bytes restored and the time so far. You can leave; the restore keeps going and shows under Recent runs as a Restore run. When it finishes, select Open <project> to find the copy, or Back to backups. If it fails, the error is shown, and Try again reopens the wizard on the same backup.
Overwriting has no undo. Select Run now on the policy first, so the current state is backed up too.
Check the result
- For a copy, open the new service's Database tab and compare it with the original, for example with
select count(*) from orders;in both. - When the copy is right, point your app at it, or restore into the original. Then delete the copy: it is billed and backed up like any other service.
Restore into another service
The wizard restores into the original or a new copy. To load a database backup into a different existing service, for example production data into a staging database of the same engine:
- Get the backup file from the bucket and decrypt it, as shown below.
- Open the target service, select Database, then Dump & restore > Restore from file….
- Choose the file and type the target service's name to confirm.
Backups and the explorer's dumps use the same format, so a .dump from a PostgreSQL backup, an .sql from MySQL or MariaDB, or an .archive from MongoDB restores this way. See Dump and restore.
Decrypt and restore a backup by hand
You need the backup key you saved when you turned on encryption, the age CLI and the AWS CLI configured with keys that can read the bucket. This works with no LogiStack server at all.
Save the key
Save the key as backup-key.txt. The file you downloaded with Download key file works as is.
Find the file
Backups live under <bucket>/<prefix>/backups/<policy-id>/. List them:
aws s3 ls s3://acme-backups/logistack/backups/bkp_7f3a/ \
--endpoint-url https://7c2f9e0a41b84d0f.r2.cloudflarestorage.comOn a policy's Backups tab, Decrypt without LogiStack shows the exact command for the newest backup.
Download and decrypt
aws s3 cp "s3://acme-backups/logistack/backups/bkp_7f3a/2026-11-06T03-00-00-000Z-bkr_91c2.dump.age" - \
--endpoint-url https://7c2f9e0a41b84d0f.r2.cloudflarestorage.com \
| age -d -i backup-key.txt > backup.dumpLeave out --endpoint-url for AWS S3. For an unencrypted backup, drop the age step.
Restore with the engine's tool
pg_restore --clean --if-exists --no-owner \
-d "postgres://app:[email protected]:5432/storefront" backup.dumpTroubleshooting
- No backup to restore yet: run a backup first, or wait for the first scheduled one.
- A backup has no Restore button: it failed, is still running, or was pruned by retention. Redis and libSQL database dumps also have none; restore their volume backup.
- age reports that no identity matched: the key file belongs to another policy, or the key was replaced before this backup was made.
- The restore fails on a copy: check the copy's logs, then select Try again.
Back up a database or volume
Create a backup policy that dumps a database or archives a volume to S3, SFTP or another destination on a cron, with retention, encryption and verifies.
Add an S3 destination for backups
Connect an S3-compatible bucket such as AWS S3, Cloudflare R2, Backblaze B2, Hetzner, MinIO or Wasabi, and test the connection before backup policies use it.