[英]Restore Backup into local ArangoDB
I have a problem.我有个问题。 I am using ArangoDB Enterprise - 3.8.6
via Docker. I downloaded a Backup from another ArangoDB
.我正在通过 Docker 使用ArangoDB Enterprise - 3.8.6
。我从另一个ArangoDB
下载了一个备份。 How can I upload these files/backup to my local ArangoDB that runs on Docker, so that my ArangoDB have the files.我如何将这些文件/备份上传到我在 Docker 上运行的本地 ArangoDB,以便我的 ArangoDB 拥有这些文件。
The picture below shows what my backup looks like下图显示了我的备份的样子
I already read the documentation but I do not find any helpful information https://www.arangodb.com/docs/stable/programs-arangorestore-examples.html and Strategy for arangodb data backup in docker container我已经阅读了文档,但没有找到任何有用的信息https://www.arangodb.com/docs/stable/programs-arangorestore-examples.html和Strategy for arangodb data backup in docker container
Inside Docker Desktop I started CLI
and wrote down arangorestore
在 Docker 桌面里面,我启动了CLI
并记下了arangorestore
What you downloaded is not a backup unfortunately, but the file system directory.不幸的是,您下载的不是备份,而是文件系统目录。 Please perform arangodump
on your first instance, which you can then easily restore via arangorestore
.请在您的第一个实例上执行arangodump
,然后您可以通过arangorestore
轻松恢复。
I take it that you would like a full backup and restore, something like this:我认为你想要一个完整的备份和恢复,就像这样:
arangodump --server.endpoint <source> --server.username <username> --server.password <password> --all-databases true
followed by其次是
arangorestore --server.endpoint <target> --server.username <username> --server.password <password> --all-databases true
No need to get inside the docker container, so to speak.无需进入 docker 容器,可以这么说。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.