|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > Database > RestoreDatabaseRange |
available from build: 20050420 |
It allows to import a large data set.
It has to be used together with the Briefcase technology in it's modality for zipping/unzipping files only.
call DBWShell("RestoreDatabaseRange BackupFilePath uidMin uidMax")
BackupFilePath |
the written backup file |
|---|---|
uidMin |
the minimum UNIQUE_ID value allowed for the local company |
uidMax |
the maximum UNIQUE_ID value allowed for the local company |
Disconnected Database Replication Model
sub main()
DBWInit(TRUE)
backupFilePath = replace("C:\FromMechWorksToExtern1.BKP"," ","|")
' Extern1 COMPANY unique id range
uidMin = 0
uidMax = 100000000
DBWShell("RestoreDatabaseRange " & backupFilePath & " " & uidMin & " " & uidMax )
end sub