Restore Job
A Restore Job is a task executed by the SqlBak Agent that restores databases from backups created by backup jobs. The agent on the destination server downloads the backup files from the storage, extracts them, and restores the database into the selected DBMS connection.
There are two ways to restore a backup:
- One-time restore – start a restore directly from a backup job or from a job log. The Restore wizard guides you through selecting the database, the backup location, and the destination. Use it when you need to recover a database right now. For more details, see Restore from a backup.
- Restore job – a separate job of the Restore type that you configure once and then run manually or on a schedule. Use it for regular tasks such as refreshing a test or reporting database from production backups, or periodically verifying that your backups can be restored. For more details, see How to create a restore job and Restore job settings.
Before you restore
- The SqlBak user on the destination DBMS needs restore permissions. See the requirements for SQL Server, MySQL, and PostgreSQL.
- Restoring into a database that already exists overwrites it. To keep the existing database, restore under a different name.
- Backups stored in a local folder can only be restored on the server where they were created. To restore to a different server, use a backup from a cloud or network storage.
- The destination server needs enough free disk space to download and extract the backup files.
To learn which commands SqlBak uses to restore each DBMS, see How SqlBak Performs Backups.