One of the most important aspects of security is back up - and it's a must do action on any website development just in case anything went wrong like the server crashed, hackers, or anything that can happen to the website it applies to e-commerce hosting like Prestashop.
However one might ask how to back up the file where to start and what needs to be done especially for Prestashop that is hosted in Google clouds web server via the Bitnami. In this tutorial, we are going to learn how to do that for Prestashop 1.7.4.2 version.
Step 1: What do we are the thing to backup?
There are 2 most important component of a website and this include the Prestashop e-commerce. The first one is the template or the shop structures it contents of all the file php, javascript, css, html, images, etc. These files responsible for the logic and outlooks or simple the theme of the website. The second one is the database which holds all the information about the products, categories, users password, username, etc.
So the template (theme) backup as a precautionary measure that any changes made to the logic files (javascript, php) or the theme looks like CSS and HTML might break somewhere. This can happen if you are not familiar with the structure or the proper coding of the whole theme. Therefore before making any major changes to any of the codes in the file, it is wise to make a backup first - so when anything breaks in between you can simply restore the original one from the backup.
Likewise, for the database - it may be corrupted due to server updates by the web-hosting provider or due to data from the users and administrator. Therefore a backup would the savior to the website.
Step 2: How to back the theme files and database?
Unfortunately, there are no easy way to backup both the database and files at once - and we have to be done separately in two steps.
To back up the theme files it is recommended to use FTP application like the FileZilla as it can be done easily to download the entire files at once. How to access the bitnami virtual machine via FileZilla FTP is explain in this blog article "How to access google cloud bitnami using filezilla". Download all the related prestashop theme files from the hosting server via FileZilla and store in the local computer desktop folder.
In order to backup the database - access to the PHP admin control panel is required. Follow this blog article tutorial how to access the admin control panel via putty application " How to access prestashop PHP my admin in bitnami google cloud hosting on windows". Once access granted to the PHP admin control panel there is an option to backup the SQL database pretty easy to follow right on the control panel itself. Restoration of database also must go through the PHP admin page.
So, in summary, the back up will save your time time to deal with the unexpected problem for the Prestashop e-commerce site both in the module theme template and the database.
1 month ago
No comments:
Post a Comment