Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 backup

Author  Topic 

nabajyoti
Starting Member

3 Posts

Posted - 2008-01-24 : 04:31:10
hoe to take complete backup of a database as a file

eyechart
Master Smack Fu Yak Hacker

3575 Posts

Posted - 2008-01-24 : 04:34:05
check the BACKUP command in books online.



-ec
Go to Top of Page

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2008-01-24 : 05:53:17
http://www.sqlteam.com/article/introduction-to-sql-server-database-backups

_______________________________________________
Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
SSMS Add-in that does a few things: www.ssmstoolspack.com <- new version out
Go to Top of Page

CShaw
Yak Posting Veteran

65 Posts

Posted - 2008-01-25 : 01:12:22
There is a VConf where you can get info like this that will get you started with SQL Server. http://www.sswug.org/conference/

The backup command that you are looking for is(Taken from Books on line:

USE master
GO
EXEC sp_addumpdevice 'disk', 'AdvWorksData',
'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\BACKUP\AdvWorksData.bak'

-- Back up the full AdventureWorks database.
BACKUP DATABASE AdventureWorks
TO AdvWorksData


Chris Shaw
www.SQLonCall.com
Go to Top of Page
   

- Advertisement -