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

3 answers

1 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

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.

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.

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?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,102 views 17 14
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you