Skip to content

Latest commit

 

History

History

Volume Database Refresh

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Volume Database Refresh

Scenario:
Script will refresh a database on the target server from a source database on a separate server

Prerequisities:
sqlserver and PureStoragePowerShellSDK modules installed on client machine
Two SQL instances with a database that has its data and log files on one volume on both servers
Example here assumes vVols but RDMs will work as well

Usage Notes:
Each section of the script is meant to be run one after the other. The script is not meant to be executed all at once.

Disclaimer:
This example script is provided AS-IS and meant to be a building block to be adapted to fit an individual organization's infrastructure.

THIS IS A SAMPLE SCRIPT WE USE FOR DEMOS! PLEASE do not save your passwords in cleartext here.
Use NTFS secured, encrypted files or whatever else -- never cleartext!