Host "evacuate"


i’ve seen theres a new function “evacuate” available on Hosts.

What exactly does it do ?

Can’t find anything about it in the docs.

Deactivates the host and deletes all non-infrastructure containers on it.

1 Like

Does this have a corresponding API call or is it orchestrating existing API calls under the covers?

It’s an action; “View in API” on a resource will show you these sorts of things…

Sorry, I checked the API before posting but was looking at containers instead of hosts. Thanks for the reply.

hey @vincent is there a way that one can backup the existing stacks?

Evacuate doesn’t remove stacks or services, only the container instances of them running on the host.

Nice, thank you very much sir!