如何为开发,测试和生产环境安排备份? [英] How to schedule backups for development, testing, and production environments?

查看:328
本文介绍了如何为开发,测试和生产环境安排备份?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在对网站发布进行自我教育.我正在阅读文档以准备实施检查列表,以供我将来发布网站时使用.

I was educating myself about website launches. I was reading this document to prepare an implementation check-list for my future website launches.

在第11页上,他们提到

On page 11, they mentioned

针对开发,测试和生产环境的计划备份

Schedule backups for development, testing, and production environments

我可以想象备份数据库和网站代码.

I can imagine taking backup of a database and website code.

某人如何自动化并安排整个 x,y或z环境的备份?

How can someone automate and schedule backup of an entire x, y or z environment?

如果这是一个非常广泛的问题,那么我不需要逐步的文档来做到这一点.也许有一些起点可以帮助我想象这将足够好.

If this is a very broad question then I do not need the step by step document for doing this. Maybe some starting point which help me imagine this will be good enough.

更新:

我已向万神殿发送询问,期待他们的回复.

I have sent an inquiry to Pantheon looking forward for their response.

推荐答案

您可以定期运行cron作业来备份数据.最重要的数据可能是您的交易信息或整个数据库本身.

You can run cron jobs at regular interval to backup your data. The most important data could be your transactional information or the entire database itself.

代码,您可以使用github在开发人员端进行管理.但是,如果您有某些由网站用户填充的文件夹,则还计划备份这些文件夹.

Code, you can manage at developers end using github. But if you have certain folders which are populated by website users, then plan to backup those as well.

这篇关于如何为开发,测试和生产环境安排备份?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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