Make DB restoration from storage folder more robust

Use copy status from storage-local.json and not MASTER; skip resources where either local or global storage.json is missing