Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,200 of 9,200 pages
About the help in other languages
All help pages

Run an exit drill

Step by step, test once a year that a public body can really leave - export the whole site with an xrowextract archive, copy the storage, dump the database, check the archive against the admin's counts, and record the…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/tasks/procurement-and-training/run-an-exit-drill.md

On this page

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

  1. Before you start
  2. Steps
  3. Record
  4. Result
  5. Pitfalls

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

  1. Create the working directory:

    mkdir -p var/tmp/export
  2. Make a site archive of every class, as a ZIP:

    php bin/php/console ext:xrowextract:archive --set=everything --format=zip --output=var/tmp/export/
  3. Open the archive's manifest.json and README.txt; pick classes and compare row counts with the admin's counts (one row per object per language).

  4. Check that no password hash is in the archive; the archive never contains them by design.

  5. Copy the storage directory var/<site>/storage/ next to the archive.

  6. Dump the database with the engine's tool (Database backups per engine).

  7. If the site uses layouts:

    php bin/php/console exp:layouts export --all --output=var/tmp/export/layouts.zip
  8. Export form submissions you must keep, and the consent records, as CSV.

  9. Open a sample of files and rich text from the archive in ordinary tools (a spreadsheet, a text editor).

  10. 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/no

Result

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.

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x