Solved

SQL Server Jobs Change Backup Location

Posted on 2013-12-04
8
736 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
  • 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
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

831 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