save/restore direct segments
save/restore routed segments
some error handling
snapshot stored data behavior
cache encodings
Merge branch 'saverestore'