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,560,148
Community Members
 
Community Events
185
Community Groups

Postgresql database removed, what can be restored

I'm running the latest versions of confluence, jira and stash on my server. Unfortunately somebody completely removed the postgrsql server including the data in /var/lib/postgresql.

What can be restored? How do I set up a new database without removing the home directories? 

2 answers

1 vote
Rodrigo Girardi Adami
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 02, 2015

Hi team,

If you have an old backup of Postgres Confluence database, you can also reinstall the postgres and restore it by using this command:

psql -h database_host -p database_port -U  database_user schema_name < C:\backup_file.dmp

I hope this helps!

Cheers,

Rodrigo

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 27, 2015

Not a lot.

If you had the backup services installed (they're on by default), then you should have .xml files in the applications home directories, so you could install new versions of them and restore the xml - you'll need the attachments directories too.  But that's about it if you've lost the databases - you're mostly starting from scratch.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events