aparnagl Posted February 18, 2020 Share Posted February 18, 2020 HiFollowing the link: https://community.jaspersoft.com/documentation/tibco-jasperreports-server-upgrade-guide/v71/upgrading-60-63-71-0#upgrading_562921741_1114058While backing up postgresql,1) what use should run the pg_dump command?2) Should the command be run in JS_BACKUP?3) What exact command should it be?We are getting 'permission denied' error for the following command:1) run as su user2) From /opt/JS_BACKUP3) command: pg_dump --username=postgres --host=127.0.0.1 --port=5432 jasperserver > jasperserver-cp-6.1.0_18FEB2020_1650.sql4) Ensured to run this before:sudo chown -R postgres:postgres JS_BACKUPError:bash: js-db-dump.sql: Permission deniedHow to resolve this? Link to comment Share on other sites More sharing options...
stchan Posted February 20, 2020 Share Posted February 20, 2020 . Link to comment Share on other sites More sharing options...
stchan Posted February 20, 2020 Share Posted February 20, 2020 User postgres is just fine and your command also works in my environmentProbably try to test if you can touch a file in the directory firstAlso, try below to create file to /tmp pg_dump --username=postgres --host=127.0.0.1 --port=5432 jasperserver -f /tmp/backup.sql Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now