mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-25 16:03:48 +00:00
26 lines
440 B
Ruby
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
|