SAE数据库导入、导出和备份方法
- 时间:2012-10-12 19:36:38
- 分类:网络文摘
- 阅读:94 次
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,用户如果出于可靠性的考虑,也可以使用数据导出功能自行备份。
推荐阅读:Fresno Blogger Changing The Vegan Blogging Scene Russian ‘Pokemon Go’ Blogger Goes On Trial Starting a Blog? 5 Topics People Care About in 2017 6 Strategies To Grow Your Facebook Page 5 Sure Shot Content Marketing Trends to Follow 7 Ways for Your Underdog Blog to Beat the Competition Darkstore Aims to be Less Invasive Alternative to Tech Giants ac 5 Free Blogging Apps You Need On Your IPhone Right Now The Exact Amount that You Must Spend on a Great Blog Is… How to Make Videos Search Engines Love
- 评论列表
-
- 添加评论