Class: Backup::Configuration::Database::Redis
- Defined in:
- lib/backup/configuration/database/redis.rb
Class Attribute Summary collapse
-
.additional_options ⇒ Object
Additional “redis-cli” options.
-
.host ⇒ Object
Connectivity options.
-
.invoke_save ⇒ Object
Determines whether Backup should invoke the SAVE command through the ‘redis-cli’ utility to persist the most recent data before copying over the dump file.
-
.name ⇒ Object
Name of and path to the database that needs to get dumped.
-
.password ⇒ Object
Credentials for the specified database.
-
.path ⇒ Object
Name of and path to the database that needs to get dumped.
-
.port ⇒ Object
Connectivity options.
-
.redis_cli_utility ⇒ Object
Path to the redis-cli utility (optional).
-
.socket ⇒ Object
Connectivity options.
Method Summary
Methods inherited from Base
Methods included from Helpers
#clear_defaults!, #load_defaults!
Class Attribute Details
.additional_options ⇒ Object
Additional “redis-cli” options
29 30 31 |
# File 'lib/backup/configuration/database/redis.rb', line 29 def @additional_options end |
.host ⇒ Object
Connectivity options
25 26 27 |
# File 'lib/backup/configuration/database/redis.rb', line 25 def host @host end |
.invoke_save ⇒ Object
Determines whether Backup should invoke the SAVE command through the ‘redis-cli’ utility to persist the most recent data before copying over the dump file
21 22 23 |
# File 'lib/backup/configuration/database/redis.rb', line 21 def invoke_save @invoke_save end |
.name ⇒ Object
Name of and path to the database that needs to get dumped
11 12 13 |
# File 'lib/backup/configuration/database/redis.rb', line 11 def name @name end |
.password ⇒ Object
Credentials for the specified database
15 16 17 |
# File 'lib/backup/configuration/database/redis.rb', line 15 def password @password end |
.path ⇒ Object
Name of and path to the database that needs to get dumped
11 12 13 |
# File 'lib/backup/configuration/database/redis.rb', line 11 def path @path end |
.port ⇒ Object
Connectivity options
25 26 27 |
# File 'lib/backup/configuration/database/redis.rb', line 25 def port @port end |
.redis_cli_utility ⇒ Object
Path to the redis-cli utility (optional)
33 34 35 |
# File 'lib/backup/configuration/database/redis.rb', line 33 def redis_cli_utility @redis_cli_utility end |
.socket ⇒ Object
Connectivity options
25 26 27 |
# File 'lib/backup/configuration/database/redis.rb', line 25 def socket @socket end |