Jump to content

Skip the backup options on module autoupgrade 1.6.1.12 -> 1.7.1.0


omine

Recommended Posts

I'm trying to upgrade from 1.6.1.12 to 1.7.1.0 following this article: http://build.prestashop.com/news/prestashop-1-7-1-0-available/

 

Everything ok, but is not possible to change the backup options.

 

I want disable them but the module do not permit.

 

So, i started the upgrade anyway. 

The problem is, the backup process is terribly slow. Started has 2 hours and still saving the database data.

The data, in text plain have about 1.2GB only. 

post-511789-0-93539800-1491396357_thumb.png

 

The backup is generating little splitted rar files

 

post-511789-0-92352400-1491396430_thumb.png

 

Why so slow?

 

I don't need the backup process. I always do the full backup in 10 minutes using some tools i developed.

How can i skip the backup process?

 

 

Link to comment
Share on other sites

Got it!

 

Edit the file "AdminSelfUpgrade.php"

 

Original code (line 292):

public static $skipAction = array();

Changed to this:

public static $skipAction = array(
    'backupFiles' => 'backupDb',
    'backupDb' => 'upgradeFiles'
);

On BackOffice page, will be displayed the notice:

post-511789-0-59967500-1491400609_thumb.png

 

 

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...