Skip to content

Some utilities that attempt to make Unify SQLBase more managable

Notifications You must be signed in to change notification settings

zylon-internet/sqlbase-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

SQLBase utils

Minimal readme for now

Why? 
sqllxtlk has a horrible CLI and SQLBase doesn't support backing up to a pipe

How? 
Put your path to SQLBase in the SQLBASE environment variable.
SQLBASE library also uses SQLBASE to look for the sql.ini.

Compile with:

# mkdir bin
# export SQLBASE=/opt/Unify/SQLBase
# gcc -o bin/sqlbunl src/sqlbunl.c -I${SQLBASE}/include -L${SQLBASE}/lib -lsqllxm -lpthread -ldl
# gcc -o bin/sqlbdbn src/sqlbdbn.c -I${SQLBASE}/include -L${SQLBASE}/lib -lsqllxm -lpthread -ldl

Use with bacula:

# scripts/pipe-sqlbase-db
bpipe:/SQLBASE/DB1.sql:/usr/local/bin/sqlbunl DB1:
bpipe:/SQLBASE/DB2.sql:/usr/local/bin/sqlbunl DB2:
bpipe:/SQLBASE/DB3.sql:/usr/local/bin/sqlbunl DB3:

Add it like 'Plugin = "\\|/etc/bacula/scripts/bpipe-sqlbase-db"' in your FileSet.

About

Some utilities that attempt to make Unify SQLBase more managable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published