How to disable automatic Backup when upgrading the confluence version (Linux)

Richi GdeA March 22, 2018

I wish to update  the version of Confluence we have on our systems. I have noticed that when I perform the upgrade in Linux, there is a backup process that is initiated. I wish to skip this process since our organization performs regular backups which would greatly reduce the upgrade procedure. Kindly let me know if it is possible to disable the backup process and if it is possible kindly let me know on how to disable the backup process when performing an upgrade. 

 

Thanks in advance for your kind assistance and cooperation. 

 

I look forward to hearing from you soon. 

5 answers

2 votes
Nic Brough -Adaptavist-
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.
March 22, 2018

Stick this in the setenv.sh or environment JAVA_OPTS with the other -D parameters before restarting the upgrade

-Dconfluence.upgrade.recovery.file.enabled=false

Vickey Palzor Lepcha
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.
March 22, 2018

New stuffs for me - thanks Nic.

0 votes
Paul Stahlke November 1, 2023

It looks like my recovery file is still being generated despite having the recovery parameter set to false in setenv.sh (Amazon Linux). Any ideas?

CATALINA_OPTS="-Dconfluence.upgrade.recovery.file.enabled=false ${CATALINA_OPTS}"

Waiting over an hour so far on this step...

2023-11-01 20:05:49,515 INFO [Catalina-utility-1] [confluence.upgrade.impl.DefaultUpgradeManager] beforeUpgrade Generating pre-upgrade recovery file...
2023-11-01 20:05:49,536 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] begin Starting
2023-11-01 20:05:49,540 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Starting DATABASE_INFORMATION
2023-11-01 20:05:49,545 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Finishing DATABASE_INFORMATION
2023-11-01 20:05:49,545 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Starting TABLE_DEFINITION
2023-11-01 20:05:51,329 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Finishing TABLE_DEFINITION
2023-11-01 20:05:51,329 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] totalNumberOfTables Total number of tables: 432
2023-11-01 20:05:51,329 INFO [Catalina-utility-1] [confluence.upgrade.recovery.ConfluenceProgressMonitor] logTask Starting TABLES_DATA
-bash-4.2$
0 votes
Richi GdeA March 23, 2018

We have way to know what is going on behind the process ? In this case we can follow the process better and if its working well.

Nic Brough -Adaptavist-
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.
March 23, 2018

It is telling you what it is doing.  "Extracting files" means it is unpacking the distribution.  You'll find it moves on to starting the system up and then upgrading data and so on.  With messages on screen to tell you.

0 votes
Richi GdeA March 23, 2018

My problem is when upgrade process do the 'Extracting Files'. It takes a lot of time in this step...

Thank's.

extracting_files.JPG

Nic Brough -Adaptavist-
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.
March 23, 2018

This will take a while, yes.

0 votes
Vickey Palzor Lepcha
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.
March 22, 2018

Ricard - it does prompt you if you wish to take a backup or not, doesn't it ? You can select no I guess. :-)

Kenny Horan February 28, 2019

There's no prompt in unattended upgrades.  When your home directory is many gigabytes the backup takes quite a while.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events