Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to backup multiple SQL Servers to a central location.

Posted on 2006-06-23
7
Medium Priority
?
584 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
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
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
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 150 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

885 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