Add a `restore` command to pgserver.