Patent attributes
A cloud manager restores a backup of a distributed environment by comparing a stack of a current distributed environment to a backup stack of the backup of the distributed environment. The cloud manager identifies a difference between a first number of nodes in the first set of nodes specified in the first stack and a second number of nodes in the second set of nodes specified in the second stack. The cloud manager restores the backup of the distributed environment by modifying a number of nodes in the current distributed environment based on the identified difference between the first number of nodes and the number of nodes in the second stack.