A P P E N D I X A
Metadata and Database Backup
228
MAXPRO NVR 3.1 Operator’s Guide
A
Note:
Please save the batch file (if you make any changes) in the following location:
C:\Install\BackupData\TakeNVRBackup.bat
. The following are the two new
entries in the .bat file
set
BackupDBDrive=M
:
set
BackupMetaDataDrive=C
.
By default the Backup Database (BackupDB) is stored in M drive and the
Metadata (BackupMetaData) is stored in C drive. It is recommended to choose M
and C drive for DB and Metadata backup, but you can choose your own drives
(for example: E, D, H drives) to store the backup file.
@echo off
echo *********************************************************************
echoBatch File to take MAXPRONVR Metadata and Database Backup
echo *********************************************************************
REM *********************************************************************
REM To Change the Backup Drive please change the value below
set BackupDBDrive=M:
set BackupMetaDataDrive=C:
REM *********************************************************************
set CURRENT_PATH=%~dp0
set CURRENT_PATH=%~dp0
IF NOT "%PROCESSOR_ARCHITECTURE%" == "x86" GOTO BIT64
set ServerKey="HKLM\SOFTWARE\Honeywell\MaxproNVR\TrinityFramework\Server"
set ClientKey="HKLM\SOFTWARE\Honeywell\MaxproNVR\TrinityFramework\Client"
set
DatabaseKey="HKLM\SOFTWARE\Honeywell\MaxproNVR\TrinityFramework\DatabaseD
etails"
set MetaKey="HKLM\SOFTWARE\Honeywell\MaxproNVR\TrinityFramework"
GOTO IFEND
:BIT64
set
ServerKey="HKLM\SOFTWARE\Wow6432Node\Honeywell\MaxproNVR\TrinityFramewor
k\Server"
set
ClientKey="HKLM\SOFTWARE\Wow6432Node\Honeywell\MaxproNVR\TrinityFramework
\Client"
set
DatabaseKey="HKLM\SOFTWARE\Wow6432Node\Honeywell\MaxproNVR\TrinityFrame
work\DatabaseDetails"
set
MetaKey="HKLM\SOFTWARE\Wow6432Node\Honeywell\MaxproNVR\TrinityFramework"
:IFEND
set value="InstallDir"
set value1="INSTANCENAME"
set value2="PCNAME"
set value3="MetadataPath"
for /f "tokens=2* skip=1" %%a in ('reg query %DatabaseKey% /v %value1%') do (
Summary of Contents for MAXPRO
Page 1: ...Document 800 16422V1 Rev E 8 2014 MAXPRO NVR 3 1 Operator s Guide ...
Page 2: ...This page is intentionally left blank ...
Page 4: ...This page is intentionally left blank ...
Page 15: ...Index 249 ...
Page 16: ...This page is Intentionally left blank ...
Page 20: ...This page is Intentionally left blank ...
Page 254: ...I N D E X 254 MAXPRO NVR 3 1 Operator s Guide This page is intentionally left blank ...
Page 255: ......