First connect to SQL Server Management Studio, either locally using Remote Desktop or externally.
You will need to update the database name and folder path in the script for the database you want to backup. In this example, the variables are ‘AdventureWorks’ and ‘C:\PathToBackupFolder\backupname.bak’.
BACKUP DATABASE AdventureWorks
TO DISK = ‘C:\PathToBackupFolder\AdventureWorks.Bak’
MEDIANAME = ‘C_SQLServerBackups’,
NAME = ‘Full Backup of AdventureWorks’;