Jump to content

The backup file does not exist


Recommended Posts

  On 4/12/2022 at 12:12 PM, 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ă.

Expand  

Thank you! I know about that. My interest is to work in Prestashop Backoffice.

Edited by rdragnea (see edit history)
Link to comment
Share on other sites

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

  • 1 month later...
  On 4/14/2022 at 11:37 AM, 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.

Expand  

Thank you, but the error is 'The backup file does not exist' not 'Failed to create backup'

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...