The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • How can i backup with cronjob or internal tasks from Jira make a backup und copy it to an share

How can i backup with cronjob or internal tasks from Jira make a backup und copy it to an share

Ralf Thmas
Contributor
September 1, 2021

Hello,

 

How can i backup with cronjob or internal tasks from Jira make a backup und copy it to an share ? Or is there any app i can install that make everyday backup and write it to share ?

 

Greets

Ralf

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 1, 2021

Jira has a built-in xml export, which, by default, will be run daily (or twice daily), and drop it into a local directory.  You could copy or move those over to another file system (or even mount another file system into place so it's writing there automatically). 

For a full backup, you also need a copy of the attachments directory, so you would need to cron a copy (many of us do a regular rsync over to another storage, in a very short script)

However, Atlassian (and those of us who have worked with medium or large Jira systems) recommend  backups of the database.  You should use your database native or preferred backup solution to take a restorable copy/export/dump of the database on a regular basis.  (And think about the attachments as per xml export route - the xml is another form of database export)