PHP Class Pantheon\Terminus\Commands\Backup\RestoreCommand

Inheritance: extends Pantheon\Terminus\Commands\TerminusCommand, implements Pantheon\Terminus\Site\SiteAwareInterface, use trait Pantheon\Terminus\Site\SiteAwareTrait
Datei anzeigen Open project: pantheon-systems/terminus

Public Methods

Method Description
restoreBackup ( string $site_env, array $options = ['file' => null, 'element' => null] ) Restore a specific backup or the latest backup

Method Details

restoreBackup() public method

Restore a specific backup or the latest backup
public restoreBackup ( string $site_env, array $options = ['file' => null, 'element' => null] )
$site_env string Site & environment to deploy to, in the form `site-name.env`.
$options array