Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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 Leaders.
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)

Suggest an answer

Log in or Sign up to answer