Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Clone existing confluence to new VM

Software Licenses Virtamed September 21, 2018

Hi People,

 

we are running a productive instance of Confluence (among others) and would need a clone of that instance to test upgrading, installing new plugins etc.

 

The database is in the VM itself.

What I would do is cloning the VM, changing IP and machine specific settings in /var/atlassian/application-data/confluence.cfg.xml

Anything else to do there?

 

Best regards

David

1 answer

0 votes
Pete Singleton
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.
September 21, 2018

We do this quite regularly, onto a new VM:

  1. Shut down production instance
  2. Take database export (we use Oracle)
  3. Take backup (using tar) of the Confluence filesystem and tomcat instance
  4. Start Prod instance
  5. Import database into new schema 
  6. Copy tar of filesystem to new VM and unzip
  7. Update confluence.cfg.xml to reflect new database schema name
  8. Update tomcat server.xml to reflect new VM host/URL
  9. Start test instance
  10. Apply development licence

You only need to copy the Tomcat instance the first time you do this.  One subsequent copies you only need to do the Jira home directory and database.

Software Licenses Virtamed September 24, 2018

Thanks for the reply!

Now what I would like to do is having a 1:1 clone for the start. 

Can't I just clone the virtual machine with Confluence on it and then adapt some setting like IPs. trial license etc?

Like Lionel Seaw likes this
Lionel Seaw July 29, 2019

Hi. Did you manage to solve this? having the same issue here

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events