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

Scheduling a script
I wish to run this script daily. Can this be scheduled?


backup log shipmateDB with truncate_only


G



Report this thread to moderator Post Follow-up to this message
Old Post
Myth of Sisyphus\).
07-28-05 01:23 AM


Re: Scheduling a script
Hi

Look at SQL Server Agent in BOL. It can schedule jobs and run code.

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/

"Myth of Sisyphus)." <teller_117@hotmail.com> wrote in message
news:iqRFe.4700$q23.748061@news20.bellglobal.com...
>I wish to run this script daily. Can this be scheduled?
>
>
> backup log shipmateDB with truncate_only
>
>
> G
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Mike Epprecht \(SQL MVP\)
07-28-05 01:23 AM


Re: Scheduling a script
"Mike Epprecht (SQL MVP)" <mike@epprecht.net> wrote in message
 news:42e7ed30$1_1@ne
ws.bluewin.ch...
> Hi
>
> Look at SQL Server Agent in BOL. It can schedule jobs and run code.
>

Can I add though that this script is probably not a good idea.

Either run the database in simple mode or perform actual log backups.


> 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/
>
> "Myth of Sisyphus)." <teller_117@hotmail.com> wrote in message
> news:iqRFe.4700$q23.748061@news20.bellglobal.com... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Greg D. Moore \(Strider\)
07-28-05 01:23 AM


Re: Scheduling a script
Hi Greg,

I do have a  log file backup scheduled along with my regular backup.
However, I do get sporatic log file full messages. I then have to run the
script  through the query analyzer that appears to solve the problem untill
the next time.

regards

gilbert


"Greg D. Moore (Strider)" < mooregr_deleteth1s@g
reenms.com> wrote in message
news:J5VFe.10184$oZ.2845@newsread2.news.atl.earthlink.net...
>
> "Mike Epprecht (SQL MVP)" <mike@epprecht.net> wrote in message
>  news:42e7ed30$1_1@ne
ws.bluewin.ch... 
>
> Can I add though that this script is probably not a good idea.
>
> Either run the database in simple mode or perform actual log backups.
>
> 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Myth of Sisyphus\).
07-28-05 02:24 PM


Re: Scheduling a script
"Myth of Sisyphus)." <teller_117@hotmail.com> wrote in message
news:5y4Ge.5644$q23.914966@news20.bellglobal.com...
> Hi Greg,
>
> I do have a  log file backup scheduled along with my regular backup.
> However, I do get sporatic log file full messages. I then have to run the
> script  through the query analyzer that appears to solve the problem
 untill
> the next time.

But then you've completely invalidated your log backup chain.

I think you need to revisit your disaster recovery scenario since once
you've done the truncate, you can no longer recover anything past the last
transaction back up or full backup.

You're either better of doing transaction log backups more often to avoid
filling up your log, making your log larger, or finding out what's filling
them up.


>
> regards
>
> gilbert
>
>
> "Greg D. Moore (Strider)" < mooregr_deleteth1s@g
reenms.com> wrote in
 message
> news:J5VFe.10184$oZ.2845@newsread2.news.atl.earthlink.net... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Greg D. Moore \(Strider\)
07-28-05 02:24 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 11:37 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006