Wordpress的备份和还原(插件篇)

Posted on Sun 17 February 2013 in WordPress

本文介绍仅仅使用wordpress插件,完成系统的备份和还原。 本博客用这个方式进行了还原,数据库由9M缩减到了3M!

系统推荐的导入工具WordPress Importer

Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.

当前版本是0.6。 有一个限制:最大导入文件是2M

导出插件:Advanced Export

应用本工具会创建一个 XML 备份文件,供您保存到计算机中。 这种格式被称为 WordPress eXtended RSS 或 WXR,它包含了您的全部文章、页面、评论、自定义栏目、分类目录和标签。 因为当前所用的导入插件限定导入文件大小不能超过2M,所以需要“Advanced Export”这个插件帮忙

按照日期对导出文件进行拆分(Restrict by Date)

Start: Month   Year     End: Month   Year
  1. Start不设置, ~ End: M=03, Y=2010
  2. Start: M=04, Y=2010 ~ End: M=12, Y=2011
  3. Start: M=01, Y=2012 ~ End: M=01, Y=2013

WordPress Flash Uploader

'Sync Media Library' is a plugin which allows you to synchronize the Wordpress database with your upload folder.

就是把wp-content/uploads下的图片和wp自身的媒体数据库进行同步的工具。

Using Version: 2.16.5