How to Backup a PrestaShop Website
A proper PrestaShop backup should include two things:
- Website files — themes, modules, images, configuration files, and other website data.
- Database — products, customers, orders, settings, categories, employees, and other store information.
1. Backup PrestaShop Files
Your PrestaShop files contain your store’s code, images, themes, modules, and configuration.
Using cPanel
- Log in to cPanel.
- Open File Manager.
- Go to your PrestaShop installation directory, usually:
public_html- or a subfolder such as
public_html/shop
- Select all PrestaShop files.
- Click Compress.
- Choose ZIP Archive.
- Give the backup a name such as:
prestashop-files-2026-09-22.zip
- Download the ZIP file to your computer.
Important folders
Make sure your backup includes folders such as:
/img/— product and other images/modules/— installed modules/themes/— themes/override/— custom overrides, if used/upload/— uploaded files/download/— downloadable products/files/config/— configuration files
Also preserve your root configuration files, particularly app/config/parameters.php on versions that use it.
2. Backup the PrestaShop Database
The database is just as important as your website files.
Using phpMyAdmin
- Open cPanel → phpMyAdmin.
- Select the database used by your PrestaShop store.
- Click Export.
- Select Quick.
- Choose SQL as the format.
- Click Export.
Save the file with a date, for example:
prestashop-database-2026-09-22.sql
Your database contains important information such as:
- Products
- Categories
- Customers
- Orders
- Addresses
- Prices
- Discounts
- Store configuration
- Employee accounts
- Module configuration
3. Make a Complete Backup
For a reliable backup, keep both files together:
PrestaShop Backup
│
├── prestashop-files-2026-09-22.zip
└── prestashop-database-2026-09-22.sqlI recommend keeping at least 3 copies:
- Server/hosting backup
- Your local computer
- Cloud storage or another external location
4. Automatic PrestaShop Backups
You can also automate backups through your hosting provider.
Many hosting companies provide:
- Daily backups
- Weekly backups
- Database backups
- Full account backups
- Backup restoration
If your hosting has cPanel → Backup or Backup Wizard, check whether it provides a full-account backup.
You can also use a PrestaShop backup module, but make sure it is compatible with your exact PrestaShop version.
5. How Often Should You Backup?
For an active online store:
| Backup | Recommended frequency |
|---|---|
| Database | Daily |
| Website files | Daily or weekly |
| Before installing a module | Always |
| Before changing theme | Always |
| Before PrestaShop upgrade | Always |
| Before major configuration changes | Always |
For a store receiving many orders every day, daily database backups are particularly important.
6. Test Your Backup
A backup is only useful if it can actually be restored.
Periodically test your backup on a staging/test website:
- Create a test PrestaShop installation.
- Upload your backed-up files.
- Create/import the database.
- Configure the database connection.
- Check the front office.
- Log in to the back office.
- Test products, categories, images and orders.
This confirms that your backup is usable before you actually need it.
Best Backup Strategy
For a PrestaShop store, a simple strategy is:
Every day → database backup
Every week → complete files + database backup
Before updates → complete backup
Keep several previous backups → don’t overwrite yesterday’s backup with today’s backup.
If you want, I can also give you a step-by-step guide for backing up PrestaShop using cPanel + phpMyAdmin, including exactly which buttons to click.
