• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 126
  • Last Modified:

Change location/retention of SQL Database backups

First, going to prelude this with the fact I have no SQL coding experience.

Issue: We have a SQL server hosting several databases. At one point, there was a SQL admin overseeing the server. Apparently he set backups to run daily for all of the databases with 0 retention.

I need to get the backups moved to a separate drive as it is causing problems with our ShadowProtect backup schedule and offiste backups.

I tried right-clicking on each database and going to backup database to change the location of the backup, but this only seemed to create a one-time backup and not change whatever was setup originally.

I fear he may have used a SQL script and not sure where else to check to get this corrected.
1 Solution
1. Check Management -> Maintenance Plans
Open the maintenance plan and look for "Backup Database" tasks
Open the task and look for the destination folder

2. If he use scripts, you might see them under SQL Server Agent - > Jobs
Then you can check individual steps to find out if he's using TSQL or Store Procedure to run backup.
Racim BOUDJAKDJIDatabase Architect - Dba - Data ScientistCommented:
<<I fear he may have used a SQL script and not sure where else to check to get this corrected.>>
If you are not feeling comfortable with scripting yet, I would suggest you learn to begin learning how to set up a Database Maintainance Plan then disable the old job.  You will be faster doing that than retroengineering what was done previously with limited skill set.
SBSWIZARDAuthor Commented:
I would much rather just cancel the backups than anything. We currently backup the server on the hour, so I dont need two backups running.

But I was able to find the job in the SQL Server Agent and disable it.

Thanks guys.
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.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now