Add link to how-to restore to a previously saved environment

This commit is contained in:
alfredbez
2020-01-10 15:21:25 +01:00
committed by Alfred Bez
parent 905abba3c3
commit afcddf8b9e
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,13 @@
# Restoring previously saved environment
None of the previous saves are deleted (unless you explicitly do that). All save
files are kept in `~/.tmux/resurrect/` directory.<br/>
Here are the steps to restore to a previous point in time:
- make sure you start this with a "fresh" tmux instance
- `$ cd ~/.tmux/resurrect/`
- locate the save file you'd like to use for restore (file names have a timestamp)
- symlink the `last` file to the desired save file: `$ ln -sf <file_name> last`
- do a restore with `tmux-resurrect` key: `prefix + Ctrl-r`
You should now be restored to the time when `<file_name>` save happened.