It is always advisable to keep regular backups of your website, and for an e-commerce site this is extremely essential. Keeping backups is necessary both in the development phase and in the production/sales phase. There are plenty of things which can go wrong during the development. Instead of debugging step by step, restoring a previously known good setting saves a lot of time. File corruption and losing data for webhost failures during the sales phase are even more damaging. Having the latest backup for your store will ensure that you can have your store up and running in no time.
To create a backup for your Magento site, you have to follow few simple steps:
- Log in to the Administrative backend of your site. This can be done, by directing your browser to yourwebsite.com/index.php/admin [admin is the default administrator name; in case you have changed the administrator name during the installation, then enter that name in place of admin]
- In the site dashboard, select the System dropdown and in it Tools. Under Tools there is only one option by default i.e. Backups. Select this.
- After clicking this, you would find a list of backups which have been stored for your site. There will be a download option for every backup.
- Download the latest backup file on your computer or send it to some offsite file server.
The Magento default backup tool only backs up the fresh database dump. Database is the most important part of the site because Magento stores almost everything onto the database. Restoring the database restores the order details, customer accounts, product catalogues etc. However, there are some aspects of the store, like template customizations, translations and templates for emails which are not saved in the database and hence aren’t protected by backup. For complete backup, one can install extensions, which along with the database, also backs up the Magento site files. This will ensure that, on the face of a site crash, you can build up your storefront right from scratch in very less time.
The last step of the backup i.e. saving the backup files is crucial. Downloading it and saving it on your local computer isn’t safe, because personal computers are even more prone to crashes and file corruption than webhosts. Installing extensions for cloud backups is an efficient means to ensure that your backup files stay safe. Besides being automatic, cloud backups on dedicated storage servers translate to better safety and reliability.