5.2

Table Of Contents
Backup-
YearMonthDayCount
-
vCenter Server Name_Domain Name
.svi
For example: Backup-20090304000010-foobar_test_org.svi
Familiarize yourself with the SviConfig restoredata parameters:
n
DsnName - The DSN that is used to connect to the database. The DsnName parameter is mandatory and
cannot be an empty string.
n
Username - The user name that is used to connect to the database. If this parameter is not specified, Windows
authentication is used.
n
Password - The password for the user that connects to the database. If this parameter is not specified and
Windows authentication is not used, you are prompted to enter the password later.
n
BackupFilePath - The path to the View Composer backup file.
The DsnName and BackupFilePath parameters are required and cannot be empty strings. The Username and
Password parameters are optional.
Procedure
1 Copy the View Composer backup files from the View Connection Server computer to a location that is
accessible from the computer where the View Composer service is installed.
2 On the computer where View Composer is installed, stop the VMware View Composer service.
3 Open a Windows command prompt and navigate to the SviConfig executable file.
The file is located with the View Composer application.
C:\Program Files\VMware\VMware View Composer\sviconfig.exe
4 Run the SviConfig restoredata command.
sviconfig -operation=restoredata
-DsnName=
target_database_source_name_(DSN)
-Username=
database_administrator_username
-Password=
database_administrator_password
-BackupFilePath=
path_to_View_Composer_backup_file
For example:
sviconfig -operation=restoredata -dsnname=LinkedClone
-username=Admin -password=Pass
-backupfilepath="C:\Program Files\VMware\VMware View
Composer\Backup-20090304000010-foobar_test_org.SVI"
5 Start the VMware View Composer service.
What to do next
For output result codes for the SviConfig restoredata command, see “Result Codes for Restoring the View
Composer Database,” on page 356.
Result Codes for Restoring the View Composer Database
When you restore a View Composer database, the SviConfig restoredata command displays a result code.
Table 15-2. Restoredata Result Codes
Code Description
0 The operation ended successfully.
1 The supplied DSN could not be found.
VMware Horizon View Administration
356 VMware, Inc.