Fork me on GitHub
#datomic
<
2015-08-15
>
gerrit10:08:46

hi! I am having problems with running bin/datomic backup-db. the storage is postgres, and the postgresql-9.3-1102-jdbc41.jar should be on the classpath (from my understanding of the shell scripts), but I still get java.sql.SQLException: No suitable driver. any ideas on what I am doing wrong?

gerrit10:08:50

the class is even loaded:

[Loaded org.postgresql.Driver from file:/var/lib/openshift/542fae5ae0b8cda9b7000ca0/app-root/data/datomic-pro-0.9.5153/lib/postgresql-9.3-1102-jdbc41.jar]

gerrit11:08:20

the script is called like this:

bin/datomic -Xmx512m -Xms512m backup-db 'datomic:sql://<DBNAME>?jdbc:postgresql://<IP>:5432?user=datomic&password=datomic' file:/var/lib/openshift/.../app-root/data/backup
the same happens with version 0.9.5206

ckarlsen17:08:01

try ..<IP>:5432/datomic?user=...