Jump to content

[ANSWERED] Can I use NTBackup to backup MSSQL 2005 databases?


Recommended Posts

Posted (edited)

Hey guys,

 

I'm using Microsoft SQL Server 2005 Express edition. As anyone here who manages these servers knows, it's not very easy to configure a backup from these servers as there's no Maintenance plans available [someone please correct me if I'm wrong, obviously]. But I'm wondering, would it be safe to backup these databases by simply backing up the %PROGRAMFILES%\Microsoft SQL Server\MSSQL.1 folder containing the Data folder [where it appears the databases are kept]? Since NTBackup uses shadow copies I don't think I'd need to stop the service. I can if neccessary via a script that runs just before the backup does, and then restart it afterwords with another script [or script a stop service>backup>start service all in one script]. But back to the main point :D Would this work? I've transferred databases from that folder before to another server and had it work perfectly fine.

 

Thanks!

Edited by link470
Posted

It wouldn't back up the LDF or MDF files without stopping the service - what is a better idea is scripting MSSQL to run a backup routine before your NTBackup runs and then backup the resulting .bak files instead.

 

You really should run the internal backup routines in MSSQL in order to truncate your LDF files, else they'll grow bigger and bigger.

 

At least, that's my take on it from my experiences.

  • Thanks 1
Posted

Thanks for your reply localzuk, do you know how I can do this in Microsoft SQL 2005 Express Management Studio? I've never found a good way to schedule almost anything. If you have an example of a script and how I can schedule it, that would be greatly appreciated!

 

Thanks again.

Posted (edited)

I'll give that a try! Thanks a lot.

 

::EDIT::

 

This method appears to work great. Thanks again!

Edited by link470

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...