Jump to content
We've recently updated our Privacy Statement, available here ×

Getting error when taking backup of jasperserver database?


aamitt06
Go to solution Solved by aamitt06,

Recommended Posts

Running command pg_dump --username=postgres --host=127.0.0.1 --port=5433 jasperserver > jasperdb.sql

getting error

pg_dump:column -1 out of range 0..21

pg_dumo:column -1 out of range 0..21

pg_dump: cannot duplicate null pointer.

 

I have used bundled jasperserver database.

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution

Well I have resolved the issue initially what I was doing is using the command

root@ubuntu:pg_dump --username=postgres --host=127.0.0.1 --port=5433 jasperserver > /home/user/JS_55_Backup.sql

the problem with it was that  there was another pg_dump on linux server which was of higher version and bundled postgresql of JasperServer uses 9.0.4 postgresql , to resolve this issue I gave the path of pg_dump inside jasperserver i.e

root@ubuntu:~#  /opt/jasperreports-server-cp-5.5.0/postgresql/bin/pg_dump --username=postgresql --host-127.0.0.1 --port=5433 jasperserver > /home/user/JS_55_Backup.sql

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...