Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SQL Server Jobs Change Backup Location

Posted on 2013-12-04
8
Medium Priority
?
764 Views
Last Modified: 2013-12-06
I have created several jobs in mssql 2005. One is a backup databases job and the other is cleanup old databases. Currently they backup to a local drive E.

Can i back them up to a shared drive on another computer? If so do I have to create anew job and delete the old one or is there a place I can go to edit the location of where my backups are currently going and point them to the new location.

If it is possible to make backups on a shared drive, do I need to create a mapped drive to do this backup or can I do it with just a network path typed in?
0
Comment
Question by:MEATBALLHERO
[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
  • 4
  • 2
  • 2
8 Comments
 
LVL 15

Expert Comment

by:jorge_toriz
ID: 39697518
Yes, you can backup to a network address like:

BACKUP DATABASE YourDB
TO DISK = '\\Computer\Backups'

You must check if the credentials that are running the SQL Server Engine has the proper permissions to write your backup file.

I think you can modify your Jobs to avoid deleting and creating new ones.
0
 
LVL 13

Expert Comment

by:SagiEDoc
ID: 39697565
So far as I recall the drive has to be local and mapping to a network location does not work either. You will need to backup locally and then have a script run that moves the backup jobs to a network drive.
0
 
LVL 15

Expert Comment

by:jorge_toriz
ID: 39697580
No my friend, I'm currently using network paths to backup my databases and they work as expected, the thing is to assign the right permissions on the shared folder to allow SQL Server Engine to write its backup.
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
LVL 13

Expert Comment

by:SagiEDoc
ID: 39697587
Sorry Jorge - my bad, you are right. SQL cluster the disk needs to be local, stand alone works.
0
 

Author Comment

by:MEATBALLHERO
ID: 39698246
Does any one know how I can edit my Job to change where the the backups go? How do i do this?
0
 
LVL 15

Expert Comment

by:jorge_toriz
ID: 39698316
We need to know how your job was made. Does it execute a Maintenance Plan?, an exe file?, T-SQL script?, Power Shell?

You can open the Maintenance Plan inside SSMS
0
 

Author Comment

by:MEATBALLHERO
ID: 39701523
Maintenence Plan
0
 
LVL 15

Accepted Solution

by:
jorge_toriz earned 2000 total points
ID: 39701577
Open your maintenance plan inside SSMS and then look for the Database Maintenance Task, double click on it and then change the location of the backups.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

721 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