Honeywell MAXPRO Operator's Manual page 228

Nvr 3.1
Hide thumbs Also See for MAXPRO:
Table of Contents

Advertisement

A P P E N D I X A
A
Metadata and Database Backup
Note:
228
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 (
MAXPRO NVR 3.1 Operator's Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents