state backup

A saved copy of the state from before a change, kept so you can recover if the state is damaged or a repair goes wrong.

In more detail

Local state writes terraform.tfstate.backup automatically; remote backends rely on versioned storage instead. Always take a copy before any manual state repair or migration.

Related terms

Taught in

References