I am trying to take a backup on a Windows Server 2003 and SQL Server 2005 installed on it. But, there is no SQL Server Management Studio on it. How can I take full backup of a particular database.
SQL Server Backup – Backup Without Using SQL Server Management Studio
backupsql serversql-server-2005
Related Question
- SQL Server – Attach SQL Server 2008 R2 on SQL Server Express 2008
- SQL Server Profiler – How to Download for SQL Server Management Studio
- Sql-server – Scheduling a backup in SQL Server 2005
- Sql-server – How to make SQL Server Management Studio use latest version of SQL Server
- SQL Server Management Studio 2014 – Fix Set Property Devices Error
- Sql-server – SQL Server 2014 and SQL Server 2014 Management Studio
- Sql-server – SQL Server 2014 Management Studio Backup error
Best Answer
You can use sqlcmd from the command prompt.
It's default location for SQL 2012 is here :- C:\Program Files\Microsoft SQL Server\110\Tools\Binn
For windows authentication run :- sqlcmd -SSERVERNAME
or for sql authentication run:- sqlcmd -SSERVERNAME -ULogin -PPassword
You can then run a backup sql statement.
http://msdn.microsoft.com/en-us/library/ms180944.aspx