want to change folder location of backup file

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
LVL 1
rgb192Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Vitor MontalvãoConnect With a Mentor MSSQL Senior EngineerCommented:
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
 
jogosCommented:
>>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
 
sammySeltzerCommented:
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

 
Vitor MontalvãoMSSQL Senior EngineerCommented:
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
 
sammySeltzerCommented:
depends on his level of expertise.

That's one of the regularly used options, one I have used tons of times.
0
 
rgb192Author Commented:
best answer thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.