[英]How to restore oracle database in docker from RMAN backup outside container
I was looking for a solution but unfortunately I couldn't find the right answer.我一直在寻找解决方案,但不幸的是我找不到正确的答案。 I have docker container with oracle database ( database-enterprise:12:2:0.1 ) and I have rman backup (archivelogs, controlfile, spfile) on Windows.
我有 docker 容器和 oracle 数据库( database-enterprise:12:2:0.1 ),我在 ZAEA23489CE3AA9B6406EBB28E 上有 rman 备份(归档日志、控制文件、spfile)
How can I upload this backup into container and make recovery database or another good solution - run new database from this backup?如何将此备份上传到容器中并制作恢复数据库或其他好的解决方案 - 从此备份运行新数据库?
This is a pretty broad question and you haven't given us a lot of details, so I'll answer it in broad terms.这是一个相当宽泛的问题,你没有给我们很多细节,所以我将笼统地回答它。
See this duplicate question for copying files from host to docker container请参阅此重复问题以将文件从主机复制到 docker 容器
Now that you have your backup files on the server, there are several steps involved in RMAN recovery.既然您已经在服务器上拥有了备份文件,那么 RMAN 恢复涉及几个步骤。 I'll list them briefly here, but this guide covers them in more detail .
我将在此处简要列出它们,但本指南将更详细地介绍它们。
For an exhaustive level of detail, Oracle has written an entire book of documentation about RMAN .对于详尽的详细信息, Oracle 编写了整本有关 RMAN 的文档。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.