当前位置:网站首页>达梦数据库的物理备份和还原简解
达梦数据库的物理备份和还原简解
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 图形化方式
需要执行



边栏推荐
- What kind of experience is it when the Institute earns 20000 yuan a month?
- 199. Right view of binary tree - breadth search
- Torch learning notes (6) -- logistic regression model (self training)
- Sensor 调试流程
- Setinterval CPU intensive- Is setInterval CPU intensive?
- Install apache+php+mysql+phpmyadmin xampp and its error resolution
- Caddy server agent
- After nohup NPM start &, close the shell window directly, and the process closes accordingly
- 2022-2028 global physiotherapy clinic industry research and trend analysis report
- Shell script return value with which output
猜你喜欢

Gao Qing, Beijing University of Aeronautics and Astronautics: CIM is a natural quantum computing platform for graph data processing

Xception for deeplab v3+ (including super detailed code comments and original drawing of the paper)

Kratos微服务框架下实现CQRS架构模式
![[leetcode周赛]第300场——6110. 网格图中递增路径的数目-较难](/img/8d/0e515af6c17971ddf461e3f3b87c30.png)
[leetcode周赛]第300场——6110. 网格图中递增路径的数目-较难

2022.02.11

What kind of experience is it when the Institute earns 20000 yuan a month?
![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]

Mysql45 lecture learning notes (II)

Add control at the top of compose lazycolumn
![leetcode:11. Container with the most water [double pointer + greed + remove the shortest board]](/img/d4/cbbaec40119be6cb5594899e348261.png)
leetcode:11. Container with the most water [double pointer + greed + remove the shortest board]
随机推荐
199. Right view of binary tree - breadth search
189. Rotation array
Change the single node of Postgres database into master-slave
leetcode:11. Container with the most water [double pointer + greed + remove the shortest board]
[Godot] add menu button
Boost.Asio Library
[Yu Yue education] theoretical mechanics reference materials of Shanghai Jiaotong University
Administrative division code acquisition
Sensor 调试流程
Mysql45 lecture learning notes (II)
2022-2028 global physiotherapy clinic industry research and trend analysis report
webcodecs
Torch learning notes (7) -- take lenet as an example for dataload operation (detailed explanation + reserve knowledge supplement)
2022-2028 global lithium battery copper foil industry research and trend analysis report
[leetcode周赛]第300场——6110. 网格图中递增路径的数目-较难
In addition to the prickles that pierce your skin, there are poems and distant places that originally haunt you in plain life
Typescript configuration
Reading a line from ifstream into a string variable
NFT new opportunity, multimedia NFT aggregation platform okaleido will be launched soon
Leetcode: 11. Récipient contenant le plus d'eau [double pointeur + cupidité + enlèvement de la plaque la plus courte]



