I'm trying to make a backup and get failed
this is message of atlassian-confluence.log
2017-11-22 17:37:20,600 INFO [http-nio-8090-exec-8] [atlassian.confluence.upgrade.AbstractUpgradeManager] getExportBuildNumber Backward compatibility for export: "Upgrade to build number: 6169" prevents compatibility before 6169
2017-11-22 17:37:22,234 WARN [http-nio-8090-exec-8] [activeobjects.confluence.backup.LoggingBackupProgressMonitor] beginBackup Begin Active objects backup, change log level to INFO for com.atlassian.activeobjects.confluence.backup for more detailed logging.
-- url: /admin/dobackup.action | traceId: d9d455116c015005 | userName: admin | referer: http://192.168.9.24:8090/admin/backup.action | action: dobackup
2017-11-22 17:37:23,558 WARN [http-nio-8090-exec-8] [activeobjects.confluence.backup.LoggingBackupProgressMonitor] endBackup Completed active objects backup.
-- url: /admin/dobackup.action | traceId: d9d455116c015005 | userName: admin | referer: http://192.168.9.24:8090/admin/backup.action | action: dobackup
2017-11-22 17:37:23,738 ERROR [http-nio-8090-exec-8] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action
-- url: /admin/dobackup.action | traceId: d9d455116c015005 | userName: admin | referer: http://192.168.9.24:8090/admin/backup.action
java.io.IOException: 허가 거부
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1012)
at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:461)
at com.atlassian.core.util.FileUtils.copyFile(FileUtils.java:397)
"허가 거부" means permission denied
permission of backups dir is this
drwxr-xr-x 2 confluence1 confluence1 4096 11월 22 17:38 backups
The user running the Confluence service does not have full read/write access to <confluence home>/export
My guess is that it is not running as "confluence1"
Workaround:
Uncheck the box entitled "Archive to backups folder"
The backup will be created in the temp folder, for example:
/home/atlassian/application-data/confluence/temp
You can then copy this file manually to where you need it, obviously.
*** 11/26/2020 Update: In my case, the failures occurred after I had migrated from the built-in database to a new MySql database, which required me to create a new instance (confluence3, I called it). I finally got backups working by opening permissions on both
/var/atlassian/application-data/confluence3/backups/
drwxrwxrwx 2 confluence3 confluence3 4096 Nov 26 02:07
and
/var/atlassian/application-data/confluence3/
drwxrwxrwx 19 confluence3 root 4096 Sep 22 2019
The backups are written and .zip files in the former.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.