Home > Archive > MS SQL Server > October 2006 > Back up the transaction log for the database to free up some log space.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Back up the transaction log for the database to free up some log space.
tractng@gmail.com

2006-10-24, 6:38 pm

Guys,

I got this message and immediately backup the transaction log. It
fixed the problem.


We are using a third party (Legato) backup which is doing a full backup
of the sql. I am not too thrilled about this product.

Anyways, if I use MS backup wizard, would choosing "Full Backup" fix
this problem? Do I still need to backup the transaction seperate?
Also, do I want to append to media or over write existing if I were to
backup the transaction only(I backed the server up daily, so the flat
files would go onto tape)?

I am on SQL 2000 SP4.


Thanks advance.
Tnt

Tracy McKibben

2006-10-24, 6:38 pm

tractng@gmail.com wrote:
> Guys,
>
> I got this message and immediately backup the transaction log. It
> fixed the problem.
>
>
> We are using a third party (Legato) backup which is doing a full backup
> of the sql. I am not too thrilled about this product.
>
> Anyways, if I use MS backup wizard, would choosing "Full Backup" fix
> this problem? Do I still need to backup the transaction seperate?
> Also, do I want to append to media or over write existing if I were to
> backup the transaction only(I backed the server up daily, so the flat
> files would go onto tape)?
>
> I am on SQL 2000 SP4.
>
>
> Thanks advance.
> Tnt


Use the built-in BACKUP DATABASE and BACKUP LOG commands to do your
database backups. Create a scheduled SQL Agent job for each. Don't
use third-party agents, like Legato, for direct database backups, they
tend to be awkward to restore from if necessary. Use the built-in
commands to dump the database (and log) backups to disk, then use
Legato to backup those disk files.

tractng@gmail.com

2006-10-24, 6:38 pm

Tracy,

Would backing up using the GUI be enough? Does the GUI "Full Backup"
take care of the log problem that I had stated earlier or do I have to
do the transaction log backup separate?

Still new to the backup command so I don't want to use it yet till I
test it.

Thanks,
tnt

Tracy McKibben wrote:
> tractng@gmail.com wrote:
>
> Use the built-in BACKUP DATABASE and BACKUP LOG commands to do your
> database backups. Create a scheduled SQL Agent job for each. Don't
> use third-party agents, like Legato, for direct database backups, they
> tend to be awkward to restore from if necessary. Use the built-in
> commands to dump the database (and log) backups to disk, then use
> Legato to backup those disk files.


David Portas

2006-10-24, 6:38 pm

tractng@gmail.com wrote:
> Tracy,
>
> Would backing up using the GUI be enough? Does the GUI "Full Backup"
> take care of the log problem that I had stated earlier or do I have to
> do the transaction log backup separate?
>
> Still new to the backup command so I don't want to use it yet till I
> test it.
>
> Thanks,
> tnt
>


tractng@gmail.com wrote:
> Tracy,
>
> Would backing up using the GUI be enough? Does the GUI "Full Backup"
> take care of the log problem that I had stated earlier or do I have to
> do the transaction log backup separate?
>
> Still new to the backup command so I don't want to use it yet till I
> test it.
>
> Thanks,
> tnt
>


No. As Tracy suggested, if you don't understand backups you should
study the documentation carefully before you do anything. If you fail
to do that then your data may be at risk.

--
David Portas, SQL Server MVP

Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.

SQL Server Books Online:
http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx
--

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com