Cannot Create XML Backup with the WARN message "No daily backup directory specified to store the backups." in the logs
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
Not able to create an XML backup either from:
- Daily XML backup job, or
- Manual XML backup creation from the admin console
atlassian-confluence.log に次の内容が表示される。
2015-04-23 10:51:48,232 WARN [scheduler_Worker-10] [confluence.importexport.impl.BackupJob] executeJob No daily backup directory specified to store the backups. Taking no action!
診断
Diagnostic Steps
- Go to CONFLUENCE_HOME and open confluence.cfg.xml
- Check if the string
"admin.ui.allow.daily.backup.custom.location"
is set to false:
<property name="admin.ui.allow.daily.backup.custom.location">false</property>
If this is the case, proceed to Resolution
原因
It seems like there was a discrepancies between the home folder and the designated backup folder. Might be caused of a migration/upgrade, the backup folder path might still point to old home folder.
ソリューション
Edit your confluence.cfg.xml file, and change the custom location to true:
<property name="admin.ui.allow.daily.backup.custom.location">true</property>
- Confluence を再起動します。
- Go to Confluence Admin >> Backup Administration
- Click the "Edit" button
- Choose the "default"
- Click Submit
Try to create backup with the above settings. Should the above solve the issue, retrace your steps and change the "admin.ui.allow.daily.backup.custom.location" back to false