Process Hibernation

From MemCP
Jump to navigation Jump to search

MemCP is a In-Memory database. In case you use the memory engine, there is no data stored on disk.

criu is an OpenSource project to hibernate processes on linux on disk and restore them later (see

You can hibernate the memcp process with

sudo criu dump -t [PID] -j -D [DUMP_DIRECTORY]

And reactivate the process with:

sudo criu restore -j -D [DUMP_DIRECTORY]