MySQL数据库在Windows服务器上自动备份 [英] MySQL Database backup automatically on a windows server

查看:166
本文介绍了MySQL数据库在Windows服务器上自动备份的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一种方法可以在一天的某些时间自动备份MySQL数据库以指定服务器或发送附件的电子邮件。你认为哪种方式是实现这一点的最好和最安全的方法?

Is there a way to back up MySQL database automatically at certain times of the day for designated servers or send an email with an attachment.. Which ever do you think is the best and safest way to achieve this?

推荐答案

我会使用Windows任务Scehduler / cron(取决于您的系统)和 mysqldump 。向下滚动链接,它包括一些见解如何实现你想要的。

I would use Windows Task Scehduler/cron (depending on your system) and mysqldump. Scroll down in the link, it includes some insights how to achieve what you want.

这篇关于MySQL数据库在Windows服务器上自动备份的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆