Skip to content

Instantly share code, notes, and snippets.

@Inggo-inHomePortal
Created February 1, 2016 02:08
Show Gist options
  • Save Inggo-inHomePortal/0c4efbccacce58559ff8 to your computer and use it in GitHub Desktop.
Save Inggo-inHomePortal/0c4efbccacce58559ff8 to your computer and use it in GitHub Desktop.
1. ssh to singapore-inhomeglobal.pagelydev.com
2. navigate to target site (e.g. test.inhomeok.com)
3. command: wp duplicate site <NewSiteName> --url=<source tenant site >(e.g. s13008.p240.sites.pressdns.com/example --admin='<AdminEmail>' --blogname='<New Site Name>'
Example: wp duplicate site inhomeportal --url=dev.inhomeok.com/freedom --admin='inggo.espinosa@inhomeportal.com' --blogname='inHomePortal'
4. Copy and execute the command displayed to clone the data as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment