Re: MSDE OSQL Shutdown

From: Helge C. Rutz (Helge.Rutz_at_remove-this.update4u.de)
Date: 09/06/04


Date: Mon, 6 Sep 2004 11:10:39 +0200

Hi Nico,

es gibt keine sinnvolle Lösung für den Shutdown wie Du Ihn durchführen
willst.

1. Wenn Du irgendwo im SQL Server nachschaust ob ein Job läuft, o.ä. und
dann den Server herunterfährst könnte genau in dem Moment die Aktion
parallel gestartet werden, und würde somit doch abgebrochen.

2. Aus Gründen der Datenkonsistenz sollten Datenbanken niemals Offline
gesichert werden. Abgebrochene Transaktionen durch den Shutdown sind das
geringste Problem. Du kannst so nie wissen ob die DB noch intakt ist, oder
Fehler intern auftreten. Kleine Fehler kommen immer mal vor - wenn man sie
rechtzeitig behebt kein Problem, bei ignorieren droht später totaler
Datenverlust.
Ich hatte mal ne Firma die hat durch Offline Sicherung 3 Monate Arbeit in
Ihrer FiBu verloren, weil alle Backups dazwischen unbrauchbar waren ;-)

Leider erzählen einige Hersteller von MSDE basierenden Anwendungen Ihren
Anwendern nichts davon, und unterstützen regelmäßige DB-Wartungen auch nicht
in Ihrem Produkt.
Trotzdem bitte niemals Offline Sicherungen durchführen wenn die Daten
wichtig sind.

Schreibe statt dessen lieber ein Skript mit BACKUP und DBCC CHECKDB,
erstelle DB Backups in ein separates Backup Verzeichnis und schließe das
Datenbank Verzeichnis des SQL Servers dafür vom Dateibackup aus.
So einfach macht man sichere und funktionelle DB Backups ;-)

Ciao,
Helge



Relevant Pages

  • Re: Backup software for SBS2003 Standard
    ... I configured my test server with Windows Server 2003 and SCE, which runs on a SQL or MSDE database. ... As you say, I'd continue to do the online Exchange backups, maybe to file so they're included in the SP backups. ... For databases I care about, I do Enterprise Manager backups to file a few times a day, and those get included in the SP backups as well. ...
    (microsoft.public.windows.server.sbs)
  • Re: SQLVDI - Fixed
    ... Fixed it on my problem server. ... the app they use filed on SQL 2005, so I downgraded to SQL 2000 and then ... installed Share Point which installs a version of SQL ... Today the backups completely failed, could not even backup single file ...
    (microsoft.public.windows.server.sbs)
  • Re: Emailing SQL 2000 maintenance report via SMTP?
    ... You can create jobs within the SQL Server Agent that will backup ... > DB maintenance plan just stops doing what it should, ... > today) where I find my backups haven't been working for a month!!! ...
    (microsoft.public.sqlserver.programming)
  • Re: Location of Data
    ... first install), then you will probably reach a point on your second or third ... Moving Data Flolder for Windows Small Business Server 2003 ... >> As far as SQL backups, use SQL Enterprise manager to do at least daily>> backups to your D drive and then let your Backup program bakup the SQL ...
    (microsoft.public.windows.server.sbs)
  • Newbie Questions
    ... I`ve just installed SQL 2000 on a server for Learning Purpose`s. ... noticed in my database`s list I have the following Databases: ... Also if i want to have a copy of the SQL server database OFFLINE (on some ...
    (microsoft.public.sqlserver.setup)