SAE数据库导入、导出和备份方法

  • 时间:2012-10-12 19:36:38
  • 分类:网络文摘
  • 阅读:144 次

    SAE支持两种方式数据导入、导出:

    A. 对于4M以内的小数据,用户可以通过PhpAdmin在线同步的导入、导出
    B. 对于4M以上的数据,不推荐使用PhpAdmin同步的执行(实际因为php等限制,用户也无法执行该操作),而是强烈建议使用DefferedJob来完成MySQL数据的导入、导出。其中,导出是用户通过DefferedJob将MySQL中的数据生成sql源文件并存放在用户的Storage存储中;而导入,对于大文件,用户需要使用cyberduck(下载地址http://cyberduck.ch/ ,连接方法参考:http://sae.sina.com.cn/?m=devcenter&a=index&catId=204&content_id=375),将用户的sql文件上传至Storage存储中,然后通过在线管理平台,将该sql导入到MySQL中。 具体参考:DeferredJob 。

    数据备份

    SAE提供MySQL服务的高可靠性,根据SLA需求不同,一个一主一从到一主N从的数据库HA,用户如果出于可靠性的考虑,也可以使用数据导出功能自行备份。

推荐阅读:
7 ABC’s for Turning Words into Money with Your Blog  Here’s What You Don’t Know About The Oxford Comma  Euro 2016: Underway And Plenty Has Changed  A Look Behind the Curtain of the Fashion Blogging World  How To Bring Your Old Blog Posts Back From The Dead  Five Essential Photography Tips for Bloggers  Desired Domain Name Taken? Here’s What To Do Next  Sex Bloggers Shocked By Tumblr’s Smut Smackdown  Can You Recover From A Facebook Rant Gone Viral?  Blogging On A Schedule: Why Providing Consistent Content Matters 
评论列表
添加评论