title: Backing up of Terraform statefile
body: <p>I usually run all my Terraform scripts through Bastion server and all my code including the tf statefile resides on the same server. There happened this incident where my machine accidentally went down (hard reboot) and somehow the root filesystem got corrupted. <strong>Now my statefile is gone</strong> but my resources still exist and are running. I don't want to again run <code>terraform apply</code> to recreate the whole environment with a downtime. What's the best way to recover from this mess and what can be done so that this doesn't get repeated in future. </p>
  
  <p>I have already taken a look at <code>terraform refresh</code> and <code>terraform import</code>. But are there any better ways to do this ? </p>