Support

Site Restoration

#16534 Not the complete database is restored for magento

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by nicholas on Friday, 28 June 2013 09:52 CDT

DCS-Online
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: 2.5.11
PHP version: 5.3.3.7
MySQL version: 5.1.66-0
Host: My own VPS
Akeeba Backup version which took the backup: 3.7.7 Pro
Kickstart version used to extract the backup: 3.6.0

Description of my issue:
(first please remove other empty topic, something went wrong)

I have setup my site with a Magento shop. The 2 are beside each other so Magento is not in the Joomla dir, but outside it. If I make an backup (with external dir and database) all is working good no error message displayed. If I place the backup back on my test server to check if its fine all is going as supposed to, again no error message displayed. After going to the site this is working fine. After copying the external files to their dir, the shop is not working.

When I was debugging this I noticed that not all of my database tables are there (only 301 instead of 337). So I did export and import the tables manually and than its all okay.

When I extracted the backup I noticed that the sql is divided in 2 pieces could this be the problem?

TIA

Appie

nicholas
Akeeba Staff
Manager
No, the parts of the database dump is irrelevant. Do you get any information about excluded or skipped Magento tables in the backup log file?

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

DCS-Online
Nicholas,

I only see a warning message in the log just before the Magento tables

[130625 13:57:48] PHP WARNING on line 471 in file <root>/administrator/components/com_akeeba/akeeba/drivers/mysql.php:
[130625 13:57:48] mysql_query() expects parameter 2 to be resource, null given 


Otherwise I dont see any error message.

Appie

nicholas
Akeeba Staff
Manager
Then all tables are being backed up and all tables are being restored.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

DCS-Online
Nicholas,

Sorry to say but I am almost sure they are not!

After restoration on my local test server, and on my test domain on the live server there are only 301 entries in the database. And Magento its not working, getting a message of missing tables.
If I take a look at the original database it reads 337 entries.

After manually exporting the database from the live site, and manually importing it on my test environments , all is working again and than there are 337 entries in the database....

Is there a way to combine the 2 sql files found in the backup and install it manually so I can check if I get 337 entries that way?

Appie

nicholas
Akeeba Staff
Manager
OK, let me ask a different question. Are all 337 entries tables and VIEWs or do you have any FUNCTIONs, TRIGGERs and PROCEDUREs? In the latter case you have to enable the backup of advanced entities in the Database Dump Engine's options as per the documentation.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

DCS-Online
Do not exactly know what you are talking about.... I am not a msql guru..
But I am off and reading the documentation about this...

Thanks so far for giving me a hint to look at...

Appie

DCS-Online
I did an local server backup with the setting Dump PROCEDUREs, FUNCTIONs and TRIGGERs enabled, and placed it back on my live test server. But still the same issue, made some screen-shots to let you see it.....



is the diferance between the 2 db



The Magento error about missing batabase

nicholas
Akeeba Staff
Manager
Can you at least provide the CREATE TABLE commands for some of the missing tables and your backup log file? It would take a psychic to look at the numbers 301 and 337 and give you any meaningful response. I am definitely not a psychic.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

DCS-Online
Would it not be better if a give you access to the site as an admin?

And I know you're not a psychic sorry if I misunderstood some of your requests.

nicholas
Akeeba Staff
Manager
I just need the log file and the CREATE TABLE commands for some of the missing tables.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!