UC-2363: HA backup/restore on different nodes

-verify if only backup or restore only is to be executed on a particular node
-if no backup commands on one node, do not add the backup: entry
-if no restore commands on one node, do not add the restore: entry