Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 - Postgres DB Backup and Restoration Strategy Edited

Hi All,

We currently have daily xml backups , however we would like to have a robust database backup and restoration strategy in place for our JIRA and Confluence applications. We are using postgresql 9.5.15. Can someone list down the steps to backup and restore DB. Appreciate if you can provide your inputs on the same. 

  • To backup JIRA:
  • To restore from the backup 



1 comment

Hi @Niranjan 

Yes, apart from the xml backups you can definitely and should configure db and file system backups.

  • Write simple shell script to take file system backups and move them to another location. Configure cron to run these scripts.
  • For postgresql this page has all the information about using pg_dump for 9.5. You can configure them using shell scripts as well.
  • May be also configure regular snapshots of the whole machine.
  • Timestamp your backups

For restoring well just restore the files and database (matching timestamp of course).

Also write more scripts to delete old scripts and maintain a log of backups taken and backups deleted. These logs can be priceless (when things go wrong).

The links I shared have all the details of exact scripts or commands.

I hope it helps.



Log in or Sign up to comment
Community showcase
Published in Confluence

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

188 views 0 6
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