restore config and uploads