gitlab-ce/gems/gitlab-backup-cli/lib/gitlab/backup/cli/tasks/database.rb

26 lines
422 B
Ruby

# frozen_string_literal: true
module Gitlab
module Backup
module Cli
module Tasks
class Database < Task
def self.id = 'db'
def human_name = _('database')
def destination_path = 'db'
def cleanup_path = 'db'
private
def target
::Gitlab::Backup::Cli::Targets::Database.new
end
end
end
end
end
end