Although a .varfile with backupConfluence$Boolean=false parameter is used as an input to the installer, Confluence is backed-up during unattended upgrade. It seems that it follow the parameter specified in the existing Installation Directory.

      Steps To Reproduce

      If both varfiles (input file and existing) have backupConfluence$Boolean=false parameter, no backup of the home directory is made:

      root@intapp05-test:~# ls  -l /var/atlassian/application-data/
      total 5879000
      -rw-r-----  1 confluence confluence 1019730414 Feb 17  2014 2014_02_17-confluence-5.2.3-back.zip
      -rw-r--r--  1 root       root       1405842447 Jul 28 12:51 2014_07_28-confluence-5.3.4-back.zip
      -rw-r-----  1 confluence confluence 1099745709 Jul 28 16:15 2014_07_28-confluence-5.5.3-back.zip
      -rw-r-----  1 confluence confluence 1279102578 Nov  4 15:22 2014_11_04-confluence-5.5.3-back.zip
      -rw-r--r--  1 root       root       1215642550 Nov 21 17:27 2014_11_21-confluence-5.5.3-back.zip
      drwx------ 20 confluence confluence       4096 Nov 23 17:50 confluence
      root@intapp05-test:~# date
      Sun Nov 23 17:52:09 CET 2014
      root@intapp05-test:~# cat /opt/adnconfluence/template/config/response-upgrade.varfile
      #install4j response file for Confluence 5.5.3
      #Tue Nov 04 16:12:17 CET 2014
      executeLauncherAction$Boolean=true
      app.install.service$Boolean=true
      existingInstallationDir=/opt/atlassian/confluence
      sys.confirmedUpdateInstallationString=true
      sys.languageId=en
      backupConfluence$Boolean=false
      sys.installationDir=/opt/atlassian/confluence
      root@intapp05-test:~# cat /opt/atlassian/confluence/./.install4j/response.varfile
      #install4j response file for Confluence 5.5.3
      #Sun Nov 23 17:48:57 CET 2014
      executeLauncherAction$Boolean=true
      app.install.service$Boolean=false
      existingInstallationDir=/opt/atlassian/confluence
      sys.confirmedUpdateInstallationString=true
      sys.languageId=en
      backupConfluence$Boolean=false
      sys.installationDir=/opt/atlassian/confluence
      root@intapp05-test:~#  /opt/adnconfluence/sw/atlassian-confluence-5.5.3-x64.bin  -q  -varfile /opt/adnconfluence/template/config/response-upgrade.varfile
      Unpacking JRE ...
      Starting Installer ...
      Nov 23, 2014 5:52:27 PM java.util.prefs.FileSystemPreferences$2 run
      INFO: Created system preferences directory in java.home.
      Nov 23, 2014 5:52:29 PM com.atlassian.modzdetector.ModzDetector getModifiedFiles
      INFO: Time taken (ms) to check registry: 1081
      Nov 23, 2014 5:52:30 PM com.atlassian.modzdetector.ModzDetector getModifiedFiles
      INFO: Time taken (ms) to check registry: 650
      Shutting down Confluence...
      Checking if Confluence has been shutdown...
      Backing up the Confluence installation directory
      Deleting the previous Confluence installation directory...
      Extracting files ...
      Launching Confluence ...
      Nov 23, 2014 5:53:50 PM com.atlassian.modzdetector.HashRegistry store
      INFO: wrote 819 hashes to /opt/atlassian/confluence/install.reg
      Finishing installation ...
      root@intapp05-test:~# ls  -l /var/atlassian/application-data/
      total 5879000
      -rw-r-----  1 confluence confluence 1019730414 Feb 17  2014 2014_02_17-confluence-5.2.3-back.zip
      -rw-r--r--  1 root       root       1405842447 Jul 28 12:51 2014_07_28-confluence-5.3.4-back.zip
      -rw-r-----  1 confluence confluence 1099745709 Jul 28 16:15 2014_07_28-confluence-5.5.3-back.zip
      -rw-r-----  1 confluence confluence 1279102578 Nov  4 15:22 2014_11_04-confluence-5.5.3-back.zip
      -rw-r--r--  1 root       root       1215642550 Nov 21 17:27 2014_11_21-confluence-5.5.3-back.zip
      drwx------ 20 confluence confluence       4096 Nov 23 17:53 confluence
      

      If the varfile given as argument to the installer has backupConfluence$Boolean=false but /opt/atlassian/confluence/./.install4j/response.varfile has backupConfluence$Boolean=true then a backup of the home dir is made:

      root@intapp05-test:~# ls  -l /var/atlassian/application-data/
      total 5879000
      -rw-r-----  1 confluence confluence 1019730414 Feb 17  2014 2014_02_17-confluence-5.2.3-back.zip
      -rw-r--r--  1 root       root       1405842447 Jul 28 12:51 2014_07_28-confluence-5.3.4-back.zip
      -rw-r-----  1 confluence confluence 1099745709 Jul 28 16:15 2014_07_28-confluence-5.5.3-back.zip
      -rw-r-----  1 confluence confluence 1279102578 Nov  4 15:22 2014_11_04-confluence-5.5.3-back.zip
      -rw-r--r--  1 root       root       1215642550 Nov 21 17:27 2014_11_21-confluence-5.5.3-back.zip
      drwx------ 20 confluence confluence       4096 Nov 23 17:53 confluence
      root@intapp05-test:~# date
      Sun Nov 23 17:55:12 CET 2014
      root@intapp05-test:~# cat /opt/adnconfluence/template/config/response-upgrade.varfile#install4j response file for Confluence 5.5.3
      #Tue Nov 04 16:12:17 CET 2014
      executeLauncherAction$Boolean=true
      app.install.service$Boolean=true
      existingInstallationDir=/opt/atlassian/confluence
      sys.confirmedUpdateInstallationString=true
      sys.languageId=en
      backupConfluence$Boolean=false
      sys.installationDir=/opt/atlassian/confluence
      root@intapp05-test:~# cat /opt/atlassian/confluence/./.install4j/response.varfile#install4j response file for Confluence 5.5.3
      #Sun Nov 23 17:53:50 CET 2014
      executeLauncherAction$Boolean=true
      app.install.service$Boolean=false
      existingInstallationDir=/opt/atlassian/confluence
      sys.confirmedUpdateInstallationString=true
      sys.languageId=en
      backupConfluence$Boolean=true
      sys.installationDir=/opt/atlassian/confluence
      root@intapp05-test:~#  /opt/adnconfluence/sw/atlassian-confluence-5.5.3-x64.bin  -q  -varfile /opt/adnconfluence/template/config/response-upgrade.varfile
      Unpacking JRE ...
      Starting Installer ...
      Nov 23, 2014 5:55:53 PM java.util.prefs.FileSystemPreferences$2 run
      INFO: Created system preferences directory in java.home.
      Nov 23, 2014 5:55:54 PM com.atlassian.modzdetector.ModzDetector getModifiedFiles
      INFO: Time taken (ms) to check registry: 1076
      Nov 23, 2014 5:55:55 PM com.atlassian.modzdetector.ModzDetector getModifiedFiles
      INFO: Time taken (ms) to check registry: 625
      Shutting down Confluence...
      Checking if Confluence has been shutdown...
      Backing up the Confluence installation directory
      Backing up the Confluence home directory
      Deleting the previous Confluence installation directory...
      Extracting files ...
      Launching Confluence ...
      Nov 23, 2014 5:59:17 PM com.atlassian.modzdetector.HashRegistry store
      INFO: wrote 819 hashes to /opt/atlassian/confluence/install.reg
      Finishing installation ...
      root@intapp05-test:~# ls  -l /var/atlassian/application-data/
      total 7066332
      -rw-r-----  1 confluence confluence 1019730414 Feb 17  2014 2014_02_17-confluence-5.2.3-back.zip
      -rw-r--r--  1 root       root       1405842447 Jul 28 12:51 2014_07_28-confluence-5.3.4-back.zip
      -rw-r-----  1 confluence confluence 1099745709 Jul 28 16:15 2014_07_28-confluence-5.5.3-back.zip
      -rw-r-----  1 confluence confluence 1279102578 Nov  4 15:22 2014_11_04-confluence-5.5.3-back.zip
      -rw-r--r--  1 root       root       1215642550 Nov 21 17:27 2014_11_21-confluence-5.5.3-back.zip
      -rw-r--r--  1 root       root       1215819916 Nov 23 17:58 2014_11_23-confluence-5.5.3-back.zip
      drwx------ 20 confluence confluence       4096 Nov 23 17:59 confluence
      root@intapp05-test:~# cat /opt/atlassian/confluence/./.install4j/response.varfile
      #install4j response file for Confluence 5.5.3
      #Sun Nov 23 17:59:17 CET 2014
      executeLauncherAction$Boolean=true
      app.install.service$Boolean=false
      existingInstallationDir=/opt/atlassian/confluence
      sys.confirmedUpdateInstallationString=true
      sys.languageId=en
      backupConfluence$Boolean=true
      sys.installationDir=/opt/atlassian/confluence
      

            [CONFSERVER-35722] Backup Parameter In Varfile Is Ignored

            Still an issue in 9,4

            Mike Johnson added a comment - Still an issue in 9,4

            IT AIS DAA Team added a comment - - edited

            Same issue with backup response ignored, Jira 8.5.1, Service desk 4.5.1 and Confluence 7.1.1

            IT AIS DAA Team added a comment - - edited Same issue with backup response ignored, Jira 8.5.1, Service desk 4.5.1 and Confluence 7.1.1

            For reference, both this bug and JRASERVER-66019 are also noted in Atlassian Community thread Unattended Confluence en Jira install / upgrade with response files.

            Jason Unsworth added a comment - For reference, both this bug and JRASERVER-66019 are also noted in Atlassian Community thread Unattended Confluence en Jira install / upgrade with response files .

            Same here. We've confirmed this is still broken in Confluence Server version 6.13.8, which is an Enterprise Release.

            Jason Unsworth added a comment - Same here. We've confirmed this is still broken in Confluence Server version 6.13.8, which is an Enterprise Release.

            Also ran in to this. I was surprised the upgrade was taking so long. Come to find out it was busy zipping up over 40gigs of artifacts even though have backupConfluence$Boolean=false specified in the varfile. That was during my upgrade to 6.1.2. We will be forced to run the upgrade manually this time to avoid this.

            Michael Alphonso added a comment - Also ran in to this. I was surprised the upgrade was taking so long. Come to find out it was busy zipping up over 40gigs of artifacts even though have backupConfluence$Boolean=false specified in the varfile. That was during my upgrade to 6.1.2. We will be forced to run the upgrade manually this time to avoid this.

            I'm having the same in 6.2.0

            Annalisa Bazzi added a comment - I'm having the same in 6.2.0

            Confirmed, still an issue. Please re-open this issue.

            Deleted Account (Inactive) added a comment - Confirmed, still an issue. Please re-open this issue.

            Confirmed - this issue is still actual for Linux x86_64 installer, Confluence 5.10.3
            Please, reopen this issue.

            Mikhail Zholobov added a comment - Confirmed - this issue is still actual for Linux x86_64 installer, Confluence 5.10.3 Please, reopen this issue.

            Hi,

            I'm experiencing the same issue too. I'm also wondering why this has been closed without being fixed.

            Kind regards,
            Sher

            Sher Chowdhury added a comment - Hi, I'm experiencing the same issue too. I'm also wondering why this has been closed without being fixed. Kind regards, Sher

            Hi

            Can you please tell me why this is obsolete?

            Thanks Liesa

            ProjectteamA added a comment - Hi Can you please tell me why this is obsolete? Thanks Liesa

              Unassigned Unassigned
              prompas Patrice Rompas (Inactive)
              Affected customers:
              16 This affects my team
              Watchers:
              21 Start watching this issue

                Created:
                Updated: