Solved

How to backup multiple SQL Servers to a central location.

Posted on 2006-06-23
7
570 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

729 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