mssql restore full database from backup script code example Example: sql restore backup query RESTORE FILELISTONLY FROM DISK = 'D:BackUpYourBaackUpFile.bak'