A cheat sheet for restoring Drupal backups from a Pantheon site:
Download the backup files for "Files" and "Databases".
If you have a current site checked out via version control, you don't really need to worry about the "Code" backup.
It's probably not a bad idea to keep a local copy just in case.
cd ~/PROJECT_FOLDER/{pantheon_repo_name}
ddev config
ddev start
gunzip pantheon_name.sql.gz
ddev import-db --file=pantheon_databse.sql
tar --strip-components=1 -xzf pantheon_code.tar.gz -C .
composer update
ddev drush updb
ddev drush cr
ssh ddev, cd web
../vendor/bin/drush pmu simplesamlphp_auth
../vendor/bin/drush uli
>> Account some_open_admin_account is blocked and thus cannot login. The user:unblock command may be helpful.
../vendor/bin/drush user:unblock some_open_admin_account
../vendor/bin/drush uli
NOTE:
diff penn-chas/web/sites/default/settings.php penn-chas-hold/web/sites/default/settings.php
36a37,42
>
> // Automatically generated include for settings managed by ddev.
> $ddev_settings = __DIR__ . '/settings.ddev.php';
> if (getenv('IS_DDEV_PROJECT') == 'true' && is_readable($ddev_settings)) {
> require $ddev_settings;
> }