From e788e7536c2a1d6f8667c70a549ba39b3adb3ba6 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..9abe534414 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; }