Skip to content

Instantly share code, notes, and snippets.

View Jorgemunive's full-sized avatar

Jorgemunive

  • Lima, Perú
View GitHub Profile
@damonsk
damonsk / prestashopinstall
Created May 21, 2012 09:09
New Prestashop Install CHMOD & CHOWN
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/
@oodavid
oodavid / README.md
Created March 26, 2012 21:21
Restore MySQL from Amazon S3

Restore MySQL from Amazon S3

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

1 - Set your MySQL password and S3 bucket, make a temp dir, get a list of snapshots

# Set our variables

export mysqlpass="ROOTPASSWORD"

@oodavid
oodavid / README.md
Created March 26, 2012 17:05
Backup MySQL to Amazon S3

Backup MySQL to Amazon S3

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

1 - Install s3cmd

this is for Centos 5.6, see http://s3tools.org/repositories for other systems like ubuntu etc