A legacy commandline tool for loading and saving databases of the ACPLT/OV runtime environment via the ACPLT/KS protocol
- cmake
- C++-Compiler
- bison
- flex
- RPC library (if not included in libc)
BUILD_DYNAMIC switch between static and dynamic linking builds (default: static)
RPC_LIB_NAME name of separate RPC library (e.g. tirpc)
RPC_INCLUDE_PATH path to header files of a separate RPC library
Get a recursive clone of this repository:
git clone --recursive https://github.com/acplt/dbcommands.gitCreate a build folder in repository root and generate build files:
cd dbcommands
mdkir build && cd build
cmake ..Optionally use ccmake or arguments in cmake call to set build options.
Finally, build executable fb_dbcommands:
make -j4 fb_dbcommandsUsage: fb_dbcommands [arguments]
The following optional arguments are available:
-s HOST[/SERVER] Set host and server name (default 'localhost/fb_database')
-f NAME Set filename NAME.fbd (default HOST_SERVER.fbd)
-t TICKET Set AV-ticket
-save Save database
-clean Clean database
-load Load database
-reload Save, clean and load database
-upload LIB_PATH upload library 'LIB_PATH'
-uploadPwd PASSWORD password for replace library
-all Save, clean or load all fb-server on host HOST (option "-s HOST")
-nolog Do not protocol file
-h OR --help Display this help message and exit
load the database save into the MANAGER server on localhost:
fb_dbcommands -load -s localhost/MANAGER -f <fbd-file>