Solutions
...
Litmus Production Record Datab...
Interacting with Litmus Produc...
Restore production record data
6min
use cases users can restore a production record data for example on a new server or after a factory reset this does require the corresponding data model if the data model was purged as well or it is a new server, the data model needs to be restored prior on how to restore a data model please follow the instructions here restore a data model configuration docid\ czrdzd2y df 95eeaf6a8 user can do this either by using applications such as microsoft sql server management studio mssql cli this can also be used for building custom solutions based on applications which allow for an odbc connection such as excel c# net python method execute stored procedure prorec misc processdata read backup input variables variable name datatype description example @backupfile nvarchar(100) the complete path and filename of the production record data backup file mandatory! can not be null or empty windows example d \mssql\data\ le prorec prorec backup tooling shop status 2023 03 23 15 50 30 bak linux example /var/opt/mssql/data/ le prorec prorec backup tooling shop status 2023 03 23 15 50 30 bak how to use to restore production record data, call the stored procedure prorec misc processdata read backup using the t sql exec or execute keyword and provide the input variables below is an example using t sql in sql server management studio execute \[le productionrecord] \[dbo] \[ prorec misc processdata read backup ] @backupfile = n' d \mssql\data\le prorec prorec backup tooling shop status 2023 03 23 15 50 30 bak '; if an output window does exist, the progress can be observed result the stored procedure will verify that the provided values are correct and then restore the dat model configuration the result can be read back from the log table prorec misc log below is an example using t sql in sql server management studio select top (100) \[logid] ,\[logtype] ,\[logprocedure] ,\[logentry] ,\[logtime] from \[le productionrecord] \[dbo] \[prorec misc log] where \[logprocedure] = ' prorec misc processdata read backup ' order by logid desc; with the result returned