SAE数据库导入、导出和备份方法
- 时间:2012-10-12 19:36:38
- 分类:网络文摘
- 阅读:85 次
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 Increase Your Ecommerce Sales Using Social Media Keyword Rank Tracking: What Newbie Bloggers Need to Know Why Digital Products are the Key to Success for Bloggers Why You Should Consider Alternative Domain Name Extensions for y How to Create a Successful WordPress Site How to Launch an E-Course the Right Way as a Blogger Is Malaysia finally cleaning up corruption? I think not. How to use ‘Answer the Public’ to Create Unmissable Blog Posts A Guide to Handling Negative Comments and Reviews The Best Link Building Methods For Your Website
- 评论列表
-
- 添加评论