public function addBackupPolicy(Policy $policy)
    {
        $backups = isset($this->data['backups']) ? $this->data['backups'] : [];
        $backups['schedule'][] = [
            'interval' => $policy->getInterval(),
            'count' => $policy->getCount(),
        ];
        if (!isset($backups['manual_count'])) {
            $backups['manual_count'] = 3;
        }

        return $this->update(['backups' => $backups]);
    }