![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have only minimal exposure to SQL Server, just need to do something that is hopefully relatively simple. A client installed (upgraded) a program and took all the defaults, which put the SQL database for Time Matters on the C: drive, which -already- was short on space. It also tries to backup the SQL database to a backup folder on C:. I want to move at least the backup location to D: which has tons of space. Is this a complex process? I have basic experience with database mgmt programs, and just low-level admin with SQL Server, but lots of computer experience/knowledge. So a sensible outline would help. |
#3
| |||
| |||
|
|
DE (nowhere (AT) all (DOT) disorg) writes: I have only minimal exposure to SQL Server, just need to do something that is hopefully relatively simple. A client installed (upgraded) a program and took all the defaults, which put the SQL database for Time Matters on the C: drive, which -already- was short on space. It also tries to backup the SQL database to a backup folder on C:. I want to move at least the backup location to D: which has tons of space. Is this a complex process? I have basic experience with database mgmt programs, and just low-level admin with SQL Server, but lots of computer experience/knowledge. So a sensible outline would help. The difficult part for me is that this backup was set up by this third-party program Time Matters, which I've heard of before. Obviously then, I don't know how it was set up. But the most likely guess is that it installs an Agent job. Use Object Explorer in SQL Server Management Studio, and expand the node called SQL Server Agent, which is the last node. Then expand it to find Jobs, and see if there are any entries. If you find a job, you will find that changing the backup location is straightforward. Then again, if Time Matters install Express Edition of SQL Server, it is definitely not an Agent job, because Express does not come with Agent. In this case, they may do it with Windows Task Scheduler. And who knows, they may have their own scheduler to it, and their own GUI to control where the backups go. In the end, it may be better to turn to the vendor for support. I suspect it is the Express Edition (don't have access to it at this |
#4
| |||
| |||
|
|
I suspect it is the Express Edition (don't have access to it at this moment, just thinking so based on cost) and never thought of looking at the Task Scheduler, but actually what happens is that TM seems to "manage" the backup process. However, in doing so, it backs up in two parts, the first being the SQL database & the second being files specific to TM data. The latter is easy to redirect through a TM utility, but the SQL backup part is problematic because it wants to go to the C: drive under the default folder structure for SQL server. |
#5
| |||
| |||
|
|
DE (nowhere (AT) all (DOT) disorg) writes: I suspect it is the Express Edition (don't have access to it at this moment, just thinking so based on cost) and never thought of looking at the Task Scheduler, but actually what happens is that TM seems to "manage" the backup process. However, in doing so, it backs up in two parts, the first being the SQL database & the second being files specific to TM data. The latter is easy to redirect through a TM utility, but the SQL backup part is problematic because it wants to go to the C: drive under the default folder structure for SQL server. So what exactly to you have a Task Scheduler? Something that runs SQLCMD? Could you post the BACKUP command? The TM backup utility (TMWE) apparently kicks off each backup, |
#6
| |||
| |||
|
|
Erland Sommarskog wrote: DE (nowhere (AT) all (DOT) disorg) writes: I suspect it is the Express Edition (don't have access to it at this moment, just thinking so based on cost) and never thought of looking at the Task Scheduler, but actually what happens is that TM seems to "manage" the backup process. However, in doing so, it backs up in two parts, the first being the SQL database & the second being files specific to TM data. The latter is easy to redirect through a TM utility, but the SQL backup part is problematic because it wants to go to the C: drive under the default folder structure for SQL server. So what exactly to you have a Task Scheduler? Something that runs SQLCMD? Could you post the BACKUP command? The TM backup utility (TMWE) apparently kicks off each backup, sequentially: first the SQL database, then the other TM files. Every indication is that TM doesn't provide a way to control where the SQL backup goes. This is the best reference I've found so far: http://support.lexisnexis.com/TimeMa...ckup_r estore and I could probably work it out from that, assuming I can use the same SQL Server Management Studio Express program to do a backup (and not just a restore). I think I'm close to finding what I need, anyway ... thanks, though I'd still appreciate any hints. |
#7
| |||
| |||
|
|
Well, this all worked ok to move the database itself ... I used the SQL Server Mgmt Studio Express (downloaded), detached the database, moved the files, then attached it (no issues at all) ... but it isn't helping me at all with the backup location. Despite the database being moved to the partition that has lots of space, the backups still want to go to the default location on C:. I can kick off a manual backup & locate it where I want, from within the Mgmt Studio program, but it doesn't "stick". Is there any chance there's a registry edit to set that location? I haven't found it in any INI or similar config file. Also, this is a manual backup; it's initiated using the TMWE program, and wants to back up the SQL data before backing up the TM files. But I can find -nothing- on changing that backup location once the installation is complete. -- DE DE wrote: Erland Sommarskog wrote: DE (nowhere (AT) all (DOT) disorg) writes: I suspect it is the Express Edition (don't have access to it at this moment, just thinking so based on cost) and never thought of looking at the Task Scheduler, but actually what happens is that TM seems to "manage" the backup process. However, in doing so, it backs up in two parts, the first being the SQL database & the second being files specific to TM data. The latter is easy to redirect through a TM utility, but the SQL backup part is problematic because it wants to go to the C: drive under the default folder structure for SQL server. So what exactly to you have a Task Scheduler? Something that runs SQLCMD? Could you post the BACKUP command? The TM backup utility (TMWE) apparently kicks off each backup, sequentially: first the SQL database, then the other TM files. Every indication is that TM doesn't provide a way to control where the SQL backup goes. This is the best reference I've found so far: http://support.lexisnexis.com/TimeMa...ckup_r estore and I could probably work it out from that, assuming I can use the same SQL Server Management Studio Express program to do a backup (and not just a restore). I think I'm close to finding what I need, anyway ... thanks, though I'd still appreciate any hints. |
#8
| |||
| |||
|
|
Well, this all worked ok to move the database itself ... I used the SQL Server Mgmt Studio Express (downloaded), detached the database, moved the files, then attached it (no issues at all) ... but it isn't helping me at all with the backup location. Despite the database being moved to the partition that has lots of space, the backups still want to go to the default location on C:. I can kick off a manual backup & locate it where I want, from within the Mgmt Studio program, but it doesn't "stick". Is there any chance there's a registry edit to set that location? I haven't found it in any INI or similar config file. Also, this is a manual backup; it's initiated using the TMWE program, and wants to back up the SQL data before backing up the TM files. But I can find -nothing- on changing that backup location once the installation is complete. |
![]() |
| Thread Tools | |
| Display Modes | |
| |