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
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Perform a backup from DTS job

Author  Topic 

pithhelmet
Posting Yak Master

183 Posts

Posted - 2007-10-05 : 14:46:42
Hello everyone,

Is there a quick way to backup a given database via a query line?

thanks
tony


tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-10-05 : 14:55:33
Yes, check out BACKUP DATABASE command in BOL.

Here's an example:

BACKUP DATABASE Db1
TO DISK = 'F:\Backup\Db1.BAK'
WITH INIT

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

pithhelmet
Posting Yak Master

183 Posts

Posted - 2007-10-05 : 16:22:24
always a pleasure to be directed to the answer from you tara....

the rest of you mugs....

thanks for the info

take care
tony
Go to Top of Page

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2007-10-05 : 18:07:48
You never heard about SQL Server Books Online before?



CODO ERGO SUM
Go to Top of Page

pithhelmet
Posting Yak Master

183 Posts

Posted - 2007-10-09 : 14:12:05
quote:
Originally posted by Michael Valentine Jones

You never heard about SQL Server Books Online before?



CODO ERGO SUM



Thanks for that answer capt. obvious

http://curezone.com/forums/troll.asp





Go to Top of Page

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2007-10-09 : 14:29:25
So, did you not know about SQL Server Books Online, or were you just too lazy to look up the answer?




CODO ERGO SUM
Go to Top of Page

Van
Constraint Violating Yak Guru

462 Posts

Posted - 2007-10-09 : 14:30:05
So are you calling MVJ a troll or admitting that you are a troll? I'm assuming the latter.
Go to Top of Page

pithhelmet
Posting Yak Master

183 Posts

Posted - 2007-10-10 : 08:46:13
LOL

troll one to know one
Go to Top of Page
   

- Advertisement -