Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-7084

Change backup process to stream to disk

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      We have ~1G of attachments.

      Simultaneously migrated:

      • Confluence from 2.2.5 to 2.2.9
      • the attachments from the file system to the DB
      • JVM from 256mb max to 512mb max.

      The backups now throw an OutOfMemory exception. Even if I de-select the option "Backup Attachments" Confluence still attempts to load the entire recordset into Hibernate memory, resulting in the exception.

      I understand that we can use a MySQL backup and a replica of the Confluence Home directory, however an integrated backup would be nicer for our system – and even an automated backup with attachments would be very nice to have. We have been stung in the past with using this restore process failing (since appropriate changes to the database schema are not made when you restore direct to the DB instead of using Confluence).

      I propose a change to the backup process to use a streamed-out ZIP file, or at the least not requiring full load into RAM of the entire JVM recordset (instead of doing an eager load of the db, just load one record at a time ... )

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              801b724c3ae5 Jason Koch
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: