Advertisement
Guest User

Untitled

a guest
Feb 12th, 2020
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.51 KB | None | 0 0
  1.  
  2. C:\Windows\psscripts>powershell Set-ExecutionPolicy Unrestricted
  3.  
  4. C:\Windows\psscripts>powershell "c:\Windows\psscripts\vss-script.ps1"
  5. vssadmin 1.1 - Программа командной строки для администрирования службы теневого копирования томов
  6. (C) Корпорация Майкрософт (Microsoft Corportion), 2001-2013.
  7.  
  8. Успешно изменен размер для соответствия хранилища теневой копии
  9.  
  10. VSHADOW.EXE 3.0 - Volume Shadow Copy sample client.
  11. Copyright (C) 2005 Microsoft Corporation. All rights reserved.
  12.  
  13.  
  14. (Option: Persistent shadow copy)
  15. (Option: Create shadow copy set)
  16. - Setting the VSS context to: 0x00000009
  17. (Gathering writer metadata...)
  18. (Waiting for the asynchronous operation to finish...)
  19. Initialize writer metadata ...
  20. Discover directly excluded components ...
  21. - Excluding writer 'Shadow Copy Optimization Writer' since it has no selected components for restore.
  22. - Excluding writer 'MSSearch Service Writer' since it has no selected components for restore.
  23. - Excluding writer 'BITS Writer' since it has no selected components for restore.
  24. Discover components that reside outside the shadow set ...
  25. Discover all excluded components ...
  26. Discover excluded writers ...
  27. Discover explicitly included components ...
  28. Verifying explicitly specified writers/components ...
  29. Select explicitly included components ...
  30. * Writer 'Task Scheduler Writer':
  31. - Add component \TasksStore
  32. * Writer 'VSS Metadata Store Writer':
  33. - Add component \WriterMetadataStore
  34. * Writer 'Performance Counters Writer':
  35. - Add component \PerformanceCounters
  36. * Writer 'System Writer':
  37. - Add component \System Files
  38. * Writer 'SqlServerWriter':
  39. - Add component \DESKTOP-6VMLHD7\LOCALDB#30025097\master
  40. - Add component \DESKTOP-6VMLHD7\LOCALDB#30025097\model
  41. - Add component \DESKTOP-6VMLHD7\LOCALDB#30025097\msdb
  42. - Add component \DESKTOP-6VMLHD7\LOCALDB#30025097\VeeamBackup
  43. * Writer 'ASR Writer':
  44. - Add component \ASR\ASR
  45. - Add component \Volumes\Volume{282f2971-0000-0000-0000-100000000000}
  46. - Add component \Volumes\Volume{ad20c68f-0000-0000-0000-100000000000}
  47. - Add component \Disks\harddisk0
  48. - Add component \Disks\harddisk1
  49. - Add component \BCD\BCD
  50. * Writer 'Registry Writer':
  51. - Add component \Registry
  52. * Writer 'WMI Writer':
  53. - Add component \WMI
  54. * Writer 'COM+ REGDB Writer':
  55. - Add component \COM+ REGDB
  56. Creating shadow set {9e3eca8f-a1b1-4e81-a70a-371c887c72b4} ...
  57. - Adding volume \\?\Volume{282f2971-0000-0000-0000-100000000000}\ [C:\] to the shadow set...
  58. Preparing for backup ...
  59. (Waiting for the asynchronous operation to finish...)
  60. (Waiting for the asynchronous operation to finish...)
  61. Creating the shadow (DoSnapshotSet) ...
  62. (Waiting for the asynchronous operation to finish...)
  63. (Waiting for the asynchronous operation to finish...)
  64. Shadow copy set succesfully created.
  65.  
  66. List of created shadow copies:
  67.  
  68.  
  69. Querying all shadow copies with the SnapshotSetID {9e3eca8f-a1b1-4e81-a70a-371c887c72b4} ...
  70.  
  71. * SNAPSHOT ID = {482b656a-0435-48a5-bbf9-aa82061b38e9} ...
  72. - Shadow copy Set: {9e3eca8f-a1b1-4e81-a70a-371c887c72b4}
  73. - Original count of shadow copies = 1
  74. - Original Volume name: \\?\Volume{282f2971-0000-0000-0000-100000000000}\ [C:\]
  75. - Creation Time: 12.02.2020 20:13:08
  76. - Shadow copy device name: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy10
  77. - Originating machine: DESKTOP-6VMLHD7
  78. - Service machine: DESKTOP-6VMLHD7
  79. - Not Exposed
  80. - Provider id: {b5946137-7b9f-4925-af80-51abd60b20d5}
  81. - Attributes: No_Auto_Release Persistent Differential
  82.  
  83. - Mark all writers as succesfully backed up...
  84. Completing the backup (BackupComplete) ...
  85. (Waiting for the asynchronous operation to finish...)
  86. (Waiting for the asynchronous operation to finish...)
  87.  
  88. Snapshot creation done.
  89. vssadmin 1.1 - Программа командной строки для администрирования службы теневого копирования томов
  90. (C) Корпорация Майкрософт (Microsoft Corportion), 2001-2013.
  91.  
  92. Успешно изменен размер для соответствия хранилища теневой копии
  93.  
  94. VSHADOW.EXE 3.0 - Volume Shadow Copy sample client.
  95. Copyright (C) 2005 Microsoft Corporation. All rights reserved.
  96.  
  97.  
  98. (Option: Persistent shadow copy)
  99. (Option: Create shadow copy set)
  100. - Setting the VSS context to: 0x00000009
  101. (Gathering writer metadata...)
  102. (Waiting for the asynchronous operation to finish...)
  103. Initialize writer metadata ...
  104. Discover directly excluded components ...
  105. - Excluding writer 'MSSearch Service Writer' since it has no selected components for restore.
  106. - Excluding writer 'Shadow Copy Optimization Writer' since it has no selected components for restore.
  107. - Excluding writer 'BITS Writer' since it has no selected components for restore.
  108. Discover components that reside outside the shadow set ...
  109. - Component '\TasksStore' from writer 'Task Scheduler Writer' is excluded from backup (it requires C:\ in the shadow set)
  110. - Component '\WriterMetadataStore' from writer 'VSS Metadata Store Writer' is excluded from backup (it requires C:\ in the shadow set)
  111. - Component '\PerformanceCounters' from writer 'Performance Counters Writer' is excluded from backup (it requires C:\ in the shadow set)
  112. - Component '\System Files' from writer 'System Writer' is excluded from backup (it requires C:\ in the shadow set)
  113. - Component '\DESKTOP-6VMLHD7\LOCALDB#30025097\master' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  114. - Component '\DESKTOP-6VMLHD7\LOCALDB#30025097\model' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  115. - Component '\DESKTOP-6VMLHD7\LOCALDB#30025097\msdb' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  116. - Component '\DESKTOP-6VMLHD7\LOCALDB#30025097\VeeamBackup' from writer 'SqlServerWriter' is excluded from backup (it requires C:\ in the shadow set)
  117. - Component '\BCD\BCD' from writer 'ASR Writer' is excluded from backup (it requires C:\ in the shadow set)
  118. - Component '\Registry' from writer 'Registry Writer' is excluded from backup (it requires C:\ in the shadow set)
  119. - Component '\COM+ REGDB' from writer 'COM+ REGDB Writer' is excluded from backup (it requires C:\ in the shadow set)
  120. - Component '\WMI' from writer 'WMI Writer' is excluded from backup (it requires C:\ in the shadow set)
  121. Discover all excluded components ...
  122. Discover excluded writers ...
  123. - The writer 'Task Scheduler Writer' is now entirely excluded from the backup:
  124. (it does not contain any components that can be potentially included in the backup)
  125. - The writer 'VSS Metadata Store Writer' is now entirely excluded from the backup:
  126. (it does not contain any components that can be potentially included in the backup)
  127. - The writer 'Performance Counters Writer' is now entirely excluded from the backup:
  128. (it does not contain any components that can be potentially included in the backup)
  129. - The writer 'System Writer' is now entirely excluded from the backup:
  130. (it does not contain any components that can be potentially included in the backup)
  131. - The writer 'SqlServerWriter' is now entirely excluded from the backup:
  132. (it does not contain any components that can be potentially included in the backup)
  133. - The writer 'ASR Writer' is now entirely excluded from the backup:
  134. (the top-level non-selectable component '\BCD\BCD' is an excluded component)
  135. - The writer 'Registry Writer' is now entirely excluded from the backup:
  136. (it does not contain any components that can be potentially included in the backup)
  137. - The writer 'COM+ REGDB Writer' is now entirely excluded from the backup:
  138. (it does not contain any components that can be potentially included in the backup)
  139. - The writer 'WMI Writer' is now entirely excluded from the backup:
  140. (it does not contain any components that can be potentially included in the backup)
  141. Discover explicitly included components ...
  142. Verifying explicitly specified writers/components ...
  143. Select explicitly included components ...
  144. Creating shadow set {c09ec9c3-0742-4eec-bd17-0c6d4167e91b} ...
  145. - Adding volume \\?\Volume{ad20c68f-0000-0000-0000-100000000000}\ [D:\] to the shadow set...
  146. Preparing for backup ...
  147. (Waiting for the asynchronous operation to finish...)
  148. (Waiting for the asynchronous operation to finish...)
  149. Creating the shadow (DoSnapshotSet) ...
  150. (Waiting for the asynchronous operation to finish...)
  151. (Waiting for the asynchronous operation to finish...)
  152. Shadow copy set succesfully created.
  153.  
  154. List of created shadow copies:
  155.  
  156.  
  157. Querying all shadow copies with the SnapshotSetID {c09ec9c3-0742-4eec-bd17-0c6d4167e91b} ...
  158.  
  159. * SNAPSHOT ID = {92369744-bbca-4715-95fb-9d4322266d56} ...
  160. - Shadow copy Set: {c09ec9c3-0742-4eec-bd17-0c6d4167e91b}
  161. - Original count of shadow copies = 1
  162. - Original Volume name: \\?\Volume{ad20c68f-0000-0000-0000-100000000000}\ [D:\]
  163. - Creation Time: 12.02.2020 20:13:27
  164. - Shadow copy device name: \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy11
  165. - Originating machine: DESKTOP-6VMLHD7
  166. - Service machine: DESKTOP-6VMLHD7
  167. - Not Exposed
  168. - Provider id: {b5946137-7b9f-4925-af80-51abd60b20d5}
  169. - Attributes: No_Auto_Release Persistent Differential
  170.  
  171. - There were no writer components in this backup
  172.  
  173. Snapshot creation done.
  174.  
  175. C:\Windows\psscripts>powershell Set-ExecutionPolicy Restricted
  176.  
  177. C:\Windows\psscripts>pause
  178. Для продолжения нажмите любую клавишу . . .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement