Skip to content

Instantly share code, notes, and snippets.

@brendanmckenzie
Last active March 21, 2018 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brendanmckenzie/6603caf4d08f456fa427d6fd85d74ae3 to your computer and use it in GitHub Desktop.
Save brendanmckenzie/6603caf4d08f456fa427d6fd85d74ae3 to your computer and use it in GitHub Desktop.
Sitecore 9 Installation
backup database [SC90_Core] to disk = 'C:\\temp\\SC90_Core.bak';
backup database [SC90_EXM.Master] to disk = 'C:\\temp\\SC90_EXM.Master.bak';
backup database [SC90_ExperienceForms] to disk = 'C:\\temp\\SC90_ExperienceForms.bak';
backup database [SC90_Master] to disk = 'C:\\temp\\SC90_Master.bak';
backup database [SC90_Processing.Tasks] to disk = 'C:\\temp\\SC90_Processing.Tasks.bak';
backup database [SC90_Reporting] to disk = 'C:\\temp\\SC90_Reporting.bak';
backup database [SC90_Web] to disk = 'C:\\temp\\SC90_Web.bak';
backup database [SC90_MarketingAutomation] to disk = 'C:\\temp\\SC90_MarketingAutomation.bak';
backup database [SC90_Messaging] to disk = 'C:\\temp\\SC90_Messaging.bak';
backup database [SC90_Processing.Pools] to disk = 'C:\\temp\\SC90_Processing.Pools.bak';
backup database [SC90_ReferenceData] to disk = 'C:\\temp\\SC90_ReferenceData.bak';
backup database [SC90_Xdb.Collection.Shard0] to disk = 'C:\\temp\\SC90_Xdb.Collection.Shard0.bak';
backup database [SC90_Xdb.Collection.Shard1] to disk = 'C:\\temp\\SC90_Xdb.Collection.Shard1.bak';
backup database [SC90_Xdb.Collection.ShardMapManager] to disk = 'C:\\temp\\SC90_Xdb.Collection.ShardMapManager.bak';
restore database [SC90_Core] from disk = 'C:\\temp\\SC90_Core.bak';
restore database [SC90_EXM.Master] from disk = 'C:\\temp\\SC90_EXM.Master.bak';
restore database [SC90_ExperienceForms] from disk = 'C:\\temp\\SC90_ExperienceForms.bak';
restore database [SC90_Master] from disk = 'C:\\temp\\SC90_Master.bak';
restore database [SC90_Processing.Tasks] from disk = 'C:\\temp\\SC90_Processing.Tasks.bak';
restore database [SC90_Reporting] from disk = 'C:\\temp\\SC90_Reporting.bak';
restore database [SC90_Web] from disk = 'C:\\temp\\SC90_Web.bak';
restore database [SC90_MarketingAutomation] from disk = 'C:\\temp\\SC90_MarketingAutomation.bak';
restore database [SC90_Messaging] from disk = 'C:\\temp\\SC90_Messaging.bak';
restore database [SC90_Processing.Pools] from disk = 'C:\\temp\\SC90_Processing.Pools.bak';
restore database [SC90_ReferenceData] from disk = 'C:\\temp\\SC90_ReferenceData.bak';
restore database [SC90_Xdb.Collection.Shard0] from disk = 'C:\\temp\\SC90_Xdb.Collection.Shard0.bak';
restore database [SC90_Xdb.Collection.Shard1] from disk = 'C:\\temp\\SC90_Xdb.Collection.Shard1.bak';
restore database [SC90_Xdb.Collection.ShardMapManager] from disk = 'C:\\temp\\SC90_Xdb.Collection.ShardMapManager.bak';
Install-SitecoreConfiguration `
-Path .\sitecore-solr.json `
-CorePrefix SC90 `
-SolrUrl https://solr:8983/solr `
-SolrRoot C:\solr\solr-6.6.2 `
-SolrService solr-6.6.2
Install-SitecoreConfiguration `
-Path .\sitecore-XP0.json `
-Package ".\Sitecore 9.0.1 rev. 171219 (OnPrem)_single.scwdp.zip" `
-LicenseFile "C:\temp\license.xml" `
-SqlDbPrefix SC90 `
-SolrCorePrefix SC90 `
-XConnectCert sitecore-certificate `
-SiteName sitecore9-website `
-SqlAdminPassword password `
-SqlServer . `
-SolrUrl https://solr:8983/solr `
-XConnectCollectionService https://sitecore9-xconnect/ `
-XConnectReferenceDataService https://sitecore9-xconnect/ `
-MarketingAutomationOperationsService https://sitecore9-xconnect/ `
-MarketingAutomationReportingService https://sitecore9-xconnect/
Install-SitecoreConfiguration `
-Path .\xconnect-solr.json `
-CorePrefix SC90 `
-SolrUrl https://solr:8983/solr `
-SolrRoot C:\solr\solr-6.6.2 `
-SolrService solr-6.6.2
Install-SitecoreConfiguration `
-Path .\xconnect-xp0.json `
-Package ".\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp0xconnect.scwdp.zip" `
-LicenseFile "C:\temp\license.xml" `
-SqlDbPrefix SC90 `
-SolrCorePrefix SC90 `
-XConnectCert sitecore-certificate `
-SiteName sitecore9-xconnect `
-SqlAdminPassword password `
-SqlServer . `
-SolrUrl https://solr:8983/solr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment