zzz_evobackup: add template for multiple redis instances

This commit is contained in:
Jérémy Lecour 2020-07-16 22:16:34 +02:00
parent 0ad1e8d342
commit 251d0c14d6
1 changed files with 7 additions and 0 deletions

View File

@ -229,7 +229,14 @@ if [ "${LOCAL_TASKS}" = "1" ]; then
## Redis
## example with copy .rdb file
## for the default instance :
# cp /var/lib/redis/dump.rdb ${LOCAL_BACKUP_DIR}/
## for multiple instances :
# for instance in $(ls -d /var/lib/redis-*); do
# name=$(basename $instance)
# mkdir -p ${LOCAL_BACKUP_DIR}/${name}
# cp -a ${instance}/dump.rdb ${LOCAL_BACKUP_DIR}/${name}
# done
## ElasticSearch