Skip to main content
Solved

Backing up MySQL on Windows Server

  • June 6, 2025
  • 4 comments
  • 64 views

Forum|alt.badge.img
  • Comes here often
  • 14 comments

We are getting an application that runs on MySQL and I need to know if & how Veeam can backup MySQL. So far I’ve found documentation on how to do this in Linux but not Windows. Im running VBR 12.3

Best answer by Link State

We are getting an application that runs on MySQL and I need to know if & how Veeam can backup MySQL. So far I’ve found documentation on how to do this in Linux but not Windows. Im running VBR 12.3

You can dump the MySQL DB onto a separate disk and then run the Veeam backup. Alternatively, before launching the Veeam backup, you can insert a pre/post script into the job that stops the database and restarts it at the end of the backup.

Pre-Freeze and Post-Thaw Scripts

Hot Backup of MySQL on Windows - R&D Forums

 

4 comments

Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 9587 comments
  • June 6, 2025

It does not appear that you can on Windows as per this forum thread - Support for application aware backup of MySQL/Postgresql on Windows?


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 9587 comments
  • June 6, 2025

There is some scripts there in that post (link) that might help.


Tommy O'Shea
Forum|alt.badge.img+5
  • Veeam Legend
  • 359 comments
  • June 6, 2025

I’m also seeing that is will only be consistent if the MySQL server is on Linux. For your application, if it must run on Windows, you’ll want to have a separate, dedicated Linux server for the database.


Link State
Forum|alt.badge.img+11
  • Veeam Legend
  • 686 comments
  • Answer
  • June 7, 2025

We are getting an application that runs on MySQL and I need to know if & how Veeam can backup MySQL. So far I’ve found documentation on how to do this in Linux but not Windows. Im running VBR 12.3

You can dump the MySQL DB onto a separate disk and then run the Veeam backup. Alternatively, before launching the Veeam backup, you can insert a pre/post script into the job that stops the database and restarts it at the end of the backup.

Pre-Freeze and Post-Thaw Scripts

Hot Backup of MySQL on Windows - R&D Forums