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
- Quit dsh so it is not holding a session lock. UndoHaven refuses to restore while that lock is held.
- Run undohaven list and pick a snapshot that was stored off the wiped disk, or one you already copied to another machine.
- 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.