Magento:备份建议 [英] Magento: Backup Advice

查看:66
本文介绍了Magento:备份建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这同样适用于任何电子商务系统,例如Magento.

This could just as well apply to any ecommerce system such as Magento.

我有一个新的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)安装程序复制.这样可以确保您的备份始终保持最新状态,并确保在主服务器发生故障时可以快速切换到从服务器.

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)订单完成后,自动导出订单.您可以利用magento的事件/观察者实现将订单导出到其他系统,或仅将纯副本发送到某些电子邮件地址,具体取决于您要备份的内容.

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.

这篇关于Magento:备份建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆