Unix Technical Forum

How do you "dump" a database with MS SQL?

This is a discussion on How do you "dump" a database with MS SQL? within the SQL Server forums, part of the Microsoft SQL Server category; --> Tried googling, but I guess I have the wrong terminology for MS products. Using PostgreSQL, or MySQL, if I ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 03:13 AM
Sugapablo
 
Posts: n/a
Default How do you "dump" a database with MS SQL?

Tried googling, but I guess I have the wrong terminology for MS
products.

Using PostgreSQL, or MySQL, if I wanted to tranfer a database from one
machine to another, I'd do a "dump" with a single command, such as:
mysqldump [databasename] > [path/filename]

Then I'd take the file generated and dump it back onto a new machine.

What's the process with MS SQL Server? Can someone point me in the
right direction to a webpage dealing with this?


--
[ Sugapablo ]
[ http://www.sugapablo.com <--music ]
[ http://www.sugapablo.net <--personal ]
[ sugapablo@12jabber.com <--jabber IM ]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 03:13 AM
Ryan Stonecipher [MSFT]
 
Posts: n/a
Default Re: How do you "dump" a database with MS SQL?

Take a look at the BACKUP and RESTORE commands in SQL Server Books Online.

BACKUP DATABASE <dbName> TO DISK = '<path>'
RESTORE DATABASE <dbName> FROM DISK = '<path>'

Thanks,
Ryan Stonecipher
Microsoft SQL Server Storage Engine.
"Sugapablo" <russREMOVE@sugapablo.com> wrote in message news:slrnccrb4m.6g5.russREMOVE@dell.sugapablo.net. ..
Tried googling, but I guess I have the wrong terminology for MS
products.

Using PostgreSQL, or MySQL, if I wanted to tranfer a database from one
machine to another, I'd do a "dump" with a single command, such as:
mysqldump [databasename] > [path/filename]

Then I'd take the file generated and dump it back onto a new machine.

What's the process with MS SQL Server? Can someone point me in the
right direction to a webpage dealing with this?


--
[ Sugapablo ]
[ http://www.sugapablo.com <--music ]
[ http://www.sugapablo.net <--personal ]
[ sugapablo@12jabber.com <--jabber IM ]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 03:13 AM
Simon Hayes
 
Posts: n/a
Default Re: How do you "dump" a database with MS SQL?


"Sugapablo" <russREMOVE@sugapablo.com> wrote in message
news:slrnccrb4m.6g5.russREMOVE@dell.sugapablo.net. ..
> Tried googling, but I guess I have the wrong terminology for MS
> products.
>
> Using PostgreSQL, or MySQL, if I wanted to tranfer a database from one
> machine to another, I'd do a "dump" with a single command, such as:
> mysqldump [databasename] > [path/filename]
>
> Then I'd take the file generated and dump it back onto a new machine.
>
> What's the process with MS SQL Server? Can someone point me in the
> right direction to a webpage dealing with this?
>
>
> --
> [ Sugapablo ]
> [ http://www.sugapablo.com <--music ]
> [ http://www.sugapablo.net <--personal ]
> [ sugapablo@12jabber.com <--jabber IM ]



http://support.microsoft.com/default...&Product=sql2k

Simon




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-29-2008, 03:13 AM
John Bell
 
Posts: n/a
Default Re: How do you "dump" a database with MS SQL?

Hi

See http://support.microsoft.com/default...;en-us;Q314546 for the
various ways to move a database between two servers running SQL Server.

John

"Sugapablo" <russREMOVE@sugapablo.com> wrote in message
news:slrnccrb4m.6g5.russREMOVE@dell.sugapablo.net. ..
> Tried googling, but I guess I have the wrong terminology for MS
> products.
>
> Using PostgreSQL, or MySQL, if I wanted to tranfer a database from one
> machine to another, I'd do a "dump" with a single command, such as:
> mysqldump [databasename] > [path/filename]
>
> Then I'd take the file generated and dump it back onto a new machine.
>
> What's the process with MS SQL Server? Can someone point me in the
> right direction to a webpage dealing with this?
>
>
> --
> [ Sugapablo ]
> [ http://www.sugapablo.com <--music ]
> [ http://www.sugapablo.net <--personal ]
> [ sugapablo@12jabber.com <--jabber IM ]



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:47 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com