Skip to content

Commit b3e79ae

Browse files
committed
Add export warning
1 parent 66f6016 commit b3e79ae

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Command/Archive/ArchiveExportCommand.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,12 @@ protected function execute(InputInterface $input, OutputInterface $output)
160160

161161
$this->stdErr->writeln('');
162162

163+
$this->stdErr->writeln('<comment>Warning</comment>');
164+
$this->stdErr->writeln('Your site may be changing data during archiving, resulting in inconsistencies.');
165+
$this->stdErr->writeln('This tool is not suitable for making consistent backups (instead, see <info>' . $this->config()->get('application.executable') . ' snapshot:create</info>).');
166+
167+
$this->stdErr->writeln('');
168+
163169
if (!$questionHelper->confirm('Are you sure you want to continue?')) {
164170
return 1;
165171
}

0 commit comments

Comments
 (0)