This is a hands-on way to pull down a set of MySQL dumps from Amazon S3 and restore your database with it
Sister Document - Backup MySQL to Amazon S3 - read that first
# Set our variables
export mysqlpass="ROOTPASSWORD"
wget http://prestashop.googlecode.com/files/prestashop_1.4.8.2.zip | |
unzip prestashop_1.4.8.2.zip | |
rm -rf css/ | |
rm -rf favicon.ico | |
rm -rf img/ | |
rm -rf index.html | |
rm -rf picture_library/ | |
rm -rf prestashop_1.4.8.2.zip | |
rm -rf test/ |
This is a hands-on way to pull down a set of MySQL dumps from Amazon S3 and restore your database with it
Sister Document - Backup MySQL to Amazon S3 - read that first
# Set our variables
export mysqlpass="ROOTPASSWORD"
This is a simple way to backup your MySQL tables to Amazon S3 for a nightly backup - this is all to be done on your server :-)
Sister Document - Restore MySQL from Amazon S3 - read that next
this is for Centos 5.6, see http://s3tools.org/repositories for other systems like ubuntu etc