preoteasa Posted August 26, 2017 Share Posted August 26, 2017 I am using the 1-click update to update my shop. I don't understand why 1-click update needs so much time to backup the database when mysqldump manages to create a copy of the same database under one minute. Link to comment Share on other sites More sharing options...
bellini13 Posted August 26, 2017 Share Posted August 26, 2017 i would highly suggest not relying on the upgrade module to backup your database. since you appear to know how to take your own backups, simply rely on that and skip the backup parts. also make sure you take a file system backup, with a database and file system backup, you have the ability to restore from your own backups 1 Link to comment Share on other sites More sharing options...
preoteasa Posted August 26, 2017 Author Share Posted August 26, 2017 Thank you. I followed your advice. I have been doing my backup, but also the upgrade module backup, just to be sure, but from now on, I will do only my own backup. I cannot afford to have the shop offline for hour(s) and I don't want to delete the statistics data. On the other hand, I don't understand why Prestashop is not doing faster backup using mysqldump. Link to comment Share on other sites More sharing options...
bellini13 Posted August 27, 2017 Share Posted August 27, 2017 Unfortunately not everyone's hosting is great, and some don't even offer access to mysqldump. The autoupgrade module has to be generic enough that it works for most, and also has to consider resource usage (like memory and CPU), as well as php configuration like process timeouts Link to comment Share on other sites More sharing options...
selectshop.at Posted August 27, 2017 Share Posted August 27, 2017 On the other hand, I don't understand why Prestashop is not doing faster backup using mysqldump. I'm curious about which Prestashop version you are talking. PS 1.7. is problematic/buggy and also on speedy servers the upgrade takes a while... If you are talking about version 1.5. or 1.6 than it should go speed unless your server is well configured. 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