Sha256: 6fbb6b8100c4406b04d7e77f12341dee4b696b192c81d5bae0521889dd6a1fea

Contents?: true

Size: 803 Bytes

Versions: 25

Compression:

Stored size: 803 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

        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 3 rubygems

Version Path
backup-3.0.2 lib/backup/configuration/database/postgresql.rb
backup-3.0.1.build.0 lib/backup/configuration/database/postgresql.rb
backup-3.0.1 lib/backup/configuration/database/postgresql.rb
backup-3.0.0.build.0 lib/backup/configuration/database/postgresql.rb
backup-3.0.0 lib/backup/configuration/database/postgresql.rb