Administration

Table Of Contents
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 VMware Horizon View Composer service is installed.
2 On the computer where View Composer is installed, stop the VMware Horizon 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. The default path is C:\Program Files
(x86)\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 (x86)\VMware\VMware View
Composer\Backup-20090304000010-foobar_test_org.SVI"
5 Start the VMware Horizon 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.
Result Codes for Restoring the View Composer Database
When you restore a View Composer database, the SviConfig restoredata command displays a result
code.
Table 82. Restoredata Result Codes
Code Description
0 The operation ended successfully.
1 The supplied DSN could not be found.
2 Invalid database administrator credentials were provided.
3 The driver for the database is not supported.
View Administration
VMware, Inc. 151