I want connect old postgres with data into a new confluence server

albeiro_ingenisoft
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 18, 2018

i have the following problem, already my confluence was crash on a docker image, but my information already be into another database, but when tried to connect into a existing database , confluence tell me, than he will remove my data, how can connect confluence  witouterase my old data

1 answer

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 18, 2018

To connect to a different database just edit the JDBC connection string in the existing <confluence_home>/confluence.cfg.xml. Look for something like:

 <property name="hibernate.connection.url">jdbc:postgresql://<hostname>:<port#>/<db_name></property>

If you don't find the connection URL there, try the <confluence_install>/conf/server.xml file:

 url="jdbc:postgresql://<host>:5432/<database-name>"
 

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events