Back Up The Inventory Service Database On Linux; Restore An Inventory Service Database Backup On Linux - VMware VS4-ENT-PL-A - vSphere Enterprise Plus Setup Manual

Setup guide
Table of Contents

Advertisement

Prerequisites
Consult your database administrator about backing up and restoring databases.
n
Verify that you have system administrator privileges to perform backup or restore operations.
n
Procedure
1
On the destination machine, stop the Inventory Service.
a
From the Windows Administrative Tools control panel, select Services.
b
Right-click VMware vCenter Inventory Service and select Stop.
The Status changes from Started to blank.
2
On the destination machine, open the command prompt in the vCenter Server and change the directory
to
vCenter Server install location\Infrastructure\Inventory Service\scripts
3
Run the following command at the command prompt to restore the Inventory Service database.
restore -backup backup_file_name
When the restore operation finishes, the message
appears.

Back Up the Inventory Service Database on Linux

You should back up the Inventory Service database as part of your regular vCenter Server database
administration.
To move the Inventory Service database to a different host machine, back up the database on the source
machine and restore the database on the destination machine.
Prerequisites
Consult your database administrator about backing up and restoring databases.
n
Verify that you have system administrator privileges to perform backup or restore operations.
n
Procedure
1
On the source machine, open a console and run the
to stop the Inventory Service before you restore the Inventory Service database.
2
On the source machine, open a command prompt in the vCenter Server and change the directory
to
/usr/lib/vmware-vpx/inventoryservice/scripts/
3
Run the following command to back up the Inventory Service database.
./backup.sh -file backup_file_name
When the backup operation finishes, the message
What to do next
See

"Restore an Inventory Service Database Backup on Linux,"

Restore an Inventory Service Database Backup on Linux
You can restore a backup of your Inventory Service database for disaster recovery, after a vCenter Server
upgrade, or to move the database to a new machine.
The machine that you back up the database from is the source machine. The machine that you restore the
database to is the destination machine.
VMware, Inc.
Chapter 5 After You Install vCenter Server
The Restore completed successfully message
service vmware-inventory service stop
.
Backup completed successfully
on page 119.
.
command
appears.
119

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vsphere 5.5

Table of Contents