Class: Backup::Configuration::Database::PostgreSQL
- Defined in:
- lib/backup/configuration/database/postgresql.rb
Class Attribute Summary collapse
-
.additional_options ⇒ Object
Additional “pg_dump” options.
-
.host ⇒ Object
Connectivity options.
-
.name ⇒ Object
Name of the database that needs to get dumped.
-
.only_tables ⇒ Object
Tables to dump, tables that aren’t specified won’t get dumped.
-
.password ⇒ Object
Credentials for the specified database.
-
.pg_dump_utility ⇒ Object
Path to pg_dump utility (optional).
-
.port ⇒ Object
Connectivity options.
-
.skip_tables ⇒ Object
Tables to skip while dumping the database.
-
.socket ⇒ Object
Connectivity options.
-
.username ⇒ Object
Credentials for the specified database.
Method Summary
Methods inherited from Base
Methods included from Helpers
#clear_defaults!, #load_defaults!
Class Attribute Details
.additional_options ⇒ Object
Additional “pg_dump” options
31 32 33 |
# File 'lib/backup/configuration/database/postgresql.rb', line 31 def @additional_options end |
.host ⇒ Object
Connectivity options
19 20 21 |
# File 'lib/backup/configuration/database/postgresql.rb', line 19 def host @host end |
.name ⇒ Object
Name of the database that needs to get dumped
11 12 13 |
# File 'lib/backup/configuration/database/postgresql.rb', line 11 def name @name end |
.only_tables ⇒ Object
Tables to dump, tables that aren’t specified won’t get dumped
27 28 29 |
# File 'lib/backup/configuration/database/postgresql.rb', line 27 def only_tables @only_tables end |
.password ⇒ Object
Credentials for the specified database
15 16 17 |
# File 'lib/backup/configuration/database/postgresql.rb', line 15 def password @password end |
.pg_dump_utility ⇒ Object
Path to pg_dump utility (optional)
35 36 37 |
# File 'lib/backup/configuration/database/postgresql.rb', line 35 def pg_dump_utility @pg_dump_utility end |
.port ⇒ Object
Connectivity options
19 20 21 |
# File 'lib/backup/configuration/database/postgresql.rb', line 19 def port @port end |
.skip_tables ⇒ Object
Tables to skip while dumping the database
23 24 25 |
# File 'lib/backup/configuration/database/postgresql.rb', line 23 def skip_tables @skip_tables end |
.socket ⇒ Object
Connectivity options
19 20 21 |
# File 'lib/backup/configuration/database/postgresql.rb', line 19 def socket @socket end |
.username ⇒ Object
Credentials for the specified database
15 16 17 |
# File 'lib/backup/configuration/database/postgresql.rb', line 15 def username @username end |