Solved

How to backup multiple SQL Servers to a central location.

Posted on 2006-06-23
7
525 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 142

Expert Comment

by:Guy Hengel [angelIII / a3]
Comment Utility
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
Comment Utility
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
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 3

Expert Comment

by:chhapia_chintak
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
>>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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Read about achieving the basic levels of HRIS security in the workplace.
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now