SaaS CMS has officially launched! Learn more now.

Copy site from one environment to another



I'm new to epi .

Looking for a method to copy the site form low environment to higher environment.  

What Is the most efficient way to do it ? 

I sow the api and PowerShell cmdlet what do you suggest for content migration ? 

Edited, Dec 12, 2017 23:04

Why not just backup and restore the database?

Dec 13, 2017 7:40

Isn't the database have unic environment data ? 

Dec 13, 2017 11:38
  1. Try import / export the site from admin OR (if you don't have an existing target site yet...)
  2. Do the database backup / restore like Henrik suggest. Remember to copy the blobs as well in that case to get the correct images and redo the website settings in admin to get correct url settings for the site. 

Hope that helps!

Dec 13, 2017 13:58
  1. Can this be done via Api? 
  2. Not sure I can do it due to environment parameters . 
Dec 13, 2017 14:02

You had the mirroring functionality for setting it up to run automagically before. I wouldn't recommend any automatic solution using api on this part. Possible...sure. Good idea? Probably not.  

Dec 13, 2017 14:08

The database have ony two unique data and those can be set with sql-sript 

use MySite
update dbo.[tblSiteDefinition]
   set SiteUrl = ''
 where Name = 'MySite';
update dbo.[tblHostDefinition]
   set Name = ''
 where Name = '';
Dec 13, 2017 14:32

Not automatic but a click of a button . 

What is thus mirroring you are talking about ? 

Dec 13, 2017 14:39

Legacy functionality from 7.5

Dec 18, 2017 16:02

Dec 18, 2017 17:51
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.