达梦脱机备份报错[-7170]:bakres连接DMAP失败
[dmdba@test1 ~]$ DmServiceDMSVR01 stop
Stopping DmServiceDMSVR01: [ OK ]
[dmdba@test1 ~]$
[dmdba@test1 ~]$ dmrman
dmrman V8
RMAN> backup database '/dm8/data/DM01/dm.ini' full;
backup database '/dm8/data/DM01/dm.ini' full;
file dm.key not found, use default license!
Database mode = 0, oguid = 0
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
EP[0]'s cur_lsn[42939], file_lsn[42939]
[-7170]:bakres连接DMAP失败
检查dmap进程
[dmdba@test1 tool]$ ps -ef |grep dmap
dmdba 6582 2893 0 08:39 pts/1 00:00:00 grep --color=auto dmap
启动dmap进程
[dmdba@test1 tool]$ DmAPService start
Starting DmAPService: [ OK ]
[dmdba@test1 tool]$ ps -ef |grep dmap
dmdba 6622 1 0 08:39 pts/1 00:00:00 /dm8/bin/dmap
dmdba 6763 2893 0 08:41 pts/1 00:00:00 grep --color=auto dmap
再次备份成功
[dmdba@test1 ~]$ dmrman
dmrman V8
RMAN> backup database '/dm8/data/DM01/dm.ini' full;
backup database '/dm8/data/DM01/dm.ini' full;
file dm.key not found, use default license!
Database mode = 0, oguid = 0
Normal of FAST
Normal of DEFAULT
Normal of RECYCLE
Normal of KEEP
Normal of ROLL
EP[0]'s cur_lsn[42939], file_lsn[42939]
Processing backupset /dm8/backup/DB_DM01_FULL_20240727_084148_248563
[Percent:100.00%][Speed:0.00M/s][Cost:00:00:02][Remaining:00:00:00]
backup successfully!
time used: 00:00:03.209
[dmdba@test1 DB_DM01_FULL_20240727_084148_248563]$ pwd
/dm8/backup/DB_DM01_FULL_20240727_084148_248563
[dmdba@test1 DB_DM01_FULL_20240727_084148_248563]$ ll
total 9176
-rw-r--r-- 1 dmdba dinstall 9287168 Jul 27 08:41 DB_DM01_FULL_20240727_084148_248563.bak
-rw-r--r-- 1 dmdba dinstall 103936 Jul 27 08:41 DB_DM01_FULL_20240727_084148_248563.meta