英文:
Is it possible to restore database from S3 bucket in Marklogic
问题
我们正在非AWS实例上运行Marklogic。我们的一个数据库备份位于S3存储桶中。是否可以直接从S3存储桶恢复?目前我们是先下载备份,然后再进行恢复。
英文:
We are running Marklogic on a non AWS instance. One of our data-base backup is in S3 bucket. Is it possible to directly restore from the S3 bucket. Currently we are downloading the backup and then restoring it.
答案1
得分: 1
是的,可以从不是AWS EC2实例的服务器恢复到S3存储桶。您需要在群组设置中配置S3终端节点和凭据,以便MarkLogic知道如何在与S3存储桶通信时进行身份验证。
如果您正在尝试从AWS之外的服务器访问S3,而该服务器不是EC2实例,那么您将没有IAM角色,希望将凭据配置在安全数据库或环境变量中。
如果您仅使用S3,最好使用管理界面存储您的AWS凭据,因为凭据会安全存储在MarkLogic安全数据库中。在“安全”、“凭据”、“配置”选项卡中有用于指定AWS凭据的字段。
英文:
Yes, it's possible to restore from an S3 bucket from a server that is not an AWS EC2 instance.
You would need to configure the S3 endpoint and credentials in your group settings, so that MarkLogic knows how to authenticate when talking to your S3 bucket.
>Configure the S3 Endpoint for your Group
>=
>The S3 Endpoint is configured by specifying the S3 properties for your MarkLogic group.
>
>- Log into the Admin Interface.
>- Click the name of your group under the Groups icon on the left tree menu.
>- In the Group Configuration page, scroll down to the bottom to locate the S3 fields:
>Configure AWS Credentials
>=
>In order to use AWS you must supply AWS credentials. You can configure AWS credentials in one of three ways:
>
>- Configuring an IAM Role with an AWS Access Policy
>- Configuring AWS Credentials in Environment Variables
>- Configuring AWS Credentials in the Security Database
If you are trying to access S3 from a server outside of AWS that isn't an EC2 instance, then you won't have an IAM Role and would want to configure the credentials either in the Security database or Environment Variables.
>If you are only using S3, it is best to use the Admin Interface to store your AWS credentials because the credentials are securely stored in the MarkLogic Security database.
>
>In the Security, Credentials, Configure tab are fields for specifying the AWS credentials.
>
>Log into the Admin Interface.
>- Click Security icon on the left tree menu.
>- Click Credentials to open the Credential Configuration page.
>- Enter the aws access key, aws secret key, and optional aws session token provided for your AWS account.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论