prepare backend for snapshots, as requested in https://github.com/vatesfr/xo-web/issues/95 and https://github.com/vatesfr/xo-web/issues/96