Jump to content

Backups SQL file is truncated at 40MB??


Recommended Posts

I'm trying to upgrade a shop but first I want to place it in a separate directory online.
Note: I had a local version of my old shop and ran the upgrade on it locally.

So, I went to do my DB backup of my development version (1.3.1)
and it creates the backup (all tables) but with one exception.

It truncates the SQL file at around 1,542,000 lines, about 40MB.

I MUST have connections and statistics. I have 24,000 items in my current store and this will
be a HUGE problem when trying to move data to a new DB.

Why is this a limitation in the backup process? Isn't it supposed to work with DB's of any size?
Has anyone else noted this happening?

Link to comment
Share on other sites

Well, DUH...of course I did it in phpMyAdmin.

I am pointing out a BUG in PS and was wondering why it is limited in such a manner?

I guess it has to be according to your server confiuration because the Backup class
does not use mysqldump to create the file, it does it on the fly with SQL code.

Shame, shame, shame...

Link to comment
Share on other sites

You may be interested to know that the Backup tab in PrestaShop was written by someone on these forums, then submitted to PrestaShop, who incorporated it into PrestaShop with a few modifications. I suppose you can blame the PrestaShop for not rewriting the code the right way, but you can't blame them for writing bad code to begin with.

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