Restore your Platform.sh database using an external file

By shean.hoxie, 17 March, 2021

Using Platform.sh's cli you can easily import an sql file. Very helpful if you deleted all of the hosted snapshots of an environment (woopsie), but you have an external backup.

platform -eEnvironmentName sql < backup.sql

 

Comments