Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Jira and Confluence automated backup using script

I found an article: https://bitbucket.org/atlassianlabs/automatic-cloud-backup/src/e6eba2f9d096cfd0a7963243539d733c1d722b42/backup.sh?fileviewer=file-view-default

This is what I have been looking for. Using an ubuntu box I can create and keep a local copy of our JIRA system.

But-

1) How do I restore files from backup**.zip file ?

2) How do I do similar automated backup for confluence (I believe above script does JIRA only) ?

 

Thanks.

1 answer

0 votes

Confluence Cloud has the same function in a similar place, all you'll need to do is adjust the urls a bit.

To restore the .zip files, use the application's "restore system" function you can find under "imports" in the admin sections.

For JIRA it is-

INSTANCE=example.atlassian.net

So I'm assuming, for confluence it'd be-

INSTANCE=example.atlassian.net/wiki

Is that right?

Yes, it should be.

How did this work for you @samir 3p ? We have been trying to do the same on both libnux or windows but we keep getting an error that says

bash-3.2# sudo sh backup_jira.sh
starting the script: 06-05-2019
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>401</status-code><message>Client must be authen
ticated to access this resource.</message></status>

Has anyone ran into this issue? If so how did you resolve it?

Thank you in advance.

Dario B Atlassian Team Jun 06, 2019

@Hamdy Atakora 

You are using an outdated version of the scripts that is still using cookie authentication that has been deprecated as announced long time ago in:

 

Newer version of the scripts to backup Jira and Confluence using API Tokens are available at the below url:

 

For more details about API_Token please see:

 

Let me know if this helps.

 

Cheers,
Dario

I have ran the script with needful changes but its never return.

Suggest an answer

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

🥓🙅🏻‍♀️ Meet-less May Badge!

Hello Confluence Community!  What if i told you that you could have a healthier life and be 100% meet-less? This month, we're promoting a healthy, balanced work diet with Confluence. We la...

189 views 2 13
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