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
Merge pull request #749 from jsteffen/master

Make DB restoration from storage folder more robust