LinuxShell - Refactor backup and restore elastic search shell