Forum Discussion

Shigerua's avatar
Shigerua
Level 2
11 years ago

Backup mit VM-Agent und SQL-Agent schlägt fehl

Guten Morgen,

wir nutzen Backup Exec 2012 in einer vmware esxi Umgebung.

Die virtuellen Maschinen sichern wir mit Hilfe vom vmware Agent. (Also direkte vmdk Sicherung).

Um nun auch die Transaktionsprotokolle zu sichern und entsprechend zu shrinken, haben wir einen zusätzlichen Backup Job angelegt, extra für die SQL Sicherung.

Dieser sieht wie folgt aus -> SQL Komplett, Differenziell, Inkrementell.

Das klappt soweit auch ganz gut. Wenn jedoch nun der vmware Job läuft, schlägt die SQL Inkrementelle/Differenzielle Sicherung fehl, da angeblich die letzte Vollsicherung nicht über Backup Exec lief.

Im SQL Management Studio sehe ich unter den Backups auch einen Eintrag um die selbe Uhrzeit, wenn die vmware Sicherung läuft. Als Name wird dabei jedoch nicht "Backup Exec" eingetragen.

Dies wird nur eingetragen, wenn die Sicherung über eine Direktsicherung des Servers läuft.

(3 Uhr ist die vmware Agent Sicherung). Danach schlagen die Protokoll/Differenzialsicherungen fehlt.

Bildschirmfoto 2013-10-23 um 09.11.48.png

 

Daher meine Frage, wie der Best Practice ist, wenn man SQL Server mit Hilfe von vmware Agents sichert.

Kann man mit Hilfe der vmware Sicherung die Protokolle mitsichern, sodass diese nicht ständig anwachsen?

Wenn nein, wie kann ich verhindern, dass die vmware Agent Sicherung eine SQL Sicherung durchführt?

GRT im vmware Agent zu deaktivieren, brachte keine Besserung.

 

Besten Dank für alle Ratschläge

  • The VMware and the SQL backups must be scheduled in such a manner that the VMware job does not interrupt the SQL backup sequence. In other words, ensure the sequence of SQL Full + log backups complete...then run the VM backup...and then the SQL Full + log sequence again.

    For egs.

    Vmware Backup

    SQL Full

    SQL log

    SQL log

    VMware Backup

    SQL Full

    SQL log...

    KB - http://www.symantec.com/business/support/index?page=content&id=TECH137587

5 Replies

  • I would suggest you to perfrom a Full and Incremental backup of SQL databases only once a week, like lets say on Friday run the SQL Full followed immediately by the Incremental backup.

    The above is assuming the VMware Full backup would start on Friday after the above 2 jobs have finished. This would allow you to acomplish both, the incremental backups success and backing up of transaction log which should remove the error/exception which gets generated otherwise.

  • The VMware and the SQL backups must be scheduled in such a manner that the VMware job does not interrupt the SQL backup sequence. In other words, ensure the sequence of SQL Full + log backups complete...then run the VM backup...and then the SQL Full + log sequence again.

    For egs.

    Vmware Backup

    SQL Full

    SQL log

    SQL log

    VMware Backup

    SQL Full

    SQL log...

    KB - http://www.symantec.com/business/support/index?page=content&id=TECH137587

  • Thank you both for your suggestions.

    I will think about it how to get the best Backup solution.

     

    VJware gave me the correct clue, and Jaydeep S gave me a good idea how to get create a backup job without errors.

    unfortunately I can only mark one solution.