|
|
You must consider the following before restoring a database:
• Only SQL Server Administrators and Modeler System Administrators can perform this task.
• 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 2019 database to SQL Server 2022, but you cannot restore an SQL Server 2022 version database in to SQL Server 2019.
• If you are using a remote machine to create a backup through ScfUtils, you should specify a UNC path for the backup file location. Local paths are relative to the PTC Modeler server, and not the remote machine.
• When restoring a database, if the dbo user-linked login does not exist in the SQL Server Instance, then the user restoring the database becomes the dbo user of the database.
|
ScfUtils -restoredb Enterprise "<instance-name>" "<backup-file>"
ScfUtils -restoredb Enterprise "Server1@MODELER" "C:\temp\ModelsDB.bak"