A database backup creates a complete snapshot of your MS SQL database, including data files, log files, and full text catalogs. This single file (.bak) allows you to restore your database to a specific point in time or migrate it to another server.
We highly recommend using the Backup/Restore method for deployments. Crucially, if your database utilizes Full Text Search, this is the only supported method to preserve and deploy your full text catalogs correctly.
Follow these steps to create a backup of a database currently running on our servers.
/).db_backup_2023.bak).If you are trying to move a database from your local computer to our servers, you first need to create a backup locally. You can do this via SQL Server Management Studio (SSMS) or by running a T-SQL command.
T-SQL Command Example:
Run the following query on your local database to generate a compatible backup file:
BACKUP DATABASE [DBName] TO DISK = 'C:\Backups\MyBackup.bak' WITH INIT, NOUNLOAD, NAME = 'MyBackup', NOSKIP, STATS = 10, NOFORMAT
Parameters:
[DBName]: The name of the database you are backing up.'C:\Backups\MyBackup.bak': The full path on your local drive where you want to save the file.Once generated, you can upload this file to your hosting account and restore it to deploy your database.