pantheon-systems / terminus

The Pantheon CLI — a standalone utility for performing operations on the Pantheon Platform
https://pantheon.io
Other
315 stars 194 forks source link

Usage of import:site to recover from Pantheon backup #2385

Open miiimooo opened 2 years ago

miiimooo commented 2 years ago

terminus import:site --help does not explain what contents are expected in the site archive at url

I could find this archive in the tests https://dev-site-archive-d7.pantheonsite.io/sites/default/files/site-archive-d7.tar.g

Is it safe to assume that this expects the web root including a pantheon.sql file?

If this was to be used to recover from a backup, it would be more useful to specify urls for db, code and files.

scottbuscemi commented 2 years ago

Agreed on the vagueness here - it could be better described what a site archive even is.

FWIW, there are import:complete, import:database, and import:files commands as well. (Docs)

Screen Shot 2022-09-02 at 3 18 12 PM

Internal ticket: BUGS-5308