This feature is experimental. Do not rely on this in production!
The Wave server logs all content changes to
stderr. The changes are written in a format that can be read back in. This means that you can replay the log from beginning to end to recover the server's state (content, pages, everything). The log is, literally, a change log.
To capture the log, redirect
stderr to a file when you launch the server:
To recover state, feed the log file back in the next time you launch the server:
To recover state and continue capturing the log, use:
If you end up with a big log file, you can compact it like this: