Solved

want to change folder location of backup file

Posted on 2012-03-13
6
770 Views
Last Modified: 2012-03-28
sql server 2005
sql server agent
jobs
maintance plan3.subplan1

I can change the times that database is backed up

but I can not change folder location
0
Comment
Question by:rgb192
6 Comments
 
LVL 25

Expert Comment

by:jogos
ID: 37719095
>>but I can not change folder location<<
You cannot select a new folder? It doesn't get saved? Or path is not accessible?

If you succeed don't forget to change also the cleanup task!
0
 
LVL 48

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 37719447
That's because you created the backup job from Maintenance Plans.
Go to Management / Management Plans / MaintenancePlan User Databases, edit the backup database plan and change the folder location there. Don't forget to Save after you give the OK.

Good luck
0
 
LVL 28

Expert Comment

by:sammySeltzer
ID: 37719728
You can also do it another way.

For instance, by default, it is located here:

That window Defaults to C:\Program Files\Microsoft SQL Server\MSSQL.1\Backup

So, you can change it by going to your registry:

edit the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\MSSQLServer\BackupDirectory value to point to e:\data\databases

Notice I used e letter. You can change it to your preferred letter.
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
LVL 48

Expert Comment

by:Vitor Montalvão
ID: 37720262
I don't think it's a good idea to make changes directly in registries.
Anyway that key it's only the default directory, doesn't mean that his backup is set for that folder. Also we don't know if there is any other process that are making backups, so it's very dangerous these kind of changes.
0
 
LVL 28

Expert Comment

by:sammySeltzer
ID: 37720499
depends on his level of expertise.

That's one of the regularly used options, one I have used tons of times.
0
 

Author Closing Comment

by:rgb192
ID: 37779873
best answer thanks
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

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
So every once in a while at work I am asked to export data from one table and insert it into another on a different server.  I hate doing this.  There's so many different tables and data types.  Some column data needs quoted and some doesn't.  What …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

821 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