x
login about faq Site discussion (meta-askssc)

How would I send out a backup to another server from SQL Server Agent?

Hello All,

I have a job that creates backups of one database on a daily basis. I need to know how I could send this backup to a drive on another server. At first I tried to replicate the database all last week but with no success. I am technically a begginer with SQL Server 2005 and SQL Server 2008 so please bear with me. Any help on this situation would be appreciated.

more ▼

asked Feb 20 '12 at 03:29 PM in Default

cdurham gravatar image

cdurham
230 15 21 23

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

Is this a hand crafted job or are you using maintenance plans to accomplish the backup?

In either case, you can change the target of the backup to use UNC paths or a mapped drive.

Keep in mind that depending on where the target location is located (both physically and logically on the network) the backup time might increase so I would test it to make sure that it falls within the ranges of your SLA requirements.

For example, via code:

BACKUP DATABASE [DatabaseName] TO DISK='\\SERVER1\BACKUPS'

via a maintenance plan:

alt text

Also, here is a forum post that might help: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=6096 as well.

Hope this helps!!

more ▼

answered Feb 20 '12 at 03:46 PM

JohnM gravatar image

JohnM
4.5k 1 3 7

@John Morehouse

I am using a maintenance plan to create the backups. I believe this will work. Once again you have been a very big help to me. Thank you so much!

Feb 20 '12 at 03:52 PM cdurham

Awesome!! Very glad that I could help!

Feb 20 '12 at 05:29 PM JohnM

I would like to add that for backuprestore process on remote machine SQL Service should be run under domain account.

Feb 21 '12 at 04:58 AM Amardeep
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x170
x74

asked: Feb 20 '12 at 03:29 PM

Seen: 654 times

Last Updated: Feb 21 '12 at 04:58 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.