Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence backup fail(permission denied)

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

 

 

 

 

2 answers

1 vote

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

125 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you