Skip to content

Commit f3081f5

Browse files
committed
add norecovery for future utility
1 parent acfdb11 commit f3081f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

backup readonly copy restore.sql

+3-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ FROM DISK = N'''+@new_server_path_backup+ db_name(d.database_id) +'_migration_2
4343
WITH FILE = 1
4444
, MOVE N'''+d.name+''' TO N'''+d.new_physical_name+'''
4545
, MOVE N'''+l.name+''' TO N'''+l.new_physical_name+'''
46-
, NOUNLOAD, STATS = 5
46+
, NOUNLOAD, STATS = 5, NORECOVERY
4747
GO
4848
',
4949
ReadOnly_Off = '
@@ -57,5 +57,6 @@ where d.database_id > 4
5757

5858

5959
/*
60-
60+
61+
6162
*/

0 commit comments

Comments
 (0)