It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use existing Database and licences on a new install

HI, 

I am installing Confluence on a new windows 2016 server. I have an install already running on an older windows server. 

how do you connect this new install to your existing DB and where can I get my licence key from to enter into the new installation.

 

Thanks

2 answers

0 votes

Hi,

the license keys can be obtained from the Atlassian Portal:

https://my.atlassian.com/products/index

Login with your Atlassian ID & select the right product. Copy the key & paste it in your Confluence installation.

Regarding the use of an existing Confluence DB for a new installation, I can only advice not to do so: All attachments to Confluence pages (Images, PDF,...) are stored on disc & not inside the database. So by just changing the database you will loose all images & attachments in existing pages.

I would proceed like this:

1. Shutdown your existing Confluence server

2. Copy the complete Confluence installation (Home & data directories) to the new server. Make sure you use the same disk/directory structure as on the exsting server.

3. Create a backup of the Confluence database

4. Restore the backup of the database using another database server and the same db name or the same database server with another db name (Your choice)

5. Edit the confluence.cfg.xml file to point your new server to the restored database

https://confluence.atlassian.com/confkb/how-to-find-confluence-s-database-connection-parameters-779172320.html

6. Startup your new server

Your new server should startup. The application log might display some errors (Server name, IP, Path,..). Set the new server name in the Confluence configuration. If the new server is running w/o issues, you can upgrade it to a newer Confluence version by using the relevant installation file & choose the upgrade option when prompted.

You might want to read

https://confluence.atlassian.com/doc/create-a-staging-environment-for-upgrading-confluence-866094180.html

before starting the upgrade or described process.

The upgrade procedure is described in detail in 

https://confluence.atlassian.com/doc/upgrading-confluence-4578.html

Best regards

JP

0 votes
Davin Studer Community Leader Feb 04, 2020

Here is the process that we use to copy our production system to our test system, which is basically the same process of moving one production system to a new production system.

https://community.atlassian.com/t5/Confluence-questions/MS-SQL-Backup-and-Restore-Procedure/qaq-p/1249291

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

4,118 views 4 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you