Solved

want to change folder location of backup file

Posted on 2012-03-13
6
772 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
[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
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 50

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 29

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
Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

 
LVL 50

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 29

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

729 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