protected function backup(array $data)
    {
        $has_backup = true;

        try {

            /* @var $backup \gplcart\modules\backup\Main */
            $backup = $this->module->getInstance('backup');

            if (!$backup->exists($data['module']['id'])) {
                $has_backup = $backup->backup('module', $data['module']) === true;
            }

        } catch (Exception $ex) {
            trigger_error($ex->getMessage());
            $has_backup = false;
        }

        return $has_backup;
    }