Class: Backup::Adapters::PostgreSQL

Inherits:
Base show all
Defined in:
lib/backup/adapters/postgresql.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#compressed_file, #encrypt_with_gpg_public_key, #encrypt_with_password, #encrypted_file, #final_file, #keep_backups, #performed_file, #procedure, #timestamp, #tmp_path, #trigger

Method Summary

Methods inherited from Base

#create_tmp_folder, #encrypt, #handle_after_backup, #handle_before_backup, #initialize, #notify, #record, #remove_tmp_files, #skip_backup, #store, #system_messages

Methods included from CommandHelper

#log, #run

Constructor Details

This class inherits a constructor from Backup::Adapters::Base

Instance Attribute Details

#additional_optionsObject

Returns the value of attribute additional_options.



5
6
7
# File 'lib/backup/adapters/postgresql.rb', line 5

def additional_options
  @additional_options
end

#databaseObject

Returns the value of attribute database.



5
6
7
# File 'lib/backup/adapters/postgresql.rb', line 5

def database
  @database
end

#hostObject

Returns the value of attribute host.



5
6
7
# File 'lib/backup/adapters/postgresql.rb', line 5

def host
  @host
end

#passwordObject

Returns the value of attribute password.



5
6
7
# File 'lib/backup/adapters/postgresql.rb', line 5

def password
  @password
end

#portObject

Returns the value of attribute port.



5
6
7
# File 'lib/backup/adapters/postgresql.rb', line 5

def port
  @port
end

#skip_tablesObject

Returns the value of attribute skip_tables.



5
6
7
# File 'lib/backup/adapters/postgresql.rb', line 5

def skip_tables
  @skip_tables
end

#socketObject

Returns the value of attribute socket.



5
6
7
# File 'lib/backup/adapters/postgresql.rb', line 5

def socket
  @socket
end

#userObject

Returns the value of attribute user.



5
6
7
# File 'lib/backup/adapters/postgresql.rb', line 5

def user
  @user
end