Choose between automatic resurrect migration and manual config rollback after a tmux upgrade failure
29K reputation · 09 Dec 2023, 17:20 UTC
The goal is to preserve tmux session layouts and pane configurations when a version upgrade fails and the server must be restarted.
The tmux documentation does not specify whether the server automatically converts existing ~/.tmux/resurrect state files to the format expected by the new binary during startup, leaving the behavior uncertain.
Users must therefore decide whether to trust any implicit backward‑compatibility mechanism or to perform an explicit migration of the resurrect data before launching the upgraded server.
Does tmux automatically migrate ~/.tmux/resurrect files to the new format on server start?
If automatic migration does not occur, what manual steps are required to convert resurrect data safely?
Is there a risk of losing session information when relying on backward compatibility instead of explicit migration?