Run an exit drill
Who: the site administrator, observed by the contract manager. When: once a year, and before a contract renewal. The commands come from Migrating away from Exponential and the trainer lesson Leaving Exponential.
Contents
Before you start
- A copy of the site (staging or a restored backup), not production.
- Shell access and a working directory, for example
var/tmp/export/. - The site's object counts per class from the administration (Setup > Classes).
Steps
Create the working directory:
mkdir -p var/tmp/exportMake a site archive of every class, as a ZIP:
php bin/php/console ext:xrowextract:archive --set=everything --format=zip --output=var/tmp/export/Open the archive's
manifest.jsonandREADME.txt; pick classes and compare row counts with the admin's counts (one row per object per language).Check that no password hash is in the archive; the archive never contains them by design.
Copy the storage directory
var/<site>/storage/next to the archive.Dump the database with the engine's tool (Database backups per engine).
If the site uses layouts:
php bin/php/console exp:layouts export --all --output=var/tmp/export/layouts.zipExport form submissions you must keep, and the consent records, as CSV.
Open a sample of files and rich text from the archive in ordinary tools (a spreadsheet, a text editor).
Remove the export when done, or store it under your records and privacy rules; it contains personal data.
Record
Exit drill - <site> - <date> - <names>
Archive: <file>, classes <n>, counts matched: yes/no (differences: <...>)
Storage copied: <size> Database dump: <engine, size> Layouts: <yes/no/none>
Forms / consent exported: <...> Time taken: <...>
Problems and fixes: <...> Exit plan updated: yes/noResult
Evidence that your data can leave in open formats, and a measured time for the exit plan.
Pitfalls
- Running it on production during office hours.
- Forgetting the storage directory: the archive references files.
- Leaving the export lying around: it contains personal data.
Related pages
- Procurement and training tasks
- Write an exit plan
- Data export formats
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.