From b3e79aed52d20fa35b3d15ddccf32a53b93df65d Mon Sep 17 00:00:00 2001 From: Patrick Dawkins Date: Mon, 15 Jul 2019 22:44:51 +0100 Subject: [PATCH] Add export warning --- src/Command/Archive/ArchiveExportCommand.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Command/Archive/ArchiveExportCommand.php b/src/Command/Archive/ArchiveExportCommand.php index a4de393e79..9ca16b9eec 100644 --- a/src/Command/Archive/ArchiveExportCommand.php +++ b/src/Command/Archive/ArchiveExportCommand.php @@ -160,6 +160,12 @@ protected function execute(InputInterface $input, OutputInterface $output) $this->stdErr->writeln(''); + $this->stdErr->writeln('Warning'); + $this->stdErr->writeln('Your site may be changing data during archiving, resulting in inconsistencies.'); + $this->stdErr->writeln('This tool is not suitable for making consistent backups (instead, see ' . $this->config()->get('application.executable') . ' snapshot:create).'); + + $this->stdErr->writeln(''); + if (!$questionHelper->confirm('Are you sure you want to continue?')) { return 1; }