private function checkBackup(PluginRegistry $plugins, SymfonyStyle $io, $name, array $backup)
    {
        $io->section('Backup: ' . $name);
        if (!$plugins->has($backup['plugin'])) {
            $io->warning(sprintf('Plugin "%s" not found', $backup['plugin']));

            return false;
        }

        $optionsResolver = new OptionsResolver();
        $plugins->getPlugin($backup['plugin'])->configureOptionsResolver($optionsResolver);

        try {
            $parameter = $optionsResolver->resolve($backup['parameter']);
        } catch (InvalidArgumentException $e) {
            $io->warning(sprintf('Parameter not valid' . PHP_EOL . PHP_EOL . 'Message: "%s"', $e->getMessage()));

            return false;
        }

        $io->write('Process: ');
        $process = 'All';
        if (0 < count($backup['process'])) {
            $process = '["' . implode('", "', $backup['process']) . '""]';
        }
        $io->writeln($process);

        $io->write('Parameter:');
        $messages = array_filter(explode("\r\n", Yaml::dump($parameter)));
        $io->block($messages, null, null, '  ');

        $io->writeln('OK');

        return true;
    }