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

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

    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,用户如果出于可靠性的考虑,也可以使用数据导出功能自行备份。

推荐阅读:
How to Find Positive Integer Solution for a Given Equation using  How to Implement the instanceof in Javascript?  Azerbaijani Blogger, Mehman Huseynov Sentenced To Prison For All  Fitness Blog Shows Us All How Transformation Photos Can Be Decei  StickPNG: A Blogger’s Haven For Personal Use Images  5 Tips for Getting More Experience in Your Blogging Niche  Right-Wing Blogger Milo Yiannopoulos Resigns From Breibart  How to Make Better Landing Pages for Higher Conversions  Emerging Social Media Tools for Bloggers 2017  The Current State of Content Marketing [Infographic] 
评论列表
添加评论