Modules
Sign in
Get Help

What is the best way to backup our vCenter?

SUMMARY

We'll explain the best way to backup our vCenter versions 5.5, 6.0, 6.5, or 6.7.

ISSUE

Question: What is the best way to backup our vCenter?

Following is a list of problems that may occur when the vCenter is being backed up virtually: 

  • A message in vSphere that it has lost connectivity.
  • The post-backup process is encountering a storage error.
  • If using UB Virtual Appliance, the UB may experience a loss of communication with the Hypervisor/vCenter.
  • If using UB Virtual Appliance, the UB may hang.
  • The Guest VMs that was being backed up, may encounter a locked snapshot that will restrict access to the virtual machine
  • You cannot restore vCenter backups even though the incremental was successful.

RESOLUTION

Always add the ESXi hosts and the vCenter to your Unitrends appliance. This helps streamline communications and helps later on when an unexpected vCenter error occurs and you need to perform recovery operations.  When performing a virtual backup of vCenter, perform it as a Full backup only. For specifics based on vCenter release versions and best practice, see your options below:

 

For All vCenter Versions
The safest method is to use vCenter's best practice for backing up by shutting down the postgres database, and running a process backups up the vCenter profiles and places it in a location of your choice. This is especially important for VMs older then 6.0.

vCenter 5.5 and older
It is recommended that you perform VMware's recommend best practice of stopping the database first and then performing the manual backup. Full instructions are found in VMware KB 2034505. You can perform the virtual full backup while the database is shut down or the vCenter is powered off.

Virtual Backups are not supported. You must use VMware's database export best practices and provide that to Unitrends for collection in another VM or as a Client Agent FLR. Undesired results can occur if you backup these older vCenter VMs when the database is still running.


vCenter 6.0
You can perform a virtual backup of the vCenter by running an OnDemand Full only after confirming that there are no backups occuring, and no snapshots or vMotion in progress. You should also perform the work indicated in VMware's document "Back up and restore vCenter Server Appliance/vCenter Server 6.0 vPostgres database".

Warning: VMware only supports the virtual protection of vCenter 6.0+ using FULL BACKUPS. Incremental forever backup, though generally recommended for all common VMs, are not supported for vCenter itself. This is a VMware limitation, not a Unitrends limitation. Further, such backups should only be done MANUALLY as it is critical that other VMware operations managed by vCenter including other backups, snapshots, consolidations, migrations, and more not be happening during this operation. If you have been performing incremental or differential backups of a vCenter virtual appliance recovery may result in corruption of the vCenter database. See https://kb.vmware.com/s/article/2091961 for more information.


vCenter 6.5 and Above
You can choose any of the options above, including their new backup utility inside vCenter through the vCenter Server Appliance Management Interface. We recommend more than one for maximum protection.

 

 

CAUSE

vCenter uses a high performance database called PostgreSQL which stores most of the database and changes in RAM. It is not virtualization aware and does not handle the snapshot request like a Windows computer can. When VMware performs the snapshot stun, data in RAM is at risk for loss affecting current snapshots or vmotion processes.

Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section