Move module data to new Prestashop installation
In some cases, you need to move your PrestaBay module data to a new server, or new Prestashop store, or just make a backup. To do this correctly, you need to follow few steps
1. Backup module files
All module files are located on folder /modules/prestabay. Please make a backup of these files and download them to your computer. This could be done using an FTP agent, or with a File manager from your control panel.
Our module doesn't store any files outside of the folder directory. So having a file backup will guarantee that no file changes are lost.
2. Backup module DB
PrestaShop eBay Integration - PrestaBay saves all data on tables with prefixes ps_prestabay_, where ps_ is your default prefix inside PrestaShop installation.
Please make a backup of all tables you can find in your DB that start with ps_prestabay.
The full list of tables looks like this
Some of the tables could have a lot of information and you can clean up data on it. Usually, all tables having logs inside them could be TRUNCATED (not removed).:
After you have a data backup, you can migrate to another place
3. Move files to a new server/location
Using FTP or your hosting File manager, extract your backup files to a new location or server. Please ensure that files are located on folder /modules/prestabay and here not duplicates of folder name "prestabay" inside it.
In other words /modules/prestabay/prestabay is NOT CORRECT
4. Extract DB backup for a new server
Using DB backup file (SQL or gzip SQL) and MySQL management tools like PHPMyAdmin, extract DB backup to a new PrestaShop installation. After you finish this operation you should see a list of tables you are using in the previous steps.
5. Re-connect ebay accounts
After the module is moved to a new location you need to re-connect ebay accounts. Please open prestabay module installation, navigate to the accounts section, then click on "Edit" close to your account and then the "Connect" button.
6. Verify your installation
Check that all data like Selling List, Selling Profiles, Orders are in place. Please try to make manual REVISE for a few items. Try to update the configuration in Selling Profile and click on the Save button. You shouldn't get any errors on this step.
Please notice if you change your store URL (or install the module on another subfolder under the main domain), you will need to contact us to update your license key or update the temporary key that will be valid for the first 10 days.
We hope this information will help you migrate the module to a new domain, or have a backup of the data you created.