on 2022 Sep 01 7:40 PM
Admin Deleted "Base store" from a system "accidentally" What steps do we need to do to restore the storefront?
Any thoughts on what you would do if someone deleted your "Base store"?
1. Re-create "Base Store"
2. Associate orders to new "Base Store"
? Your thoughts?
Request clarification before answering.
This is very unfortunate. We had the similar issue but luckily there was a backup so we were able to create BaseStore easily, and check the data if it's the same as previous version.
What I can give you as an advice would be:
Hope this helps,
Good luck,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi beastyisnt, it took 3 hours for us even if we had the backup 🙂 I am happy to hear that you recovered the data.
Actually, we did not produce any solution yet for such scenarios. But what we have in mind is preventing deletion of such essential data (like BaseStore, BaseSite etc.).
Unfortunately it is not easy to design a backup for such "Configurations" since there can be many. But first thing that I can think of would be configuring periodic jobs to store some configuration as a Media file or in another database. Easiest way to achieve this (without any code development) would be ImpEx Export job. You can configure an ImpEx Export script and configure a Trigger (daily or weekly as you wish), then this job would produce Media (ImpEx Import script with CSV files) to be imported later on when needed. By doing so, you can easily modify the script when a change (new attribute) is made to configuration's model.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.