This could just as well apply to any ecommerce system such as Magento.
I have a new Magento installation and I want to be prepared for when the client asks me about backups. I am aware of all (or most) of the methods of taking backups, and also the various bits that are protected by each type, however the concern I have is to do with open orders. What happens to orders placed after the most recent DB backup in the event of a restore? I presume a DB backup would store the open orders on the system, however obviously I cant be taking and storing backups every second of the day.
So what happens to the orders taken after the last backup if the database gets corrupted and needs to be restored? I presume there’d be at least a chance that some orders might be lost. Am I wrong? If not, then what is standard practice for this ? The goods my client is selling are not that cheap, so typical orders are at least into hundreds (of euro).
There are 2 things I can think of right now:
1) Setup replication. This will ensure that your backup is always up to date and that you can quickly switch to the slave in case something happens to the master.
2) Export an order automatically, once an order is completed. You can make use of magento’s event/observer implementation to export orders to other systems or to just send plain copies to some email address, depending on what exactly you want to backup.