Solved

How to backup multiple SQL Servers to a central location.

Posted on 2006-06-23
7
574 Views
Last Modified: 2008-02-01
I have 4 Microsoft SQL servers and would like to manage all the backup jobs from a central tool with a central management interface.  Is anyone aware of tools, preferably in the  freeware domain, to do this.  I have evaluated Quest and Red-gate products.   While both do what is needed the cost seems high.
0
Comment
Question by:asimillc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 16972483
In my job I mostly used EMC's (Legato) Networker product to backup SQL Server databases (among other things like File System on multiple platforms, Oracle database, Exchange servers etc, had been Networker integrator).
Although not free (indeed also quite expensive), IMHO one of the best GUI's (although still quite limited, up to 7.2) among the backup software.

Listening
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 16973485
We use Red-Gate's software.  It is well worth every cent.  You will however have to purchase a license for each server.
0
 
LVL 3

Expert Comment

by:chhapia_chintak
ID: 16975011
You can share the folder on central machine. Run the backup jobs from each macine and give the backup path a network shared path.
By doing this way you can take backup of all sql server on a central machine.
0
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
LVL 3

Expert Comment

by:chhapia_chintak
ID: 16975016
The other way is to use sql dmo from VB script.

1) You can create 4 backup script each for each server.
2) Create a job on central SQL server and add 4 job step to execute each script.

Follwoin is a code for that VB Script:
Change path,database name and servernname in follwoing script.

Dim oServer
Dim oDatabase
Dim oBackup
Dim sBAKFilePath
Dim sDatabase
Dim sServer
 
'change this to where ever you want to place your backup files, no trailing
'backslash, we add it below

sBAKFilePath = "C:\"
sDatabase = "TEST"
sServer = "PC-p4-342\LOCAL"

'we need a backup object in addition to the sqlserver one
Set oServer = CreateObject("SQLDmo.SqlServer")
Set oBackup = CreateObject("SQLDmo.Backup")

oServer.LoginSecure = True
oServer.Connect sServer
 

For Each oDatabase In oServer.Databases

    If UCase(oDatabase.Name) = sDatabase Then

        oBackup.Database = oDatabase.Name

        'remove any previous backup - same as using T-SQL with init

        oBackup.Initialize = True

        'dynamically create the name of the backup file

        oBackup.Files = sBAKFilePath & "\" & oDatabase.Name & "_"  & cstr(day(date)) & "_"  & cstr(month(date)) & ".bak"
        oBackup.Action = 0

        oBackup.SQLBackup oServer

    End If

Next

Set oBackup = Nothing
oServer.DisConnect
Set oServer = Nothing  


Hope this helps.
0
 

Expert Comment

by:Einstine
ID: 16980178
if there are budget constraints, I would personally use (or reuse basically) a generic backup script that I have and put all the backups in one mapped drive.

You can set the job to send an email notification to you so that you know which one worked and which one failed...

the only problem is that when you make a change to one script you will have to update all the other servers... the good news is, if you do the right script as generic as it should be, you won't be needing to updated it :-)

if you need help with the script it self let me know.
0
 

Author Comment

by:asimillc
ID: 16984230
Thanks fo everyone for the information. I have evaluated Redgate.  The functionality is impressive however we use an external USB drive to backup to which redgate does not recognize  unless it is set up as a nullsessionshare.  I have also evaluated another product which is SQL backup 5.23.  IT appears to work well and it is fairly inexpensive, $79.00/copy but it must be installed on each station and it appears that the old file deletion does not work properly.  

0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 50 total points
ID: 16984497
>>The functionality is impressive however we use an external USB drive to backup to which redgate does not recognize<<
Have you seen the following thread?
http://www.red-gate.com/messageboard/viewtopic.php?t=2561&highlight=usb
0

Featured Post

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question