Difference between revisions of "Installing Magento Extensions : Pre-install Checklist"
Jump to navigation
Jump to search
m |
m |
||
Line 5: | Line 5: | ||
# '''Backup your database''' | # '''Backup your database''' | ||
− | #* eg. using the command line (changing <code>[bracketed words]</code> to match your setup): | + | #* eg. using the '''command line''' (changing <code>[bracketed words]</code> to match your setup): |
#** Make a backup of your database: <code>mysqldump -u [database user] -p [database name] > db_backup_[todays date].sql</code> | #** Make a backup of your database: <code>mysqldump -u [database user] -p [database name] > db_backup_[todays date].sql</code> | ||
#** Restore from backup: <code>mysql -u [database user] -p [database name] < db_backup_[todays date].sql</code> | #** Restore from backup: <code>mysql -u [database user] -p [database name] < db_backup_[todays date].sql</code> | ||
− | #* eg. using phypMyAdmin: | + | #* eg. using '''phypMyAdmin''': |
#** Export/Import your Magento database | #** Export/Import your Magento database | ||
+ | #:: ''Make sure you "Disable Foreign Key Constraints".'' | ||
#* With either method, test that you can restore a backup (eg. to a test blank db) before starting! | #* With either method, test that you can restore a backup (eg. to a test blank db) before starting! | ||
# '''Backup your {{folder|app}} folder''' | # '''Backup your {{folder|app}} folder''' |
Revision as of 04:58, 28 April 2014
We spend a lot of time testing our extensions on fresh installs of Magento. However, there are a lot of different ways to setup, customize, and add-on to Magento, which can cause new issues - please follow this checklist before starting your install, to safeguard your site.
Each of these steps are important, don't be tempted to skip!
- You should do this before *every* extension install (not just ours!).
- Backup your database
- eg. using the command line (changing
[bracketed words]
to match your setup):- Make a backup of your database:
mysqldump -u [database user] -p [database name] > db_backup_[todays date].sql
- Restore from backup:
mysql -u [database user] -p [database name] < db_backup_[todays date].sql
- Make a backup of your database:
- eg. using phypMyAdmin:
- Export/Import your Magento database
- Make sure you "Disable Foreign Key Constraints".
- With either method, test that you can restore a backup (eg. to a test blank db) before starting!
- eg. using the command line (changing
- Backup your app folder
- This is the fastest way to fully revert if you need to.
- Easiest to put it next to your current app folder (e.g. app_bkp), that way you only need to rename the two folders to revert.
- If you have compilation enabled for your site, disable it
- if you're not sure if you have this turned on, check SystemToolsCompilation