473,385 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Problem backing up Database and Transaction Log due to disk space limitations

I am having a problem backing up my database and TLog files due to a
lack of local diskspace. The db file is about 30GB and the TLog is
about 20GB each on a different hard disk. Each disk doesn't have
enough available space to accomadate a backup. I also can't shrink the
files because part of that procedure would require a backup.

Question: Can I use a redirected drive for the backup media? Is there
a way to trick SQL into allowing this? If the answer is no, does
anyone have a suggestion as to want I should do? I am in the process
of requesting more disk space,but that could take a while.

Thanks,

Jul 23 '05 #1
3 1549
(wa*********@yahoo.com) writes:
I am having a problem backing up my database and TLog files due to a
lack of local diskspace. The db file is about 30GB and the TLog is
about 20GB each on a different hard disk. Each disk doesn't have
enough available space to accomadate a backup. I also can't shrink the
files because part of that procedure would require a backup.

Question: Can I use a redirected drive for the backup media? Is there
a way to trick SQL into allowing this?


That should be straightforward. However, the Windows user under which
SQL Server runs must have access to the disk. If this user is local system,
this is not likely to be the case, so you may have to change this to a
domain user.

To do this, right-click My Computer, select Manage. Find Services. Here
find the MSSQL Server service. Right-click, Properties, and on the second
tab you can change Log On information. You need to restart the server.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 23 '05 #2
Erland,

My SQL Server does run under an admin account, but when I use
Enterprise Mgr to perform the backup I can't see my redirected drives.
Should I add a remote destination even though Enterprise Mgr says that
it can't verify the destination?

Thanks,

Jul 23 '05 #3
(wa*********@yahoo.com) writes:
My SQL Server does run under an admin account, but when I use
Enterprise Mgr to perform the backup I can't see my redirected drives.
Should I add a remote destination even though Enterprise Mgr says that
it can't verify the destination?


Your redirected accounts may not be the same as the admin accounts. For
starters, are you running Enterprise Manager on the same machine that
SQL Server is on?

You can always use UNC path. (Well whether you can use it EM, I don't know.
But you can always type the BACKUP command from Query Analyzer.)

And, oh, if "admin account" only means "admin on the local server", it
may still not have access to disk on other machines.
--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Hennie de Nooijer | last post by:
Hi, Currently we're a building a metadatadriven datawarehouse in SQL Server 2000. We're investigating the possibility of the updating tables with enormeous number of updates and insert and the...
1
by: Nabhonil Sinha | last post by:
hi, There is facility to do backup of the database. I can use that facility to backup the database. But before i do a backup i want to check if the disk space available enough to backup that...
9
by: J. Frank Parnell | last post by:
hello, i dont know asp at all, but i have been asked to backup a database that is used on a site which uses .aspx. i dont need to do anything with it, just copy it and send it along to someone...
13
by: Lew | last post by:
Hi, I am a bit confused about what I'm seeing on my systems. I am trying to develop a script that will determine what percentage of the total log space is being used. If it is too high (80%)...
13
by: Bob Darlington | last post by:
I have a repair and backup database routine which runs when a user closes down my application. It works fine in my development machine, but breaks on a client's at the following line: If...
7
by: Barry | last post by:
Hi All, I am a newcommer to Postgresql, currently I am looking at moving a Pick based application across to PostgreSQL. I am using RH Linux and Postgresql 7.3.6 The test system I am using...
20
by: Hemant Shah | last post by:
Folks, I spent better part of morning debugging a problem and it turned out to be DB2_USE_ALTERNATE_PAGE_CLEANING registry variable. I am running DB2 8.2 on AIX 5.3 system: # oslevel...
7
by: erikcw | last post by:
Hi, I'm working on a web application where each user will be creating several "projects" in there account, each with 1,000-50,000 objects. Each object will consist of a unique name, an id, and...
5
by: Roger | last post by:
backup log testdb with truncate_only DBCC SHRINKFILE (testdb_log, 100) WITH NO_INFOMSGS backup database testdb to disk = '\\DC01\Backups\DB01\testdb.bak' with init and does the shrinkfile...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.