MDL-46455 logstore_*: added restore support