---
title: "运用navicat for mysql实现定时备份"
author: "thomas0988"
date: "2015-06-05T15:02:11Z"
tags: []
categories: ["数据库"]
slug: "navicat-for-mysql"
draft: false
lastmod: "2015-06-05T15:02:11Z"
id: 2217322
url: "https://thomas0988.iteye.com/blog/2217322"
---

使用navicat for mysql实现定时备份

　　首先打开需要进行备份的数据库，使之被高亮选中。点击“Schedule”菜单，点击后将出现如下图所示的功能界面：

　　![768x594](http://img.educity.cn/img_10/263/2014010913/38387132331.jpg "点击查看大图")

　　点击“New Batch Job”，点击后将出现如下图所示的功能界面：

　　![873x594](http://img.educity.cn/img_10/263/2014010913/38389132332.jpg "点击查看大图")

　　“General”选项卡中显示了指定数据库连接下各个数据库实例中可供使用的JOB，鼠标左键双击可用的JOB，即可使之成为当前即将要创建的Schedule中的JOB，如下图所示：

　　  
![873x594](http://img.educity.cn/img_10/263/2014010913/38390132332.jpg "点击查看大图")

　　点击“Save”，点击后会弹出一个名为"Profile Name"的对话框，在此对话框中可以给Schedule一个自定义的名称，名称键入完毕后，点击“OK”。具体操作如下图所示：

　　![593x27](http://img.educity.cn/img_10/263/2014010913/38391132333.jpg "点击查看大图")

　　![406x137](http://img.educity.cn/img_10/263/2014010913/38392132333.jpg "点击查看大图")

　　![406x137](http://img.educity.cn/img_10/263/2014010913/38393132334.jpg "点击查看大图")

　　点击“Set Task Schedule”按钮，以对计划进行更详细地配置，相关操作所下图所示；如果在点击“Set Task Schedule”按钮的时候提示没有打开Task Scheduler服务，请到操作系统“服务”管理界面打开指定服务即可。

　　  
![593x27](http://img.educity.cn/img_10/263/2014010913/38394132335.jpg "点击查看大图")

　　![406x425](http://img.educity.cn/img_10/263/2014010913/38396132337.jpg "点击查看大图")

　　![406x425](http://img.educity.cn/img_10/263/2014010913/38398132338.jpg "点击查看大图")

　　计划设置完毕后，可以点击“Start”按钮，以测试Schedule的运行结果是否正确。

　　![570x27](http://img.educity.cn/img_10/263/2014010913/38399132338.jpg "点击查看大图")  
![653x400](http://img.educity.cn/img_10/263/2014010913/38400132339.jpg "点击查看大图")