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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,628
Community Members
 
Community Events
184
Community Groups

JIRA and Confluence - Postgres DB Backup and Restoration Strategy

Edited
Niranjan
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.
Sep 21, 2020

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 

Regards

Niran

1 comment

Ravi Sagar _Sparxsys_
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.
Sep 21, 2020

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.

Ravi

Niranjan
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.
Sep 22, 2020

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events