Performing object-level and container-level recovery