使用EMC的备份软件 NW NMM模块 恢复 MSSQL数据库

本文涉及的产品
RDS SQL Server Serverless,2-4RCU 50GB 3个月
推荐场景:
云数据库 RDS SQL Server,基础系列 2核4GB
简介: 文章是英文写的,是在公司里给老外工程师的邮件

Dear all
Yes ~
We can backup our sqlserver by EMC NW NMM. That is true and NW is a very very powerful and useful backup software. Why we use
enterprse backup software ? Becase we believe that some day .when we need data , the software could bring necessary data back.
now ,. I show to you how to make it .
Yes, You need sqlserver database back no matter on original DB server or remote DB server.
So, we should confirm when the database need to restore and recover. When ??
We can use it to confirm
emc nw nmm1.png

In order to get exact time , we need to turn on "networker for sqlserver". and select the database you want to restore and recover ?
By the way, before you start it , please make the Disk structure is the same as the original one.. That does not meas we can not restore
and recover database into different location, but it is easy and save way.
OK,. let`s continue,. Have you seen that image ? type "FULL" means database full backup restore time point , type "incr" means
database transaction log restore time point.
So, let us start to work. I do not like GUI tools , this way we use command.
nsrsqlrc.exe -s BACKUP -c NB1 -t "10/11/2017 02:14:14" -S normal "MSSQL:M"
-s , special backup master server name.
-c , offer original cilent name, for sqlserver it should be original database windows cluster name
-t , database restore and recover time, we can get the time information from that image .
-S normal, it means restore and recover database and open it.
when we execute the command , if there is no error show. there is only thing left is wait.
emc nw nmm2.png
You see , after execute that command we have wait total 3651 seconds and it starts to work. 3651 seconds mean one hour.
My God, we need to wast one hour time. That is NW Bug ? I do not know,
Last thing, My enviroument is DDBOOST over TCP/IP. The restore time not only depend on database size but also relay on network

  1. Here is prove.
    Backup Post-comp Network Restore Network Backup Restore

KB/s Written KB/s In KB/s KB/s Out KB/s Conn Conn
--------------- --------------- --------------- --------------- --------------- ------- -------
7,036,336 68,643 68,645 8,178 8,178 10 1
23,270,537 65,151 65,151 8,180 8,180 10 1
13,505,129 67,540 67,540 7,981 7,981 10 1
9,109,866 67,917 67,917 8,080 8,080 10 1
4,013,461 67,767 67,768 8,833 8,833 10 1
1,155,016 65,952 65,953 5,922 5,922 9 1
12,528,995 67,952 67,956 11,191 11,191 9 1
86,903 66,481 66,481 9,633 9,633 8 1
97,710 66,456 66,456 9,786 9,786 9 1
13,256,128 67,432 67,432 8,686 8,686 10 1
7,909,905 68,433 68,433 8,831 8,831 10 1
13,249,579 66,244 66,244 9,637 9,637 11 1
13,245,176 68,174 68,174 8,824 8,824 11 1
3,176,838 64,597 64,597 9,786 9,786 9 1
98,341 63,853 63,853 8,831 8,831 9 1
97,357 66,054 66,054 7,879 7,879 9 1
Backup Post-comp Network Restore Network Backup Restore
KB/s Written KB/s In KB/s KB/s Out KB/s Conn Conn
--------------- --------------- --------------- --------------- --------------- ------- -------
95,842 64,597 64,597 8,175 8,175 9 1
99,699 65,993 65,993 7,928 7,928 9 1
93,190 62,696 62,696 8,782 8,782 9 1
93,392 61,280 61,280 7,226 7,226 9 1
96,637 65,330 65,330 8,831 8,831 9 1
Backup Post-comp Network Restore Network Backup Restore
KB/s Written KB/s In KB/s KB/s Out KB/s Conn Conn
--------------- --------------- --------------- --------------- --------------- ------- -------
162,196 108,890 108,894 0 0 8 0
160,031 107,923 107,928 0 0 10 0
162,889 108,116 108,121 0 0 9 0
158,029 105,923 105,928 0 0 9 0
138,566 105,375 105,376 0 0 8 0
133,489 105,333 105,334 0 0 8 0
137,856 105,821 105,822 0 0 8 0
136,450 105,372 105,373 0 0 8 0
133,338 104,155 104,156 0 0 8 0
137,555 106,320 106,321 0 0 8 0
138,006 107,581 107,582 0 0 8 0
136,552 107,927 107,928 0 0 7 0
120,168 107,055 107,055 0 0 7 0
145,029 107,388 107,389 0 0 6 0
119,239 106,808 106,808 0 0 5 0
122,976 106,991 106,991 0 0 7 0
Backup Post-comp Network Restore Network Backup Restore
KB/s Written KB/s In KB/s KB/s Out KB/s Conn Conn
--------------- --------------- --------------- --------------- --------------- ------- -------
133,841 108,989 108,989 0 0 7 0
131,481 107,415 107,415 0 0 7 0
131,380 107,316 107,316 0 0 7 0
127,293 107,227 107,227 0 0 7 0
135,798 110,104 110,104 0 0 7 0
132,009 107,933 107,933 0 0 7 0
Backup Post-comp Network Restore Network Backup Restore
KB/s Written KB/s In KB/s KB/s Out KB/s Conn Conn
--------------- --------------- --------------- --------------- --------------- ------- -------
0 0 0 18,665 18,665 0 1
0 0 0 15,908 15,908 0 1
0 0 0 18,652 18,652 0 1
0 0 0 18,062 18,062 0 1
0 0 0 19,831 19,831 0 1
0 0 0 17,050 17,050 0 1
0 0 0 14,613 14,613 0 1
0 0 0 10,737 10,737 0 1
0 0 0 11,690 11,690 0 1
0 0 0 18,564 18,564 0 1
0 0 0 17,511 17,511 0 1
0 0 0 21,127 21,127 0 1
0 0 0 17,966 17,966 0 1
0 0 0 16,055 16,055 0 1
0 0 0 24,886 24,886 0 1
0 0 0 13,786 13,786 0 1
Backup Post-comp Network Restore Network Backup Restore
KB/s Written KB/s In KB/s KB/s Out KB/s Conn Conn
--------------- --------------- --------------- --------------- --------------- ------- -------
0 0 0 13,562 13,562 0 1
0 0 0 18,969 18,969 0 1
32 6 6 19,421 19,421 0 1
0 0 0 18,664 18,664 0 1
0 0 0 19,116 19,116 0 2
0 0 0 15,152 15,152 0 1
0 0 0 17,787 17,787 0 1
0 0 0 16,899 16,899 0 1
0 0 0 19,455 19,455 0 1
0 0 0 20,124 20,124 0 1
My envioument network is 1000MB , so we could estimate the MAX restore speed is 100MB/sec in theory..
Thanks

相关实践学习
使用SQL语句管理索引
本次实验主要介绍如何在RDS-SQLServer数据库中,使用SQL语句管理索引。
SQL Server on Linux入门教程
SQL Server数据库一直只提供Windows下的版本。2016年微软宣布推出可运行在Linux系统下的SQL Server数据库,该版本目前还是早期预览版本。本课程主要介绍SQLServer On Linux的基本知识。 相关的阿里云产品:云数据库RDS SQL Server版 RDS SQL Server不仅拥有高可用架构和任意时间点的数据恢复功能,强力支撑各种企业应用,同时也包含了微软的License费用,减少额外支出。 了解产品详情: https://www.aliyun.com/product/rds/sqlserver
目录
相关文章
|
24天前
|
SQL 关系型数据库 MySQL
如何快速在表级别做同构或者异构数据库之间的数据迁移/备份
【8月更文挑战第17天】本文介绍在同构与异构数据库间快速迁移/备份表级数据的方法。同构迁移可利用数据库自带工具(如MySQL的`mysqldump`)或管理软件(如phpMyAdmin);异构迁移则推荐使用ETL工具(如Pentaho Data Integration)或数据库复制工具(如SymmetricDS),亦可通过编程方式实现。实施前需测试以确保数据完整准确,并注意处理兼容性问题。
|
2天前
|
SQL 数据库 数据安全/隐私保护
如何手动备份数据库?
如何手动备份数据库?
7 1
|
13天前
|
SQL Oracle 关系型数据库
DBeaver,一款好用的开源数据库管理软件
DBeaver,一款好用的开源数据库管理软件
|
19天前
|
SQL 数据库
Microsoft SQL Server 2014如何来备份数据库
Microsoft SQL Server 2014如何来备份数据库
20 3
|
22天前
|
SQL 关系型数据库 MySQL
在Linux中,如何备份和恢复MySQL数据库?
在Linux中,如何备份和恢复MySQL数据库?
|
22天前
|
Linux 数据库 数据安全/隐私保护
|
23天前
|
存储 数据库 数据库管理
SQLite数据库的备份
【8月更文挑战第20天】SQLite数据库的备份
86 1
|
28天前
|
存储 Ubuntu 关系型数据库
如何在 Ubuntu VPS 上备份 PostgreSQL 数据库
如何在 Ubuntu VPS 上备份 PostgreSQL 数据库
15 1
|
28天前
|
JSON NoSQL Ubuntu
在Ubuntu 14.04上如何备份、恢复和迁移MongoDB数据库
在Ubuntu 14.04上如何备份、恢复和迁移MongoDB数据库
51 1
|
30天前
|
关系型数据库 数据库 PostgreSQL
Linux 环境手动备份postgresql数据库
【8月更文挑战第12天】在Docker环境中使用命令行工具对PostgreSQL数据库进行备份和恢复。首先,通过dockerexec进入容器,使用pg_dump进行数据库模式的备份,然后使用dockercp将备份文件导出。接着,若需导入数据到另一数据库,先将备份文件复制到目标容器,再利用psql命令进行数据恢复。整个过程需确保目标数据库无同名模式,以防止导入失败
24 3