We help IT Professionals succeed at work.

want to change folder location of backup file

rgb192
rgb192 asked
on
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
Comment
Watch Question

Commented:
>>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!
IT Engineer
SILVER EXPERT
Distinguished Expert 2017
Commented:
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
Top Expert 2011

Commented:
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.
Vitor MontalvãoIT Engineer
SILVER EXPERT
Distinguished Expert 2017

Commented:
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.
Top Expert 2011

Commented:
depends on his level of expertise.

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

Author

Commented:
best answer thanks

Explore More ContentExplore courses, solutions, and other research materials related to this topic.