当前位置:网站首页>达梦数据库的物理备份和还原简解
达梦数据库的物理备份和还原简解
2022-07-03 18:45:00 【华为云】
13.1 冷(物理)备份
==条件:DMAP服务打开状态,数据库实例关闭状态==
13.1.1 命令行方式
在bin下执行dmrman命令,进入dmrman交互界面,输入==backup database '$DM_HOME/data/实例名/dm.ini' (full);== 进行备份,默认就是全备份。
13.1.2 图形化方式
- 使用 console 命令进入达梦控制台工具。

点击上图的新建备份就可以创建新的备份了


13.2 冷(物理)还原
==条件:DMAP服务打开状态,数据库实例关闭状态==
13.2.1 命令行方式
dmrman下执行
-- 首先做还原操作restore database '/dm8/data/DMTEST/dm.ini' from backupset '/dm8/data/DAMENG/bak/DB_DAMENG_FULL_20200825_210940_648036';-- 再做数据库更新操作-- 数据库更新发生在重做 REDO 日志恢复数据库后, 或者目标库不需要执行重做日志已经处于一致状态的情况。recover database '/dm8/data/DMTEST/dm.ini' update db_magic;13.2.2 图形化方式
需要执行



边栏推荐
- Caddy server agent
- Database creation, addition, deletion, modification and query
- 2022-2028 global petroleum pipe joint industry research and trend analysis report
- Graduation summary
- Boost.Asio Library
- 235. The nearest common ancestor of the binary search tree [LCA template + same search path]
- [combinatorics] exponential generating function (proving that the exponential generating function solves the arrangement of multiple sets)
- application
- Torch learning notes (5) -- autograd
- Hard disk monitoring and analysis tool: smartctl
猜你喜欢

平淡的生活里除了有扎破皮肤的刺,还有那些原本让你魂牵梦绕的诗与远方

Getting started with JDBC

Summary and Reflection on the third week of winter vacation

235. 二叉搜索樹的最近公共祖先【lca模板 + 找路徑相同】

G1 garbage collector of garbage collector
![Bloom filter [proposed by bloom in 1970; redis cache penetration solution]](/img/f9/27a75454b464d59b9b3465d25fe070.jpg)
Bloom filter [proposed by bloom in 1970; redis cache penetration solution]

组策略中开机脚本与登录脚本所使用的用户身份

Ping problem between virtual machine and development board

How many convolution methods does deep learning have? (including drawings)

Win 11 major updates, new features love love.
随机推荐
Kratos微服务框架下实现CQRS架构模式
English语法_名词 - 分类
Getting started with JDBC
Torch learning notes (3) -- univariate linear regression model (self training)
Work Measurement - 1
编程中常见的 Foo 是什么意思?
235. 二叉搜索树的最近公共祖先【lca模板 + 找路径相同】
235. Ancêtre public le plus proche de l'arbre de recherche binaire [modèle LCA + même chemin de recherche]
Opencv learning notes (continuously updated)
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
SQL custom collation
TypeScript 官网教程
English語法_名詞 - 分類
2022-2028 global plasmid DNA cdmo industry research and trend analysis report
变化是永恒的主题
Why can deeplab v3+ be a God? (the explanation of the paper includes super detailed notes + Chinese English comparison + pictures)
JS_ Array_ sort
Read the paper glodyne global topology preserving dynamic network embedding
2022-2028 global petroleum pipe joint industry research and trend analysis report
2022-2028 global copper foil (thickness 12 μ M) industry research and trend analysis report



