#!/usr/bin/env php boot(); // Run the database dump command. $application = new DbDumpApplication(Database::getConnection(), \Drupal::moduleHandler()); $application->run();