Thanks for the reply fibo.
I wasn't aware there was a backup feature built into magento. There doesn't seem to be a restore from backup tool though? Does that need to be done in phpMyAdmin? If so, is it difficult?
As for the deletion of orders, I knew that you could cancel them, but it would be nice to get rid of test orders completely. Not only that, but I also have a "completed" order with an invoice attached which can't be cancelled and is taken into account in the Revenue on the dashboard.
Main Topics
Browse All Topics





by: fiboPosted on 2009-08-11 at 07:48:05ID: 25069696
1 - MySQL with Magento. mp.php . You do NOT need to worry until you have to re-import: so do not install it. BUT when/if the time comes to use it... you will discover that it fails on 'EXTENDED INSERTS' created by phpmyadmin: so when doing your backup, it is safer not to use extend inserts (untick the box)
Although Magento's DB lives on MySQL, it is using the EAV structure which essentially means that most usual MySQL queries would NOT give the expected result, because the tables are not built using the "normal" relational model.
So... it's best no to delete records using whichever knowledge you have on MySQL, this could damage the base integrity.
I personally always make 2 types of backups:
- the ones within Magento, from the administration panel
- the MySQL one from phpMyAdmin. Since these bases might be large, rebuilding them from phpMyAdmin might be a problem, so I always anticipate to use the magic weapon of BigDump http://www.ozerov.de/bigdu
2 - Go to admin/sales_order, select the orders you want to cancel, select 'cancel' in the 'Action' box... and you're done.