When you perform a point-in-time restore using Azure Backup, it restores the necessary files to allow you to restore the database to that specific point in time. Azure Backup does not merge the full, differential, and log backup files into a single file.
You will need to restore the full backup file (.bak) first, followed by the differential backup file (if any), and then the log backup files in the correct sequence. Here's how you can do it in SQL Server Management Studio (SSMS):
- Open SSMS and connect to your SQL Server instance.
- Right-click on the 'Databases' node in the Object Explorer, and then click 'Restore Database'.
- In the 'Restore Database' dialog, select 'Device' as the source, and click the '...' button to select the backup files.
- Click 'Add' and browse to the location where your full, differential, and log backup files are stored. Add the full and differential backup files.
- In the 'Restore Database' dialog, you should now see the backup sets listed. Ensure that the full and differential backups are selected (checkboxes checked), and the appropriate point-in-time is specified if you are restoring to a specific point in time.
- In the 'Options' page of the 'Restore Database' dialog, you may choose to overwrite the existing database (if you're restoring to the same server) or provide a new name for the restored database (if you're restoring to a new server or as a copy).
- Click 'OK' to start the restore process. SSMS will restore the full and differential backups.
Once the full and differential backups are restored, you can apply the transaction log backups in sequence:
- Right-click on the restored database in the Object Explorer, and then click 'Restore > Transaction Log'.
- In the 'Restore Transaction Log' dialog, select 'Device' as the source, and click the '...' button to select the log backup files.
- Click 'Add' and browse to the location where your log backup files are stored. Add the log backup files in sequence.
- In the 'Restore Transaction Log' dialog, you should now see the log backup sets listed. Select the log backups in the correct sequence to restore (checkboxes checked), and specify the appropriate point in time if necessary.
- Click 'OK' to start the restore process. SSMS will restore the transaction log backups in sequence.
After the process is completed, your database should be restored to the point in time you specified.