WIP: scalable snapshot/restore