backup script for redis, update script for elasticsearch