Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Automatic backup service backups are created

hey i was just wondering why confluence isn't creating automatic backups if the service is enabled..

version 5.2.3 any ideas?

thank you

5 answers

1 accepted

0 votes
Answer accepted

Hi there,

There are a lot of possible causes that could leads to Confluence unable to create daily XML backup as configured. FYI, XML backup creation require a huge resources which eventually leads to OOM Heap Space if the memory available is not sufficient.

In order to get a better idea, it is necessary for you to review atlassian-confluence.log or use our inbuilt log scanner to see if there are any known issue related to your current issue.

Hope it helps.

Septa Cahyadiputra

not exactly what went wrong here but after setting back up to not include attachments it worked for least until i built a cold standby system setup

Doesn't really work for me, Confluence 6.15.7.

After minor upgrade the scheduled backups are no longer working on 2 of our instances. Manual backup over interface works, permissions are correct, no new errors in the logs. 

Last backup info is false, pointing to a day 2 months ago when it really stopped doing backups 2 weeks ago. In history it shows done backup with 2ms job time. No backup file, nothing in temp. 

@Rostyslav Maryliak :

Worked for me as well - version 6.15.4 - the latest - installed today.  Thanks so much

Changing it back to the default after the initial creation worked as well.

Same for me.  I changed it back to the default date pattern and the backups continue to work.

I think is necessary to check your confluence log firstly just to see the last entries and see if there's some aparent error as well ensure that you have Read\ Write permission.

i understand you point...

is the user differing between manual and cron triggered backups?

Possibly Confluence was unable to write onto the home directory to create the backup files. This could be due to insufficient permission given to Confluence Home Directory. Double check and ensure that the user who runs Confluence has full read and write permission onto both Confluence installation and home directories. Check also the backup path and ensure that it's a valid one if you have configured a non-default/custom path for it.

permissions are set fine..

i can see in ${confluence-home}/temp that the backup process is creating the dumps there.

but it won't end up in ${confluence-home}/backups like it did before.

all paths are fine. user confluence who runs the app owns entire ${confluence-home}/ and relevant directories in ${confluence-install}/ like work,log,temp

i still wonder why the history says backup has been created but is available nowhere.

there is enough diskspace, enough memory

ls -lat /var/atlassian/application-data/confluence/backups/
total 44
drwxr-xr-x 18 confluence confluence 4096 Aug 31 05:26 ..
drwxr-xr-x  2 confluence confluence 4096 Aug 23 02:00 .
-rwxr-xr-x  1 confluence confluence 9868 Aug 23 02:00
-rwxr-xr-x  1 confluence confluence 9787 Aug 22 02:00
-rwxr-xr-x  1 confluence confluence 9528 Aug 21 02:00

ls -1 /var/atlassian/application-data/confluence/backups/*|wc -l

You were referring to the daily automated backup, right? What's the 'Backup Path' setting in Confluence Admin > Backup Administration?

Do you happened to make any customization/automate a script for the backup process that may have caused this path shift?

backup path is as shown above /var/atlassian/application-data/confluence/backups

no modifications werde made.

right now i just unticked "backup attachments" and manually ran the backup process. it was able to finish and placed the finally created .zip file in backups.

but automatically triggered backups wont end up in the backups directory....

I had exact the same problem: the "Automatic Backups" were enabled, backup destination path is set correctly, I can see the history of successful backups, I can even see them in temp folder... but there are NO backups files at "/var/atlassian/application-data/confluence/backups/".
I solved it by simply changing "Backup File Date Pattern" from "yyyy_MM_dd" to "yyyy_MM_dd_HHmmss".
I have no idea why does this solve the problem, but after that backups started to appear at backup destination path.

Like # people like this

Thanks for mentioning that,@Rostyslav Maryliak! Your strange solution of appending `_HHmmss` to the backup filename worked immediately for me as well with Confluence 6.8.1.

Worked for me as well! 

@Rostyslav Maryliak Worked for me as well!  Thank you!

I needed to do this as well to get the file to appear on a NAS via cifs. Thanks !!

I can confirm that this does the trick for Confluence 6.15.9 as well. At Backup Administration page I had "Perform backups Disabled" and a note that I can change that in Scheduled Jobs administration page ... where for Back Up Confluence job there already was status "Scheduled".

Conflluence log, however, showed each day:

2019-10-15 02:00:00,016 WARN [Caesium-1-4] [impl.schedule.caesium.JobRunnerWrapper] runJob Scheduled job BackupJob#BackupJob completed unsuccessfully with re
sponse JobRunnerResponse[runOutcome=ABORTED,message='Backup daily setting off']

After changing the "Backup File Date Pattern" that "Disabled" changed to "Enabled" at "Perform backups" line. And it stayed that way after changing the file date pattern back to previous setting. :-)

Suggest an answer

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

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

5,989 views 11 55
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