5.2

Table Of Contents
Table 15-2. Restoredata Result Codes
(Continued)
Code Description
2 Invalid database administrator credentials were provided.
3 The driver for the database is not supported.
4 An unexpected problem occurred and the command failed to complete.
14 Another application is using the View Composer service. Shut down the service before executing the
command.
15 A problem occurred during the restore process. Details are provided in the onscreen log output.
Export Data in View Composer Database
You can export data from your View Composer database to file.
IMPORTANT Use the SviConfig utility only if you are an experienced View Composer administrator.
Prerequisites
By
default, View Manager stores the backup files on the C: drive of the View Connection Server computer, at
C:\Programdata\VMWare\VDM\backups.
Familiarize yourself with the SviConfig exportdata parameters:
n
DsnName - The DSN that is used to connect to the database. If it is not specified, DSN name, user name and
password will be retrieved from server configuration file.
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
OutputFilePath - The path to the output file.
Procedure
1 On the computer where View Composer is installed, stop the VMware View Composer service.
2 Open a Windows command prompt and navigate to the SviConfig executable file.
The file is located with the View Composer application.
<View Composer installation directory>\sviconfig.exe
3 Run the SviConfig exportdata command.
sviconfig -operation=exportdata
-DsnName=
target_database_source_name_(DSN)
-Username=
database_administrator_username
-Password=
database_administrator_password
-OutputFilePath=
path_to_View_Composer_output_file
For example:
sviconfig -operation=exportdata -dsnname=LinkedClone
-username=Admin -password=Pass
-outputfilepath="C:\Program Files\VMware\VMware View
Composer\Export-20090304000010-foobar_test_org.SVI"
Chapter 15 Maintaining View Components
VMware, Inc. 357