resend_db
This command reads messages from a temporary, and optionally encrypted, database and sends them forward.
- The IDE and Global Monitor use
resend_db
when using a database. resend
is used for file-based SMAT.
-E
and -D
are for the database option. The other options are the same as resend
.
Note: "Base site" is the site on which
the newly created site is based. For example, for
hcisiteinit.pl
this is the site name passed with the -c
option, or siteProto without the -c
option.
For hcirootcopy.pl
, it refers to individual sites in the
site list that are passed by the -s
or -l
options. Usage:
resend_db ib_pre_tps|ib_post_tps|ob_pre_tps|ob_post_tps filename
[-e msg_encoding] [-E [0|1]] [-D [sqlite]]
- Option:
-E
Scope:
+ hcisiteinit.pl
+ hcicreatesite.pl
+ hcirootcopy.pl
+ hcirsiterestore.pl
* resend_db
Description: SMAT is encrypted (=1), or not encrypted(=0).
- If only
-E
is provided, without the values 0 or 1, then assume encrypted (=1). - Encryption key is read from
$HCISITE
. -
+
indicates that values are stored in SMAT encrypted configuration in siteInfo of new site essentially overriding the value in base site. -
*
Indicates that input files are encrypted or not. Default is 0.
- If only
- Option :
-D
Scope:
+ hcisiteinit.pl
+ hcicreatesite.pl
+ hcirootcopy.pl
+ hcirsiterestore.pl
* resend_db
Description: The driver is used to read/write SMAT.
Acceptable values are:
-
file
: SMAT is stored in.msg
and.idx
files. -
sqlite
: SMAT is stored in sqlite database with the.smatdb
file extension. - If only
-D
is provided without the value, then assume "sqlite". -
-E=1
and-D=file
are invalid combinations. +
indicates that values are stored in SMAT driver configuration in siteInfo of the new site. This essentially overrides the value in base site.-
*
indicates that driver to use for input files. Forresend_db
,-D
is implied.
-