This would be useful so you can freely backup and restore between the environments.
I've inquired from Kinsta and there's no environment variable set up. They have WP_ENVIRONMENT_TYPE set in nginx but that wouldnt work with CLI tasks so not usable. On non-bedrock stacks they create the wp-config.php. Only way I see is to sniff the hostname and see if it contains the word staging but that's not ideal.
This would be useful so you can freely backup and restore between the environments.
I've inquired from Kinsta and there's no environment variable set up. They have
WP_ENVIRONMENT_TYPEset in nginx but that wouldnt work with CLI tasks so not usable. On non-bedrock stacks they create the wp-config.php. Only way I see is to sniff the hostname and see if it contains the wordstagingbut that's not ideal.