Restoring a database through ScfUtils (Model Explorer)
ScfUtils provides a command line interface for performing Model Explorer functions.
You can restore a database through ScfUtils.
If you have installed Modeler to the default locations, ScfUtils resides in the following location:
C:\Program Files (x86)\Windchill Modeler\Modeler\Exe\SCFUtils.exe
For information about restoring a database through Model Explorer, refer to
Restoring a database (Model Explorer).
|
The database you are restoring can be from the current version or from an older version of SQL Server. However, you cannot restore the database that is from a later version of SQL Server. For example, you can restore an SQL Server 2017 database to SQL Server 2019, but you cannot restore an SQL Server 2019 version database in to SQL Server 2017.
|
Syntax:
ScfUtils -restoredb Enterprise "<instance-name>" "<backup-file>"
Where:
• <instance-name> specifies the SQL Server instance to restore a database to.
Type the instance name in the following format: server[@instance]
• <backup-file> specifies the backup file location.
Example:
ScfUtils -restoredb Enterprise "Server1@MODELER" "C:\temp\ModelsDB.bak"