migration sql server databases
some items still need you type password , such as credentials. database roles just include master & msdb database.
- logins
- server roles
- database roles
- jobs
- linked servers
- credentials
- mails
- master db objects. e.g. table,sp,schema
- SMO. If you installed SSMS you do not need to install it .
- SQL Server version : successfully run in above 2014
default user is "sql_user" . default password gets from the "SecurityPwd.txt" if you do not specified user & password in "instanceInfo.txt"
instanceInfo.txt format:
# if user & password is "",default user & password will be used
ip,port,user,password
run script:
powershell -ExecutionPolicy ByPass .\Start-Run.ps1
SMO : SQL Server Management Object