Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Terminus Site Clone - A Terminus plugin that adds command(s) to facilitate cloning sites on Pantheon.

License

Notifications You must be signed in to change notification settings

ataylorme/terminus-site-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

This repository is deprecated and no longer maintained as on May 8th, 2018. Please use pantheon-systems/terminus-site-clone-pljugin

Terminus Site Clone

Site Clone - A Terminus plugin that adds the site:clone command to facilitate cloning sites on Pantheon.

Disclaimer

While this script has worked well for us your mileage may vary due to local machine configuration.

This repository is provided without warranty or direct support. Issues and questions may be filed in GitHub but their resolution is not guaranteed.

Installation

Clone this project into your Terminus plugins directory found at $HOME/.terminus/plugins. If the $HOME/.terminus/plugins directory does not exists you can safely create it. See installing Terminus plugin for details.

Requirements

Usage

terminus site:clone <source>.<env> <destination>.<env> where <source> and <destination> are site UUID or machine name and <env> is a valid environment (dev or multidev).

Code cannot be cloned to or from test and live environments as work must go through the Pantheon workflow. You can, however, use --no-code to clone the files and database to or from a test or live environment.

You can also pass the argument(s) --no-database, --no-files and/or --no-code to skip cloning one or more items. You cannot, however, skip all three as there would be nothing left to clone.

Note files and database backups over 500MBs will not work due to Pantheon import file size limits. If your files or database are over 500MB they will need to be manually migrated.

License

MIT

About

Terminus Site Clone - A Terminus plugin that adds command(s) to facilitate cloning sites on Pantheon.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages