Files
gitlab-foss/gems/gitlab-backup-cli/lib/gitlab/backup/cli/tasks/database.rb
2024-04-12 03:13:44 +00:00

26 lines
440 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(options: options)
end
end
end
end
end
end