Thursday, November 11, 2010

How To Verify The SQL Backup File?

Here is a list of commands to verify the backup files in sql server. 

1.  Execute below command for finding the backup set is complete and that all volumes are readable. 

Restore verifyonly from disk='C:\MSSQL\adventureworks.bak' 

2.  Execute below command for finding the backup header information for all backup sets on a particular backup device.

Restore headeronly from disk='C:\MSSQL\adventureworks.bak' 

3.  Execute below command for finding the database and log files contained in the backup set.

Restore filelistonly from disk='C:\MSSQL\adventureworks.bak'
RESTORE VERIFYONLY.  VERIFYONLY and CHECKSUM help. Verifying Backups with the RESTORE VERIFYONLY Statement. How reliable is RESTORE VERIFYONLY. RESTORE VERIFYONLY OUTPUT. how to verify backup file. Microsoft SQL Server Restore HeaderOnly. VerifyOnly. FilelistOnly. RESTORE VERIFYONLY FROM DISK SQL SERVER LEARNER. SQL Server interview question and answers. Verifying backup files. RESTORE VERIFYONLY In SQL Server 2005. RESTORE VERIFYONLY In SQL Server 2008. RESTORE VERIFYONLY In SQL Server 2012. Syntex for restore filelistonly & restore verifyonly. SQL Maint Backup verify vs backup verifyonly. Legato back-up solutions. Verify only. in sql server 2012.

Friday, November 5, 2010

How To Rebuild The Master Database In SQL Server

1. Shutdown SQL Server 2000, and then run Rebuildm.exe. This is located in the Program Files\Microsoft SQL Server\80\Tools\Binn directory.

2. In the Rebuild Master dialog box, click Browse.

3. In the Browse for Folder dialog box, select the \Data folder on the SQL Server 2000 disc or in the shared network directory from which SQL Server 2000 was installed, and then click OK.

4. Click Settings. In the Collation Settings dialog box, verify or change settings used for the master database and all other databases.
Initially, the default collation settings are shown, but these may not match the collation selected during setup. You can select the same settings used during setup or select new collation settings. When done, click OK.

5. In the Rebuild Master dialog box, click Rebuild to start the process.
The Rebuild Master utility re-installs the master database.

Note: To continue, you may need to stop a server that is running.
How to rebuild the master database, SQL Server 2000 Restore Master Database, Rebuilding the Master Database in sql server 2012, rebuild master database in sql server 2008 R2, How to rebuild your master database, The Easiest Way To Rebuild The master Database, How to fix corruption in Master database, restore master database in sql server 2005, Recover the master database in SQL Server, Explain how to rebuild Master Database, step by step guide to rebuild master database, step by step process to rebuild master database. restore master db to different location, Rebuild master Utility, How to rebuild the master database on a virtual SQL Server instance, How to rebuild the SQL Master database, How to recover my master database