mongodb备份是否自动进行? [英] Are mongodb backups made automatically?

查看:265
本文介绍了mongodb备份是否自动进行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用了两个mongodb服务,并且swisscom开发人员控制台中现在有一个备份按钮.我们是否必须使用此按钮手动进行备份,还是自动进行进一步的备份?如果是,何时以及多久一次?

We use two mongodb services and there is now a backup button in the swisscom developer console. Do we have to do the backups manually with this button or are further backups made automatically? if yes, when and how often?

推荐答案

我们自动进行备份,但仅用于灾难恢复.我们不将此备份提供给客户.

We make automatically backups, but only for desaster recovery. We don't provide this backups to customer.

因此,请为您触发Developer Portal备份.另一种选择是使用mongodump或Filter API自动执行备份.

So please trigger in Developer Portal backup for you. Other option is to automate backup with mongodump or the Filter API.

有一个 API端点用于触发备份.

API文档|自定义扩展| Swisscom应用程序云过滤器 Cloud Foundry(CF)云控制器(CC)API.实施Swisscom 专有扩展

API Docs | Custom Extensions | Swisscom Application Cloud Filter for Cloud Foundry (CF) Cloud Controller (CC) API. Implements Swisscom proprietary extensions

POST /custom/service_instances/{service-instance-id}/backups

为给定的服务实例创建备份

Creates a backup for a given service instance

查看更多信息,在文档中服务备份和还原 .developer.swisscom.com

See for more Info Service Backup and Restore in docs.developer.swisscom.com

创建备份要创建备份,请导航至以下位置的服务实例 Web控制台,然后转到备份"标签.您可以在此处单击 创建"按钮触发手动备份.

Create Backup To create a backup, navigate to the service instance in the web console and then to the "Backups" tab. There you can click the "Create" button to trigger a manual backup.

注意:必须从Web控制台手动触发备份.

Note: Backups have to be triggered manually from the web console.

请注意,每个服务只能保留一定数量的备份 实例.实际数量取决于服务类型和 服务计划.如果您已经有最大数量,则不能 在删除现有备份之一之前,创建所有新备份.

Be aware that you can only keep a set number of backups per service instance. The actual number is dependent on the service type and service plan. In case you already have the maximum number, you cannot create any new backups before deleting one of the existing.

备份服务可能需要几分钟的时间(具体取决于 服务实例的大小).

It may take several minutes to backup your service (depending on the size of your service instance).

还原备份您可以随时还原任何备份.目前 您的备份状态将被覆盖,并替换为状态 保存到备份.建议您创建当前的备份 恢复旧状态之前的状态.

Restore Backup You can restore any backup at any time. The current state of your backup will be overwritten and replaced with the state saved to the backup. You are advised to create a backup of the current state before restoring an old state.

限制您只能对每个备份执行一次备份或还原操作 一次提供服务实例.如果操作仍在进行中,则无法 触发另一个.您不能超过最大备份数 每个服务实例

Limitations You can only perform one backup or restore action per service instance at a time. If an action is still ongoing, you cannot trigger another one. You cannot exceed the maxmimum number of backups per service instance

这篇关于mongodb备份是否自动进行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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