开发者

Amazon AMI uploading database

开发者 https://www.devze.com 2023-04-05 11:18 出处:网络
I\'m trying to work out how to upload a 15gb database to my Amazon AMI on EC2. It keeps dropping. My ISP gives 1.5mb/s upload. Also my dow开发者_JAVA技巧nload speed is goes to neraly nothing when I am

I'm trying to work out how to upload a 15gb database to my Amazon AMI on EC2. It keeps dropping. My ISP gives 1.5mb/s upload. Also my dow开发者_JAVA技巧nload speed is goes to neraly nothing when I am uploading. Is there a way to send the database over quickly using EC2?

Thanks


You can use any database GUI manager to upload the database. Connect to your EC2 database using your database GUI manager and upload the data from your local system. If you are using MySQL as your database I will suggest SQLYog MySQL GUI manager, Connect to your EC2 using ssh tunneling and upload your data.


Consider using rsync with options like:

rsync -PazSHAX LOCALDIRECTORY/ REMOTEHOST:/REMOTEDIRECTORY/

Keep running it until it completes successfully as it will resume where it left off.


You can consider Amazon Import/Export for that. It costs some money, though.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号