Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

arbitrarily delete transaction log
Question: (SQL Server 2000) Can I arbitrarily delete a transaction log
file in either bulk or full with a cron job and still be able to
restore a backup? Or are the log and the .bak enmeshed to the extent
that this not do-able?

Details: I need to exclude a file group from a backup as it's static
data and replicated on a remote server. In order to do this I cannot
use a simple recovery model which I currently use; at least in the GUI
the exclude filegroup option is grayed-out. So it appears I need to use
either bulk or full backups although I only need the functionality of
the simple model.

Is there another way to delete/truncate this transaction log without
making a backup? Or can I just schedule backup through the day to
handle this issue?

Obviously I am not a DBA but still need to solve this problem.

Thanks,
Phil


Report this thread to moderator Post Follow-up to this message
Old Post
plsullivan63@gmail.com
12-20-05 02:23 PM


Re: arbitrarily delete transaction log
Hi

If you are lucky you can, BUT it is not supported do delete the log's file.

You may end up with a corrupted DB, so you would really be screwed.

The correct way is to make a log backup before you take a full backup.
Ideally, you should take log backups frequently during the day otherwise
point in time recovery will be very difficult to attain.

Regards
--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland

IM: mike@epprecht.net

MVP Program: http://www.microsoft.com/mvp

Blog: http://www.msmvps.com/epprecht/

<plsullivan63@gmail.com> wrote in message
news:1135089414.886821.49020@g43g2000cwa.googlegroups.com...
> Question: (SQL Server 2000) Can I arbitrarily delete a transaction log
> file in either bulk or full with a cron job and still be able to
> restore a backup? Or are the log and the .bak enmeshed to the extent
> that this not do-able?
>
> Details: I need to exclude a file group from a backup as it's static
> data and replicated on a remote server. In order to do this I cannot
> use a simple recovery model which I currently use; at least in the GUI
> the exclude filegroup option is grayed-out. So it appears I need to use
> either bulk or full backups although I only need the functionality of
> the simple model.
>
> Is there another way to delete/truncate this transaction log without
> making a backup? Or can I just schedule backup through the day to
> handle this issue?
>
> Obviously I am not a DBA but still need to solve this problem.
>
> Thanks,
> Phil
>



Report this thread to moderator Post Follow-up to this message
Old Post
Mike Epprecht \(SQL MVP\)
12-20-05 02:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 12:47 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006