There is no need to perform the next steps in this section for a dev environment. The steps are provided as a record for creating the survey schema on *test* and *uat* systems.
.. warning::
Please note that should you run these commands on a GNU/Linux system, you need to remove the empty quotes after the ``-i`` switch in the ``sed`` commands.
The survey data can be extracted with the following steps:
#. Replace mention of the `public` schema with `survey` schema. This breaks some of the data, which needs to be reversed. The first command shows what lines will be affected by the first sed command and should be used to update the fix invalid data
* ``grep 'public\.' uat-db_compendium_export-2022-11-21_235823.sql`` # Check what non-SQL data will change