EMC NW NMM to restore MS AG database

Posted partition-liu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了EMC NW NMM to restore MS AG database相关的知识,希望对你有一定的参考价值。

Following last article, how to restore MS AG database , that is in the following:

技术图片

 

You see ?  Cheer up , we will begin our trip now.

From EMC NW console, we can see backup status.

FULL BACKUP

 技术图片

Incr backup (TLOG backup)

技术图片

 

 AG different setting:

技术图片

 

 

What interest thing is you see the different choose to make different behavour.

If we choose N4 backup source, we can see all database

技术图片

 

 If we choose N5 backup source, we have to select different group by different time.

技术图片

 

 or

技术图片

 

 

Let us pick one database for an example:

技术图片

 

技术图片

 

 技术图片

 

Then all finished,  we can see the result.

技术图片

 

 

 

 Here is restore log by EMC NW NMM

 

Recovering files of client ‘LCXXXXXXNB51‘ from server ‘LYYYYH-BACKUP‘ to client ‘ONLINETEST01‘.
43708:(pid 5456):Start time: Tue Jan 03 13:17:54 2017
43621:(pid 5456):Computer Name: ONLINETEST01 User Name: administrator
NSR_CLIENT: LCXXXXXXNB51.lgcnjad.net;
NSR_SERVER: LYYYYH-BACKUP;
37725:(pid 5456):Recovering database ‘LKKKK.5.E.FOR‘ into ‘LKKKK.5.E.FOR‘ ...
142468:(pid 5456):[3512]nsr/db_apps/bsmsql/rcstripes.c(222): Finding backup for saveset MSSQL:/LKKKK.5.E.FOR~1.
142468:(pid 5456):[3512]nsr/db_apps/bsmsql/rcstripes.c(222): Finding backup for saveset MSSQL:/LKKKK.5.E.FOR~2.
142468:(pid 5456):[3512]nsr/db_apps/bsmsql/rcstripes.c(222): Finding backup for saveset MSSQL:/LKKKK.5.E.FOR~3.
142468:(pid 5456):[3512]nsr/db_apps/bsmsql/rcstripes.c(222): Finding backup for saveset MSSQL:/LKKKK.5.E.FOR~4.
37839:(pid 5456):Warning: Only 1 tape sessions will be used to restore 4 stripes.
29317:(pid 5456):Data will be restored using SQL removable pipes.
4690:(pid 5456):RESTORE database [LKKKK.5.E.FOR] FROM virtual_device=‘Legato#c6be8dbb-2e4c-4a85-b7da-1ba4882213b7‘ WITH move ‘LKKKK.5.E.FOR‘ to ‘M:DATA2LKKKK.5.E.FOR_LKKKK.5.E.FOR_676.mdf‘, move ‘LKKKK.5.E.FOR_log‘ to ‘M:DATA2LKKKK.5.E.FOR_LKKKK.5.E.FOR_log_676.ldf‘, replace, maxtransfersize = 4194304, norecovery
35866:(pid 5456):The restore of database ‘LKKKK.5.E.FOR‘ completed successfully.
142468:(pid 5456):[3512]nsr/db_apps/bsmsql/rcstripes.c(222): Finding backup for saveset MSSQL:/LKKKK.5.E.FOR.
4690:(pid 5456):RESTORE log [LKKKK.5.E.FOR] FROM virtual_device=‘Legato#e32caf9a-7120-4309-8c9e-0e6777355f6f‘ WITH maxtransfersize = 4194304, norecovery
35866:(pid 5456):The restore of database ‘LKKKK.5.E.FOR‘ completed successfully.
142468:(pid 5456):[3512]nsr/db_apps/bsmsql/rcstripes.c(222): Finding backup for saveset MSSQL:/LKKKK.5.E.FOR.
4690:(pid 5456):RESTORE log [LKKKK.5.E.FOR] FROM virtual_device=‘Legato#c01585c8-5fc2-4076-abcc-ed54bd8daa5a‘ WITH maxtransfersize = 4194304, norecovery
35866:(pid 5456):The restore of database ‘LKKKK.5.E.FOR‘ completed successfully.
142468:(pid 5456):[3512]nsr/db_apps/bsmsql/rcstripes.c(222): Finding backup for saveset MSSQL:/LKKKK.5.E.FOR.
4690:(pid 5456):RESTORE log [LKKKK.5.E.FOR] FROM virtual_device=‘Legato#5133eafd-79a9-4662-afa8-1c799b21242e‘ WITH maxtransfersize = 4194304, norecovery
35866:(pid 5456):The restore of database ‘LKKKK.5.E.FOR‘ completed successfully.
142468:(pid 5456):[3512]nsr/db_apps/bsmsql/rcstripes.c(222): Finding backup for saveset MSSQL:/LKKKK.5.E.FOR.
4690:(pid 5456):RESTORE log [LKKKK.5.E.FOR] FROM virtual_device=‘Legato#578eb90f-63de-4cdc-bd24-b6249b8fe975‘ WITH maxtransfersize = 4194304, norecovery
35866:(pid 5456):The restore of database ‘LKKKK.5.E.FOR‘ completed successfully.
142468:(pid 5456):[3512]nsr/db_apps/bsmsql/rcstripes.c(222): Finding backup for saveset MSSQL:/LKKKK.5.E.FOR.
4690:(pid 5456):RESTORE log [LKKKK.5.E.FOR] FROM virtual_device=‘Legato#c4e8e33a-17a1-436f-9a14-2ce4a05dea3e‘ WITH maxtransfersize = 4194304, norecovery
35866:(pid 5456):The restore of database ‘LKKKK.5.E.FOR‘ completed successfully.
142468:(pid 5456):[3512]nsr/db_apps/bsmsql/rcstripes.c(222): Finding backup for saveset MSSQL:/LKKKK.5.E.FOR.
4690:(pid 5456):RESTORE log [LKKKK.5.E.FOR] FROM virtual_device=‘Legato#7ec9679d-303b-47ee-8390-7c8829501391‘ WITH maxtransfersize = 4194304, norecovery
35866:(pid 5456):The restore of database ‘LKKKK.5.E.FOR‘ completed successfully.
142468:(pid 5456):[3512]nsr/db_apps/bsmsql/rcstripes.c(222): Finding backup for saveset MSSQL:/LKKKK.5.E.FOR.
4690:(pid 5456):RESTORE log [LKKKK.5.E.FOR] FROM virtual_device=‘Legato#d3fd0e9f-febf-4ed0-9b06-202eac29d724‘ WITH maxtransfersize = 4194304, norecovery
35866:(pid 5456):The restore of database ‘LKKKK.5.E.FOR‘ completed successfully.
142468:(pid 5456):[3512]nsr/db_apps/bsmsql/rcstripes.c(222): Finding backup for saveset MSSQL:/LKKKK.5.E.FOR.
4690:(pid 5456):RESTORE log [LKKKK.5.E.FOR] FROM virtual_device=‘Legato#6b7874d9-e3b0-48e9-b1fc-853924ef5bfc‘ WITH maxtransfersize = 4194304
35866:(pid 5456):The restore of database ‘LKKKK.5.E.FOR‘ completed successfully.
29310:(pid 5456):
Received 17 MB 9 item(s) from NSR server (size information for snapshot(s) is not available).
nsr/db_apps/bsmsql/rcovmain.cpp(442): Entering cleanUp().
nsr/db_apps/bsmsql/rcovmain.cpp(500): Exiting cleanUp().
43709:(pid 5456):Stop time: Tue Jan 03 13:25:31 2017

Restore completion time: Tue Jan 03 13:25:32 2017


Thanks,

Any question , please free to ask,

 

以上是关于EMC NW NMM to restore MS AG database的主要内容,如果未能解决你的问题,请参考以下文章

How to setup backup by using EMC NW + EMC NMM for sqlserver failover cluster (not always on)

To be contine ,NW NMM backup sqlserver failed.

EMC NW disaster and recovery simulation2

An enhance script to check partition tables under all schemas in sqlserver

skipping datafile 127:already restored to file.. restore not done;

skipping datafile 127:already restored to file.. restore not done;