Sha256: 6c133cf0e3d3d3af24d243c8686f58c204e547f71ec6bdf696d33e33bec2c4eb

Contents?: true

Size: 794 Bytes

Versions: 19

Compression:

Stored size: 794 Bytes

Contents

# encoding: utf-8

module Backup
  module Configuration
    module Database
      class MongoDB < Base
        class << self

          ##
          # Name of the database that needs to get dumped
          attr_accessor :name

          ##
          # Credentials for the specified database
          attr_accessor :username, :password

          ##
          # Connectivity options
          attr_accessor :host, :port

          ##
          # IPv6 support (disabled by default)
          attr_accessor :ipv6

          ##
          # Collections to dump, collections that aren't specified won't get dumped
          attr_accessor :only_collections

          ##
          # Additional "mongodump" options
          attr_accessor :additional_options

        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
backup-3.0.14 lib/backup/configuration/database/mongodb.rb
backup-3.0.13 lib/backup/configuration/database/mongodb.rb
backup-3.0.12 lib/backup/configuration/database/mongodb.rb
backup-3.0.11 lib/backup/configuration/database/mongodb.rb
alg-backup-3.0.10 lib/backup/configuration/database/mongodb.rb
backup-3.0.10 lib/backup/configuration/database/mongodb.rb
backup-3.0.9 lib/backup/configuration/database/mongodb.rb
backup-3.0.8 lib/backup/configuration/database/mongodb.rb
backup-3.0.7 lib/backup/configuration/database/mongodb.rb
backup-3.0.6 lib/backup/configuration/database/mongodb.rb
backup-3.0.5 lib/backup/configuration/database/mongodb.rb
backup-3.0.4 lib/backup/configuration/database/mongodb.rb
backup-3.0.3 lib/backup/configuration/database/mongodb.rb
backup-3.0.2.build.0 lib/backup/configuration/database/mongodb.rb
backup-3.0.2 lib/backup/configuration/database/mongodb.rb
backup-3.0.1.build.0 lib/backup/configuration/database/mongodb.rb
backup-3.0.1 lib/backup/configuration/database/mongodb.rb
backup-3.0.0.build.0 lib/backup/configuration/database/mongodb.rb
backup-3.0.0 lib/backup/configuration/database/mongodb.rb