dbTalk Databases Forums  

SQL Server 2005 Backups

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss SQL Server 2005 Backups in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John S. Pandolph
 
Posts: n/a

Default SQL Server 2005 Backups - 10-28-2008 , 02:55 PM






I'm having an issue where there isn't apparently enough disk space on the
local C drive to create the temporary files used to create the backups. I'm
currently trying to use a USB hard drive to back up the SQL DB. My DB are
about 40GB with only around 20GB free on C: I have larger drives then this,
I need realtime db backups
Thankl

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SQL Server 2005 Backups - 10-28-2008 , 04:34 PM






John S. Pandolph (John S. Pandolph (AT) discussions (DOT) microsoft.com) writes:
Quote:
I'm having an issue where there isn't apparently enough disk space on
the local C drive to create the temporary files used to create the
backups. I'm currently trying to use a USB hard drive to back up the
SQL DB. My DB are about 40GB with only around 20GB free on C: I have
larger drives then this,
I am not aware of that BACKUP creates any temporary files. Exactly how
does your BACKUP command look like, and what error message do you get?

You can change the location of the %TEMP% and %TMP% in the System applet
in the Control Panel (Advanced tab->Environment variables.) I expect that
you need to restart SQL Server for it to take effect. If SQL Server ever
looks at these, which I doubt.

Quote:
I need realtime db backups
Not really sure what you mean with realtime backups, but if you need to be
able to restore to a point in time, you should back up the transaction log
frequently. It's usually enough to backup the database once a day.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #3  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SQL Server 2005 Backups - 10-28-2008 , 04:34 PM



John S. Pandolph (John S. Pandolph (AT) discussions (DOT) microsoft.com) writes:
Quote:
I'm having an issue where there isn't apparently enough disk space on
the local C drive to create the temporary files used to create the
backups. I'm currently trying to use a USB hard drive to back up the
SQL DB. My DB are about 40GB with only around 20GB free on C: I have
larger drives then this,
I am not aware of that BACKUP creates any temporary files. Exactly how
does your BACKUP command look like, and what error message do you get?

You can change the location of the %TEMP% and %TMP% in the System applet
in the Control Panel (Advanced tab->Environment variables.) I expect that
you need to restart SQL Server for it to take effect. If SQL Server ever
looks at these, which I doubt.

Quote:
I need realtime db backups
Not really sure what you mean with realtime backups, but if you need to be
able to restore to a point in time, you should back up the transaction log
frequently. It's usually enough to backup the database once a day.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #4  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SQL Server 2005 Backups - 10-28-2008 , 04:34 PM



John S. Pandolph (John S. Pandolph (AT) discussions (DOT) microsoft.com) writes:
Quote:
I'm having an issue where there isn't apparently enough disk space on
the local C drive to create the temporary files used to create the
backups. I'm currently trying to use a USB hard drive to back up the
SQL DB. My DB are about 40GB with only around 20GB free on C: I have
larger drives then this,
I am not aware of that BACKUP creates any temporary files. Exactly how
does your BACKUP command look like, and what error message do you get?

You can change the location of the %TEMP% and %TMP% in the System applet
in the Control Panel (Advanced tab->Environment variables.) I expect that
you need to restart SQL Server for it to take effect. If SQL Server ever
looks at these, which I doubt.

Quote:
I need realtime db backups
Not really sure what you mean with realtime backups, but if you need to be
able to restore to a point in time, you should back up the transaction log
frequently. It's usually enough to backup the database once a day.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #5  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SQL Server 2005 Backups - 10-28-2008 , 04:34 PM



John S. Pandolph (John S. Pandolph (AT) discussions (DOT) microsoft.com) writes:
Quote:
I'm having an issue where there isn't apparently enough disk space on
the local C drive to create the temporary files used to create the
backups. I'm currently trying to use a USB hard drive to back up the
SQL DB. My DB are about 40GB with only around 20GB free on C: I have
larger drives then this,
I am not aware of that BACKUP creates any temporary files. Exactly how
does your BACKUP command look like, and what error message do you get?

You can change the location of the %TEMP% and %TMP% in the System applet
in the Control Panel (Advanced tab->Environment variables.) I expect that
you need to restart SQL Server for it to take effect. If SQL Server ever
looks at these, which I doubt.

Quote:
I need realtime db backups
Not really sure what you mean with realtime backups, but if you need to be
able to restore to a point in time, you should back up the transaction log
frequently. It's usually enough to backup the database once a day.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #6  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SQL Server 2005 Backups - 10-28-2008 , 04:34 PM



John S. Pandolph (John S. Pandolph (AT) discussions (DOT) microsoft.com) writes:
Quote:
I'm having an issue where there isn't apparently enough disk space on
the local C drive to create the temporary files used to create the
backups. I'm currently trying to use a USB hard drive to back up the
SQL DB. My DB are about 40GB with only around 20GB free on C: I have
larger drives then this,
I am not aware of that BACKUP creates any temporary files. Exactly how
does your BACKUP command look like, and what error message do you get?

You can change the location of the %TEMP% and %TMP% in the System applet
in the Control Panel (Advanced tab->Environment variables.) I expect that
you need to restart SQL Server for it to take effect. If SQL Server ever
looks at these, which I doubt.

Quote:
I need realtime db backups
Not really sure what you mean with realtime backups, but if you need to be
able to restore to a point in time, you should back up the transaction log
frequently. It's usually enough to backup the database once a day.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #7  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SQL Server 2005 Backups - 10-28-2008 , 04:34 PM



John S. Pandolph (John S. Pandolph (AT) discussions (DOT) microsoft.com) writes:
Quote:
I'm having an issue where there isn't apparently enough disk space on
the local C drive to create the temporary files used to create the
backups. I'm currently trying to use a USB hard drive to back up the
SQL DB. My DB are about 40GB with only around 20GB free on C: I have
larger drives then this,
I am not aware of that BACKUP creates any temporary files. Exactly how
does your BACKUP command look like, and what error message do you get?

You can change the location of the %TEMP% and %TMP% in the System applet
in the Control Panel (Advanced tab->Environment variables.) I expect that
you need to restart SQL Server for it to take effect. If SQL Server ever
looks at these, which I doubt.

Quote:
I need realtime db backups
Not really sure what you mean with realtime backups, but if you need to be
able to restore to a point in time, you should back up the transaction log
frequently. It's usually enough to backup the database once a day.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #8  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SQL Server 2005 Backups - 10-28-2008 , 04:34 PM



John S. Pandolph (John S. Pandolph (AT) discussions (DOT) microsoft.com) writes:
Quote:
I'm having an issue where there isn't apparently enough disk space on
the local C drive to create the temporary files used to create the
backups. I'm currently trying to use a USB hard drive to back up the
SQL DB. My DB are about 40GB with only around 20GB free on C: I have
larger drives then this,
I am not aware of that BACKUP creates any temporary files. Exactly how
does your BACKUP command look like, and what error message do you get?

You can change the location of the %TEMP% and %TMP% in the System applet
in the Control Panel (Advanced tab->Environment variables.) I expect that
you need to restart SQL Server for it to take effect. If SQL Server ever
looks at these, which I doubt.

Quote:
I need realtime db backups
Not really sure what you mean with realtime backups, but if you need to be
able to restore to a point in time, you should back up the transaction log
frequently. It's usually enough to backup the database once a day.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #9  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SQL Server 2005 Backups - 10-28-2008 , 04:34 PM



John S. Pandolph (John S. Pandolph (AT) discussions (DOT) microsoft.com) writes:
Quote:
I'm having an issue where there isn't apparently enough disk space on
the local C drive to create the temporary files used to create the
backups. I'm currently trying to use a USB hard drive to back up the
SQL DB. My DB are about 40GB with only around 20GB free on C: I have
larger drives then this,
I am not aware of that BACKUP creates any temporary files. Exactly how
does your BACKUP command look like, and what error message do you get?

You can change the location of the %TEMP% and %TMP% in the System applet
in the Control Panel (Advanced tab->Environment variables.) I expect that
you need to restart SQL Server for it to take effect. If SQL Server ever
looks at these, which I doubt.

Quote:
I need realtime db backups
Not really sure what you mean with realtime backups, but if you need to be
able to restore to a point in time, you should back up the transaction log
frequently. It's usually enough to backup the database once a day.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #10  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: SQL Server 2005 Backups - 10-28-2008 , 04:34 PM



John S. Pandolph (John S. Pandolph (AT) discussions (DOT) microsoft.com) writes:
Quote:
I'm having an issue where there isn't apparently enough disk space on
the local C drive to create the temporary files used to create the
backups. I'm currently trying to use a USB hard drive to back up the
SQL DB. My DB are about 40GB with only around 20GB free on C: I have
larger drives then this,
I am not aware of that BACKUP creates any temporary files. Exactly how
does your BACKUP command look like, and what error message do you get?

You can change the location of the %TEMP% and %TMP% in the System applet
in the Control Panel (Advanced tab->Environment variables.) I expect that
you need to restart SQL Server for it to take effect. If SQL Server ever
looks at these, which I doubt.

Quote:
I need realtime db backups
Not really sure what you mean with realtime backups, but if you need to be
able to restore to a point in time, you should back up the transaction log
frequently. It's usually enough to backup the database once a day.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.