confluence.atlassian.com Open in urlscan Pro
2600:9000:2337:bc00:15:77aa:5e80:93a1  Public Scan

Submitted URL: https://confluence.atlassian.com/x/ShtwPg
Effective URL: https://confluence.atlassian.com/confkb/how-to-disable-upgrade-recovery-file-generation-in-confluence-1047534410.html
Submission: On June 07 via api from CA — Scanned from CA

Form analysis 1 forms found in the DOM

<form>
  <radiogroup>
    <div class="reason-radio-box">
      <label><input type="radio" name="was-this-helpful-no-reason" value="It wasn't accurate"> It wasn't accurate</label>
    </div>
    <div class="reason-radio-box">
      <label><input type="radio" name="was-this-helpful-no-reason" value="It wasn't clear"> It wasn't clear</label>
    </div>
    <div class="reason-radio-box">
      <label><input type="radio" name="was-this-helpful-no-reason" value="It wasn't relevant"> It wasn't relevant</label>
    </div>
  </radiogroup>
</form>

Text Content

Products


CONFLUENCE SUPPORT

 * Get started
 * Documentation
 * Knowledge base
 * Resources

 * Search
 * Log in
 *  * View account
    * View requests
    * Log out

 * ...


GET STARTED


KNOWLEDGE BASE


PRODUCTS


 * JIRA SOFTWARE
   
   Project and issue tracking


 * JIRA SERVICE MANAGEMENT
   
   Service management and customer support


 * JIRA CORE
   
   Manage any business project


 * CONFLUENCE
   
   Document collaboration


 * BITBUCKET
   
   Git code management

See all


RESOURCES


 * DOCUMENTATION
   
   Usage and admin help


 * COMMUNITY
   
   Answers, support, and inspiration


 * SYSTEM STATUS
   
   Cloud services health


 * SUGGESTIONS AND BUGS
   
   Feature suggestions and bug reports


 * MARKETPLACE
   
   Product apps


 * BILLING AND LICENSING
   
   Frequently asked questions

 * Log out
 * Log in to account
 * List watched pages
 * Contact support
 * Training & Certification
 * Cloud Migration Center
 * GDPR guides
 * Enterprise services
 * Atlassian partners
 * Developers
 * User groups
 * Automation for Jira
 * Atlassian.com

 * PAGE

 * View in Confluence
 * Edit Page

 * VIEWPORT

 * Manage Viewport

 * CONFLUENCE

 * Dashboard
 * Space Directory
 * People Directory

 * Atlassian Support
 * Confluence 7.18
 * Confluence Knowledge Base
 * How to disable upgrade recovery file generation in Confluence




HOW TO DISABLE UPGRADE RECOVERY FILE GENERATION IN CONFLUENCE

RELATED CONTENT

 * Warning: Recovery file generation failed
 * Too many open files error
 * Confluence fails to start with error message "can't initalise container -
   corrupt project.cfg.xml"
 * Confluence will not start up because the build number in the Home Directory
   doesn't match the build number in the Database, after upgrade
 * Unable to add a comment to an attachment with 'required security token was
   not present' error
 * Browser Timeout When Attempting to Restore XML Backup Via Upload Method
 * de.communardo.confluence.plugins.apc addon prevents Confluence 7 from
   starting
 * Confluence fails to start up after replacing or editing web.xml file
 * Confluence does not start due to Spring Application context has not been set
 * Unable to start Confluence or enable the Usage Stats plugin due to 'Cannot
   forcefully unlock a NativeFSLock' error

STILL NEED HELP?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only. This article only applies to
Atlassian products on the server and data center platforms.




PURPOSE

By default, Confluence creates an upgrade recovery file before and after an
upgrade. This file can be used to roll back if your upgrade fails. However,
generating this file can take long time on sites that are medium sized or
larger, and can be safely turned off if you have a robust process to back up
your database and verify the backup before performing an upgrade. 

It's important to note that if you disable the upgrade recovery file, and your
upgrade fails, you will need to rely solely on your database and file system
backups to recover from the problem.  


SOLUTION

To disable the upgrade recovery file:

 1. Stop Confluence.
 2. Set the -Dconfluence.upgrade.recovery.file.enabled system property to false.
    (i.e. -Dconfluence.upgrade.recovery.file.enabled=false)
    The way you do this will depend on how you run Confluence. See Configuring
    System Properties to find out how to set system properties in your
    environment. 
 3. Restart Confluence.

If you're running Confluence in a cluster, you can make this change to each node
in turn, you do not need to stop all nodes at once.  

Remember that this property must be set before you begin the upgrade.  If you
upgrade Confluence manually, that means updating this property in the setenv.sh
 or setenv.bat  file in the install directory of the version you are upgrading
to, not just your current install directory. 

DescriptionDisable automatic upgrade recovery file generationProductConfluence



Last modified on Jan 26, 2022


Was this helpful?

Yes
No
It wasn't accurate
It wasn't clear
It wasn't relevant
Provide feedback about this article

RELATED CONTENT

 * Warning: Recovery file generation failed
 * Too many open files error
 * Confluence fails to start with error message "can't initalise container -
   corrupt project.cfg.xml"
 * Confluence will not start up because the build number in the Home Directory
   doesn't match the build number in the Database, after upgrade
 * Unable to add a comment to an attachment with 'required security token was
   not present' error
 * Browser Timeout When Attempting to Restore XML Backup Via Upload Method
 * de.communardo.confluence.plugins.apc addon prevents Confluence 7 from
   starting
 * Confluence fails to start up after replacing or editing web.xml file
 * Confluence does not start due to Spring Application context has not been set
 * Unable to start Confluence or enable the Usage Stats plugin due to 'Cannot
   forcefully unlock a NativeFSLock' error

Powered by Confluence and Scroll Viewport.
Atlassian
 * Privacy policy
 * Terms of use
 * Security
 * © 2022 Atlassian