Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS SQL Server
 How do I backup the server.
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Tiggerz
Starting Member

45 Posts

Posted - 17 October 2004 :  02:17:16  Show Profile
I know this might be a silly question, but I've forgotton how to back up a sql server database.

What i'd like to do is have it place all the files for the forum database in a directory on my data partition. Then when I run my backup program over that partition, it will be backed up.

Is this possible. If not, what files do you need to backup and where are they located (default install).

Cheers

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 17 October 2004 :  08:22:04  Show Profile  Visit Gremlin's Homepage
Setup a Job to create the backup and place them where you need them, you'll need SQL Agent running to have it run automatically.

Setup a job that executes some T-SQL similar to this

BACKUP DATABASE [database] TO  DISK = N'C:\MyBackups\database.bkp' WITH  INIT ,  NOUNLOAD ,  NAME = N'Datbase backup',  NOSKIP ,  STATS = 10,  NOFORMAT 

If you smurf around in Enterprise Manager theres some Wizards for building this all for you as well, just can't remember the exact place off the top of my head to find them.


Kiwihosting.Net - The Forum Hosting Specialists

Edited by - Gremlin on 17 October 2004 18:20:41
Go to Top of Page

Tiggerz
Starting Member

45 Posts

Posted - 17 October 2004 :  17:18:20  Show Profile
cheers. I did it once years ago, not had to do it since.
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 17 October 2004 :  18:19:58  Show Profile  Visit Gremlin's Homepage
You could just use the maintenance job wizard too which does create a backup as well, I usually do this for my larger DB's as the maintenance steps include an integrity check of the DB before backing it up along with a few other handy things.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.02 seconds. Powered By: Snitz Forums 2000 Version 3.4.07