Class | Backup::Database::Redis |
In: |
lib/backup/database/redis.rb
|
Parent: | Base |
additional_options | [RW] | Additional "redis-cli" options |
host | [RW] | Connectivity options |
invoke_save | [RW] | 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 | [RW] | Name of and path to the database that needs to get dumped |
password | [RW] | Credentials for the specified database |
path | [RW] | Name of and path to the database that needs to get dumped |
port | [RW] | Connectivity options |
redis_cli_utility | [RW] | Path to the redis-cli utility (optional) |
socket | [RW] | Connectivity options |
Performs the Redis backup by using the ‘cp’ unix utility to copy the persisted Redis dump file to the Backup archive. Additionally, when ‘invoke_save’ is set to true, it‘ll tell the Redis server to persist the current state to the dump file before copying the dump to get the most recent updates in to the backup