\n
How to Perform PrestaShop Upgrade Automatically with LitExtension?<\/h2>\n
PrestaShop version 8 comes with a wide range of new advanced features, including security pages, SEO functions, checkout process, etc.This way, your journey of bringing the best customer experience and generating profits will be much easier.<\/p>\n
Here is a summary of the steps to upgrade PrestaShop:<\/p>\n
#Step 1: Backup the database<\/strong><\/p>\n#Step 2: Set up Source and Target Cart<\/strong><\/p>\n#Step 3: Select migration entities<\/strong><\/p>\n#Step 4: Perform the PrestaShop upgrade<\/strong><\/p>\n<\/div>\n\n
Step 1: <\/b>Backup the database<\/h3>\n
It\u2019s important to consider potential risks before making any changes to your store.\u00a0<\/span>To avoid data loss during the upgrade, it is recommended to have your PrestaShop backup.\u00a0<\/span>This entails backing up both your files and database.<\/p>\nFile Backup<\/h4>\n
The files on the web server are the first to back up after deploying PrestaShop. In the PrestaShop folder, you may find everything necessary to operate your store, including the source code, modules, themes, images, and other media files.<\/p>\n
Even if it\u2019s easy to duplicate your data in another folder on the server,\u00a0<\/span>keeping a copy of your files on your device is still a good idea.\u00a0<\/span>You may download the files after connecting to the server through FTP, SSH, or RDP (depending on your server and hosting provider).<\/p>\nRemember that the time it takes to perform the process may vary depending on the file quantity and internet connection speed.\u00a0If you have command-line access to your server, you may save time by zipping up all the folders before the PrestaShop update.<\/p>\n
Database Backup<\/h4>\n
Backup your PrestaShop\u2019s database as well.<\/strong>\u00a0<\/span>The dump is complete when you have a SQL file with both the table structure and data. In today\u2019s article, we will introduce you to the two most commonly used methods:<\/p>\n\n- Using mySQLdump<\/strong><\/li>\n<\/ul>\n
To save your database\u2019s structure and contents in a file named dump.sql, use the following command in a Windows or Linux terminal.<\/strong>\u00a0<\/span>Whereas the name of your PrestaShop store will replace the\u00a0<\/span>\u201cyourdbname\u201d<\/strong>\u00a0<\/span><\/em>part.<\/p>\nmysqldump yourdbname > dump.sql<\/code><\/p>\nAuthentication to your server is highly recommended. Parameters may also include the following information.\u00a0<\/span>If you don\u2019t remember your credentials, find them in the app\/config\/parameters.php folder.<\/strong><\/p>\nmysqldump -h <IP_or_hostname> -u <user> --single-transaction --create-options -ecqQ -p db1 > dump.sql<\/code><\/p>\n\n- Via PHPMyAdmin<\/strong><\/li>\n<\/ul>\n
Alternatively,\u00a0<\/span>you may use the database management tool PhpMyAdmin<\/strong>, which many hosting companies offer. To export your PrestaShop data, launch PHPMyAdmin, go to the database where PrestaShop resides, and choose the\u00a0<\/span>\u201cExport\u201d<\/strong>\u00a0<\/span>option.<\/p>\nTo get the most out of your dump, we suggest going with the \u201ccustom\u201d option.<\/strong>\u00a0<\/span>Ensure you have chosen to back up all of your tables, views, etc. The following settings must also be enabled to produce identical file content to that of the\u00a0<\/span>mysqldump<\/strong><\/em>\u00a0<\/span>technique:<\/p>\n\n- LOCK TABLES<\/strong>\u00a0<\/span>statement must be used.<\/li>\n
- Insert a statement using\u00a0<\/span>DROP TABLE, VIEW, PROCEDURE, FUNCTION, EVENT, or TRIGGER.<\/strong><\/li>\n<\/ul>\n
Then, after the dump has been produced, click\u00a0<\/span>\u201cGo\u201d<\/strong>\u00a0<\/span>and save the file to your computer.<\/p>\n<\/div>\n\n
Step 2: Set up Source and Target Cart<\/b><\/h3>\n
To perform PrestaShop upgrade, go to LitExtension website and register yourself a new account or sign in to the website (if you already have one).<\/p>\n
After that, open the \u201cCreate new migration\u201d tab, where you will be able to set up Source and Target Cart for the PrestaShop upgrade.<\/p>\n
For both setup sections, select PrestaShop from the dropdown menu. Then, download the LitExtension connector file to your folder. By doing this, you may link your PrestaShop database to the LitExtension plugin.<\/p>\n
When the message \u201cConnection was successfully installed\u201d appears on the screen for both sections, click on \u201cNext: Configure your Migration\u201d to move on to the next step.<\/p>\n<\/div>\n
\n
Step 3: Select migration entities<\/b><\/h3>\n
To proceed with the PrestaShop upgrade to higher version, select the entities you would like to maintain. Our service offers PrestaShop upgrades for products, customers, orders, etc, or simply all of them. If that\u2019s what you\u2019re going for, click \u201cSelect All\u201d.<\/p>\n
In addition to the standard selection, LitExtension also provides Additional Options to let you expand your upgrade scope. One of our client\u2019s favorites is Customers Password Migration, which enables your customers to sign in to the new version without having to create new credentials.<\/p>\n
Don\u2019t forget to map the language, order status, and customer group between PrestaShop versions 1.7 and 8 before running the upgrade!<\/p>\n<\/div>\n