. . . . .
A P P E N D I X A
Metadata and Database Backup
MAXPRO NVR 3.1 Operator’s Guide
229
set INSTANCENAME=%%b
)
call:trimSpaces INSTANCENAME
for /f "tokens=2* skip=1" %%a in ('reg query %DatabaseKey% /v %value2%') do (
set MACHINENAME=%%b
)
call:trimSpaces MACHINENAME
for /f "tokens=2* skip=1" %%a in ('reg query %ServerKey% /v %value%') do (
set NVRSERVER=%%b
)
call:trimSpaces NVRSERVER
for /f "tokens=2* skip=1" %%a in ('reg query %MetaKey% /v %value3%') do (
set MetaPath=%%b
)
call:trimSpaces MetaPath
set METADATADIR=%BackupMetaDataDrive%\Trinity_Backup\REIPEngineMetaData
set
MetadataBackupFolder=%BackupMetaDataDrive%\Trinity_Backup\REIPEngineMetaDat
aBackUp
set DatabaseFolder=%BackupDBDrive%\Trinity_Backup\Database
echo %METADATADIR%
echo %DatabaseFolder%
set backupcmd=xcopy /s /c /d /e /h /i /r /k /y
Date /t >> %CURRENT_PATH%Bkp_Log.txt
time /t >> %CURRENT_PATH%Bkp_Log.txt
echo ********************************************************************* >>
%CURRENT_PATH%Bkp_Log.txt
echo Backing up MAXPRONVR Metadata Directory...
echo Backing up MAXPRONVR Metadata Directory... >>
%CURRENT_PATH%Bkp_Log.txt
echo ********************************************************************* >>
%CURRENT_PATH%Bkp_Log.txt
%backupcmd% "%MetaPath%\REIPEngineMetaData" "%METADATADIR%" >>
%CURRENT_PATH%Bkp_Log.txt
%backupcmd% "%MetaPath%\REIPEngineMetaDataBackup"
"%MetadataBackupFolder%" >> %CURRENT_PATH%Bkp_Log.txt
echo ********************************************************************* >>
%CURRENT_PATH%Bkp_Log.txt
echo Backing up Trinity Database...
echo Backing up Trinity Database... >> %CURRENT_PATH%Bkp_Log.txt
echo ********************************************************************* >>
%CURRENT_PATH%Bkp_Log.txt
mkdir %DatabaseFolder%
set DATESTAMP=%DATE:~-
4%_%DATE:~7,2%_%DATE:~4,2%__%time:~0,2%_%time:~3,2%_%time:~6,2%
Содержание MAXPRO
Страница 1: ...Document 800 16422V1 Rev E 8 2014 MAXPRO NVR 3 1 Operator s Guide ...
Страница 2: ...This page is intentionally left blank ...
Страница 4: ...This page is intentionally left blank ...
Страница 15: ...Index 249 ...
Страница 16: ...This page is Intentionally left blank ...
Страница 20: ...This page is Intentionally left blank ...
Страница 36: ...M A X P R O N V R W I Z A R D 36 MAXPRO NVR 3 1 Operator s Guide 1 This page is intentionally left blank ...
Страница 145: ... M O N I T O R I N G A S I T E Video Control MAXPRO NVR 3 1 Operator s Guide 145 Figure 5 10 PTZ Panel Bar ...
Страница 166: ...M O N I T O R I N G A S I T E Alarms 166 MAXPRO NVR 3 1 Operator s Guide 5 This page is intentionally left blank ...
Страница 254: ...I N D E X 254 MAXPRO NVR 3 1 Operator s Guide This page is intentionally left blank ...
Страница 255: ......