This document explains how to back up and restore VMware vCenter

Prerequisites

Before you can backup and restore your VMware vCenter, make sure your environment includes these prerequisites:

  • A supervisor installed on the Avamar environment
  • APIs installed and configured on the Avamar environment
  • An Avamar environment is declared on your dashboard
  • vSphere software version 5.x or later is installed

Log in to https://dashboard.rg-supervision.com:

mceclip0.png

Declaring the vCenter

Before you can back up and restore your VMware vCenter, you must first declare your vCenter:

  • Right click on the desired node, click on New hypervisor and then change its name.

    Sans_titre_15.jpg


  • Go to Configuration > Hypervisor and enter the connection information that will allow the monitoring agent installed on the Avamar to interact with the vCenter Agent, as shown below:


  • vCenter username :  Type the vCenter username
  • vCenter password :  Type the vCenter password
  • URL :  Type the URL of the connection address
  • Select your backup environment:  From the dropdown menu, select the Avamar environment that will drive and host the backups.
  • Click Save to save the configuration

Creating and installing an Avamar proxy

The Avamar proxy is a virtual machine (VM) created and managed by Avamar that links your Avamar environment to the vCenter

Minimum system requirements for a proxy VM:

  • 4 vCPU
  • 4GB of memory
  • 21 GB of disk space

Installation process

  1. From your dashboard (links are located on the dashboard, on the vCenter configuration page) or your Avamar environment, download the OVA integrating the proxy.
  2. Import the OVA into your vCenter
  3. Follow the import wizard and complete the network configuration
  4. On your local DNS server, create an entry of type A for the proxy and associate it with an IP address
  5. After you start the proxy VM, register it on your Avamar environment. The Avamar is automatically filled in on your supervision dashboard:
    • You are logged in from the vCenter console: Follow the on-screen instructions for registration
    • You are logged in SSH (Identiifier: root / Password: avam @ r), type the command ** / etc / init.d / initproxyappliance start ** for registration
  6. Follow the on-screen instructions for registration
  7.  Log in to with these credentials:
    • (Identifier: root / Password: avam @ r)
    • type the command / etc / init.d / initproxyappliance start  for registration

Creating the backup policy

Now that the vCenter and the Avamar proxy are declared, we will create a backup policy.

  1. Select the vCenter agent, then click RG Backup and Manage
  2. The Datasets screen is displayed

  • Search:  Search in the list of available VMs
  • vCenter Virtual Machines: Select the VM (s) to backup
  • Name: Select or deselect some VMDK virtual disks from the VM

    Click Next to continue
  • The following screen appears, in which you configure the different elements of the backup set schedule:
    mceclip0.png
  1. Select a backup frequency: Daily, Weekly, Monthly, or On demand.  If you selected Daily, continue with the next step.  If you selected Weekly or Monthly, see “Weekly and Monthly Backups” below for more details.
  2. Choose the time that the backup will occur each day:

    05.jpg
  3. An estimation of the size of the backup is displayed.
  4. Click Next.

Weekly and Monthly Backups

If you selected the Weekly frequency, you are prompted to select a day on which to run the backup

WEEKMODE.png 

If you selected the Monthly frequency, you are prompted to select Day of month based or Day of week based

  • If you selected Day of month based, select a day of the month on which to run the backup:
     
  • DAYMONTH.png      
  • If you selected Day of week based, From the dropdown menu, select the appropriate descriptor for the week, then click the day of the week on which to run the backup:

    WEEKDAY.png
     
  • WEEK.png
     
  • The following screen appears, in which you set the backup retention parameters:
  •  

    mceclip3.png

     

  • Retention period:  Select, from the dropdown menus, the number of days, weeks, months,  or years for which to store the backup data
  • Advanced retention :  Turn Advanced retention On or Off.  If On, select retention periods for the specified backups for the amount of time specified from the dropdown menus

    Note: when you turn the advanced retention option On, the standard Retention Period menu is grayed out but is still valid

  • Keep at least N backups: Turn this On to keep a specific number of backups even after the chosen retention period has ended.
  • Click Next to continue

    1. Select the Storage location from the dropdown menu and click Next:

    ENVIRONMENT.png


    2. The Deployment screen appears, displaying a summary of the configuration details you have selected for the backup set:

    SUMMARY.png

Restoration

Restoring a complete VM

  1. Select the vCenter agent, then click RG Backup and Manage
  2. To access the restoration menu, click on the green Actions button and then click Restore
  3. The following screen appears
     


  • Select the VM to restore : Click the button to select which VM(s) to restore
  • Select restore type: Select Image to restore the complete VM.
  • Select the backup : Select the image to be recovered from the dropdown list.
  • Notification emails: Type one or more email addresses that will be notified of the success or failure of the restoration.
  • Restore location: You can restore to the original (which will overwrite the VM if it is still present on your infrastructure) or as a new VM.

If you select Restore everything to a new VM, complete the subsequently displayed parameters:
 



  • Name: The name of the VM that will be restored.
  • Select Datacenter : Select the VMware Datacenter to which the VM will be restored.
  • Select datastores location : Select the datastore location that you want to restore to the new VM
  • vCenter folder path : Type the name of the vCenter folder to which the VM will be restored.
  • Select Host :  Select the ESX host to which the VM will be restored.

Restoring a file

  1. Select the vCenter agent, then click RG Backup and Manage
  2. To access the restoration menu, click on the green Actions button and then click Restore.
  3. The following screen appears:
     

 

  • Select the VM to restore : Click the button to select which VM(s) to restore.
  • Select restore type: Select File to restore a file.
  • Select the backup : Select the image to be recovered from the dropdown list.
  • Notification emails: Type one or more email addresses that will be notified of the success or failure of the restoration.
  • Browser: Select the files and/or folders to be restored, as shown below

    mceclip1.png

    If you select Restore everything to a new VM, complete the subsequently displayed parameters:

    mceclip2.png

  • Path to restore: Fill in the local path in the VM to which the files will be restored
  • Select the VM restore location : Select the destination VM to which the files will be restored
  • VM Admin credentials: Enter the guest operating system user name and password so that your backup infrastructure can access the guest file system