跳至主要内容

Mysql数据库备份、还原、管理工具--MysqlDumper

mysql_dumper_logo虽然PhpMyadmin提供了足够多和足够细致的功能让我备份(导出)和还原(导入)数据库,但还是觉得它的操作有些烦琐。其实每次备份和还原都是完全一样的操作,无非是选中数据库和编码,选中要导出的表单,选择导出格式,然后导出。phpmyadmin的页面反应速度也不是很好,每个操作度要等上几秒才开始执行,每天都进行这样几个步骤是有点烦人的。

MysqlDumper正好适合我这样勤于备份懒于操作的人,每次只要点击两、三个按钮就可以自动完成备份和还原的工作,而且执行起来感觉很流畅。它同时还兼具已备份数据库管理和数据库浏览功能,每次操作都有记录日志。

本来MysqlDumper的设计初衷,是为了解决绝大部分空间上PHP文件执行时间不能超过30秒而导致的大数据库难以备份的问题,以及大数据库下载速度太慢和下载容易中断的问题,不过对我来说它就是方便而已。

MysqlDumper默认把备份好的数据库存放于服务器上,可以很方便的通过FTP下载下来,速度和稳定性上都比直接从web下载好很多。另外它还支持E-mail备份,可以把备份好的数据库通过邮件发送到你的邮箱中(默认不开启)。因为是多次备份,所以MysqlDumper可以设置一个最大备份数量,超过这个备份数量时,旧的备份就自动删除以节约空间;这个功能默认也不开启,本身数据库就不是很大,加上它的Gzip压缩功能,在国外以G为单位计算的空间上实在找不到节省这点空间的理由。mysqldumper控制台

它还有一个很酷的功能就是可以在服务器上通过FTP自动传送备份文件到远程服务器上,最多可以设置三个远程服务器。这个功能我不常用(虽然空间我是有好几个),我更想知道的是这个功能是如何实现的,那样以后就算没有SSH,也可以在服务器上直接从远程服务器上传、下载文件了。

安装不多说了,按照程序中提供的安装说明文件进行即可。要注意的是,MysqlDumper并没有内置的用户名+密码认证系统,它是通过.htaccess和.htpasswd文件来实现整个文件夹保护的,如果你的空间不支持.htaccess,那出于安全考虑最好不要用这个。文件夹保护密码和用户名在MysqlDumper后台设置好后它会自动写入这两个文件,mysqldumper的安装目录属性要先设置成777以保证文件的正常写入。其实这种保护在Cpanel也可以完成的。

评论

此博客中的热门博文

How to Design a Store Front Sign

In this Article we will talk about designing a store front for a business. What color or size should your Letters & designs be? What to put on your sign and why?, then be ready to Get in touch with sign people and get your best deal. Large lettering with out a front sign could save you time and money Do your products have a special shape or color to emulate on your sign? Kodak is always in yellow and black, Coca-Cola white on red, Etc. Muffler places, have a sign in the shape of a muffler. your phone number on the store front some place, but not on the identification sign, (door, or window) Your Product & logos can be arranged on the front sign, or window. Not on the Pole sign, Store hours & phone number could fit in your design and by using the product color, it could add product recognition & enhance your design. Suppliers may provide plenty of advert...

How to Make Money from Home Posting Links With No Out of Pocket Expense

Many people are earning money working from home just posting links on a blog, a website, or on well organized Social network marketing website. Anyone can earn substantial income by knowing what to do, where to do it, and how to do it. This article is designed around the Know How concepts to help people without that knowledge to set up their Blogs or Websites to achieve goal. Money is a medium of exchange that brings financial success TRAFFIC EXCHANGE ACCOUNT Log into your website or blog account and place the adsense code into the html document. Then save your document. Upload you website or blog to the internet following any instruction you received from your webmaster. Remember that your webmaster host your website or blog absolutely free. You must publish your site or blog for changes to take place. You now need free traffic resources to advertise and promote your new blog...

找到一个可以替代ghs.google.com的地址

用Goole Blogger的自定义域名功能需要用到 ghs.google.com 做CNAME,或者用ping ghs.google.com 得出的IP做一个A记录.但是,伟大的GFW已经把 ghs.google.com 和部分IP屏蔽在大陆之外.这样的壮举使得我们的自定义域名不能正常访问,或者让你的网页背景.图片被滤掉,精心做成的模板变得惨白不堪. 那么,我们可不可以找一个替代 ghs.google.com 的地址呢?当然能.因为Google是强大的.它有许多有用的IP地址让你去探寻. 对 ghs.google.com 分析研究后发现, ghs.google.com 这台服务器并没有提供实质性的服务,而只是选择访问者访问最快的服务器(Google全球性公司,很多地区都有服务器).我们只要找到其他服务器的IP地址,并且这个IP地址没被屏蔽,那么就成了. 寻找这样的IP地址需要用到tracert命令.即在CMD模式下输入:tracert ghs.google.com ,在已经屏蔽的当下,最后自然得不出结果,这就需要我们使用代理了.使用不同地区的代理运行tracert ghs.google.com 命令. tracert ghs.google.com 的最后一跳会有类似这样的域名: eh-in-f121.google.com 如果在不用代理的情况下,你能ping通这个域名,那么恭喜你,你找到了!现在就可以用这个域名代替 ghs.google.com 设置你的CNAME了,ping出的IP地址可以做A记录,CNAME和A记录,只做其中之一就可以. hs-in-f121.google.com 64.233.179.121 eh-in-f121.google.com 72.14.207.121 bx-in-f121.google.com 66.249.81.121 ik-in-f121.google.com 66.249.91.121 这4个在我所在地区不能使用,而可以使用 tw-in-f121.google.com 72.14.235.121 或者209.85.171.121也可用 下面是一些不断更新的:74.125.43.121 除了使用代理来寻找,也可以通过一些网站提供的功能来寻找这个地址,很方便,就是使用网站提供的Traceroute.这些网站有: h...