Re: Automating SQL Service start and shut down
anonymous_at_discussions.microsoft.com
Date: 06/16/04
- Next message: anonymous_at_discussions.microsoft.com: "Re: Automating SQL Service start and shut down"
- Previous message: SuperGumby [SBS MVP]: "Re: Installation Problem"
- In reply to: Keith Kratochvil: "Re: Automating SQL Service start and shut down"
- Next in thread: Keith Kratochvil: "Re: Automating SQL Service start and shut down"
- Reply: Keith Kratochvil: "Re: Automating SQL Service start and shut down"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Jun 2004 03:15:17 -0700
I didn't make myself very clear, sorry.
I need to backup the whole server, unattended late at
night. I didn't know how to schedule to turn off/on SQL
to ensure that the DBs were backed up along with the rest
of the server. If the service is running then the DBs are
skipped.
Many thanks for the feedback/advice. Its an approach I
wasn't aware of. :-)
>-----Original Message-----
>Why not just issue a Transact-SQL BACKUP command to
backup the databases to disk? You can come along with
your backup software and backup the backup files. This
is the best method, as "backups" taken of the database
and log files without performing sp_detach_db are not
guaranteed to be re-attachable. You can create jobs
within SQL Server that backup your databases to disk on a
particular schedule.
>
>Another benefit of the T-SQL BACKUP command is that the
server (and databases) remain available throughout the
process. You do not experience any downtime.
>
>
>
>--
>Keith
>
>
>"GW" <Graham.Wilcox@en-dc.co.uk> wrote in message
news:1c82601c452f4$4462ccc0$a301280a@phx.gbl...
>> Can anybody advise me on how to schedule the SQL
service
>> to close before a backup is run and restart afterwards?
>>
>> Many thanks
>.
>
- Next message: anonymous_at_discussions.microsoft.com: "Re: Automating SQL Service start and shut down"
- Previous message: SuperGumby [SBS MVP]: "Re: Installation Problem"
- In reply to: Keith Kratochvil: "Re: Automating SQL Service start and shut down"
- Next in thread: Keith Kratochvil: "Re: Automating SQL Service start and shut down"
- Reply: Keith Kratochvil: "Re: Automating SQL Service start and shut down"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|