Restoring Accidentally Deleted Content Library in VMware vCenter Server
search cancel

Restoring Accidentally Deleted Content Library in VMware vCenter Server

book

Article ID: 373699

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

This article addresses the issue of accidental content library deletions in VMware vCenter Server and provides workaround methods for restoration or rebuilding.

Cause

Content libraries can be accidentally deleted due to user error or insufficient safeguards against deletion.

Resolution

Once a content library has been deleted, there is no built-in vCenter option to undo the delete operation.

Workaround

There are three available options to address an accidentally deleted content library:

  1. Backup and Restore
    • If available, restore from a recent vCenter Server Appliance (VCSA) backup.

      Note: VCSA backups only include metadata, not actual content.

    • Use a third-party backup solution (e.g.: CommVault, Veeam) if configured to back up content libraries.

  2. Rebuilding and Syncing
    • Create a new content library
      • Navigate to Menu > Content Libraries
      • Click on "Create New Library" and follow the wizard
    • Sync with local libraries:
      • Set up new subscriptions to sync content from other local libraries
    • Manual upload:
      • Uploading any missing content (e.g.: ISOs, VM templates) manually

  3. Preventative Measures to avoid future incidents
    • Restrict permissions from content library deletion to specific users
    • Enable confirmation prompts for deletion actions

Additional Information

  • For more details on backing up and restoring vCenter Server, refer to the VMware documentation on VCSA backup and restore procedures.
  • Consult your third-party backup solution's documentation for specific instructions on backing up and restoring content libraries.
  • Instructions to re-create a Content Library