rdragnea Posted April 12, 2022 Share Posted April 12, 2022 When I want to create a database backup, I get the following error: "The backup file does not exist" Can anyone help me? Link to comment Share on other sites More sharing options...
Nickz Posted April 12, 2022 Share Posted April 12, 2022 57 minutes ago, rdragnea said: Can anyone help me? sure go to phpmyadmin, usually domain.xx/phpmyadmin or over your cpanel in case of shared server. Login and export the database. The databse alone won't give you a full backup though. Link to comment Share on other sites More sharing options...
rdragnea Posted April 12, 2022 Author Share Posted April 12, 2022 (edited) 17 minutes ago, Nickz said: asigurați-vă că accesați phpmyadmin, de obicei domain.xx/phpmyadmin sau peste cpanel în cazul unui server partajat. Conectați-vă și exportați baza de date. Numai baza de date nu vă va oferi o copie de rezervă completă. Thank you! I know about that. My interest is to work in Prestashop Backoffice. Edited April 12, 2022 by rdragnea (see edit history) Link to comment Share on other sites More sharing options...
Ress Posted April 13, 2022 Share Posted April 13, 2022 What version of PrestaShop are you using? Link to comment Share on other sites More sharing options...
rdragnea Posted April 14, 2022 Author Share Posted April 14, 2022 21 hours ago, Ress said: What version of PrestaShop are you using? 1.7.8.0 Link to comment Share on other sites More sharing options...
Ress Posted April 14, 2022 Share Posted April 14, 2022 Your error appears here: prestashop_root/src/Adapter/Backup/DatabaseBackupCreator.php $legacyBackup = new PrestaShopBackup(); if (!$legacyBackup->add()) { throw new BackupException('Failed to create backup'); } So you should go to the add() function in class PrestaShopBackup (/classes/PrestaShopBackup .php), and debug there, to see exactly where the error is. I would say that you did not have Gzip compression enabled on your server. Check this first. Link to comment Share on other sites More sharing options...
rdragnea Posted June 6, 2022 Author Share Posted June 6, 2022 On 4/14/2022 at 2:37 PM, Ress said: Your error appears here: prestashop_root/src/Adapter/Backup/DatabaseBackupCreator.php $legacyBackup = new PrestaShopBackup(); if (!$legacyBackup->add()) { throw new BackupException('Failed to create backup'); } So you should go to the add() function in class PrestaShopBackup (/classes/PrestaShopBackup .php), and debug there, to see exactly where the error is. I would say that you did not have Gzip compression enabled on your server. Check this first. Thank you, but the error is 'The backup file does not exist' not 'Failed to create backup' Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now