restore media directory