Sha256: 510c4893e532df41ceff46a70c4cb366bd11f2da7d4515c76b123204cb853afe

Contents?: true

Size: 905 Bytes

Versions: 4

Compression:

Stored size: 905 Bytes

Contents

# encoding: utf-8

module Backup
  module Configuration
    module Database
      class PostgreSQL < 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, :socket

          ##
          # Tables to skip while dumping the database
          attr_accessor :skip_tables

          ##
          # Tables to dump, tables that aren't specified won't get dumped
          attr_accessor :only_tables

          ##
          # Additional "pg_dump" options
          attr_accessor :additional_options

          ##
          # Path to pg_dump utility (optional)
          attr_accessor :pg_dump_utility

        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
backup_checksum-3.0.23 lib/backup/configuration/database/postgresql.rb
backup-3.0.23 lib/backup/configuration/database/postgresql.rb
backup-3.0.22 lib/backup/configuration/database/postgresql.rb
backup-3.0.21 lib/backup/configuration/database/postgresql.rb