UndoHaven · Pricing · Docs · Plugins · Log gate · Encryption · What we see · Log in · Account · 中文

Your agent deleted your home directory: what you can still recover

undohaven restore --to SNAPSHOT_ID --scope all. Stop the agent and do not keep writing to the wiped disk. A snapshot that lived on that same disk is probably gone with it. If an encrypted copy exists elsewhere, quit dsh and run undohaven restore --to SNAPSHOT_ID --scope all in a new directory.

Steps

  1. Quit dsh so it is not holding a session lock. UndoHaven refuses to restore while that lock is held.
  2. Run undohaven list and pick a snapshot that was stored off the wiped disk, or one you already copied to another machine.
  3. undohaven restore --to SNAPSHOT_ID --scope all writes the saved dsh home back. It takes a safety snapshot first.

Without UndoHaven

Without UndoHaven, recovery is whatever the disk still has: another backup, or files the agent did not delete. There is no verified dsh command that reconstructs a wiped home from the vendor.

Related