当前位置:网站首页>达梦数据库的物理备份和还原简解
达梦数据库的物理备份和还原简解
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
- 虚拟机和开发板互Ping问题
- [combinatorics] exponential generating function (properties of exponential generating function | exponential generating function solving multiple set arrangement)
- English grammar_ Noun classification
- Okaleido, a multimedia NFT aggregation platform, is about to go online, and a new NFT era may come
- Max of PHP FPM_ Some misunderstandings of children
- Summary and Reflection on the third week of winter vacation
- 189. Rotation array
- Gao Qing, Beijing University of Aeronautics and Astronautics: CIM is a natural quantum computing platform for graph data processing
- What London Silver Trading software supports multiple languages
猜你喜欢
Zhengda futures news: soaring oil prices may continue to push up global inflation
2022-2028 global lithium battery copper foil industry research and trend analysis report
leetcode:556. 下一个更大元素 III【模拟 + 尽可能少变更】
How does GCN use large convolution instead of small convolution? (the explanation of the paper includes super detailed notes + Chinese English comparison + pictures)
Torch learning notes (3) -- univariate linear regression model (self training)
CTO and programmer were both sentenced for losing control of the crawler
2022-2028 global copper foil (thickness 12 μ M) industry research and trend analysis report
22.2.14 -- station B login with code -for circular list form - 'no attribute' - 'needs to be in path selenium screenshot deviation -crop clipping error -bytesio(), etc
How to track the real-time trend of Bank of London
leetcode:556. Next larger element III [simulation + change as little as possible]
随机推荐
[combinatorics] exponential generating function (example 2 of solving multiple set permutation with exponential generating function)
2022-2028 global marking ink industry research and trend analysis report
Torch learning notes (2) -- 11 common operation modes of tensor
2022-2028 global petroleum pipe joint industry research and trend analysis report
How to quickly view the inheritance methods of existing models in torchvision?
Win 11 major updates, new features love love.
[Yu Yue education] theoretical mechanics reference materials of Shanghai Jiaotong University
CTO and programmer were both sentenced for losing control of the crawler
198. Looting - Dynamic Planning
English语法_名词 - 分类
Raft 日志复制
Reappearance of ASPP (atlas spatial pyramid pooling) code
Know what it is, and know why, JS object creation and inheritance [summary and sorting]
[combinatorics] generating function (positive integer splitting | unordered | ordered | allowed repetition | not allowed repetition | unordered not repeated splitting | unordered repeated splitting)
Add control at the top of compose lazycolumn
[Godot] add menu button
Summary and Reflection on the third week of winter vacation
G1 garbage collector of garbage collector
How to track the real-time trend of Bank of London
What London Silver Trading software supports multiple languages