How to use existing Database and licences on a new install

Zulkernan ahmed February 4, 2020

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
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 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

0 votes
JP _AC Bielefeld Leader_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 4, 2020

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events