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,551,671
Community Members
 
Community Events
184
Community Groups

DB Transfer from prod to dev

 

Hi,

I am attempting a refresh of our Dev Jira environment by importing a DB dump, created from the production DB via a pg_dumpall call.

I have imported this DB over our Dev environment by running /usr/pgsql-11/bin/psql -p 5434 -d postgres -f pg_dumpall.20211027.

The application on the application server was stopped before this import, and restarted after it.

However, some projects that are present in production, are missing from the Dev environment after this import.

Is there a different process I should or could use to achieve this? Do I need to copy any other directories from the DB or application server, from prod to dev? I found some articles suggesting copying the home directory, but I didn't see anything official from Atlassian in those threads as to whether that was safe, needed, or what the process should be for it.

In short, can you please advise how we should refresh our dev environment with the latest content from prod?

I asked this question to Atlassian support but they weren't able to offer any specific advice other than telling me to use our DB's native tools, which is exactly what doesn't seem to be working.

Thanks,
Benjamin.

 

1 answer

0 votes
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.
Nov 10, 2021

Did you

  • Have the target test Jira completely shut down while restoring the database?
  • Synchronise the attachments (not essential, the test system will simply show "not found" if files are missing)
  • Run a full locking re-index on test after restoring and restarting it?

My guess is the third - your database has all the issues, but the index is out of date.

Hi,

The application on the application server was stopped while the DB was imported to the DB server.
I have not synchronised attachments, however an entire project is missing in the Dev environment, so if this is a problem, I think it's a bridge to cross later.
I have just now run a full re-index on the Dev environment. The new project is still not present.

Thanks for your help! Do you have any other suggestions?

Thanks,
Benjamin.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events