Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Manual execution of database creation scripts Edited

I am setting up just a shell of a PostgreSQL database (I just want table names and columns) so I can create SQL scripts to pull data from crucible.  I have found the fecru/sql/POSTGRESQL/schema/*.sql scripts, and would like to manually create the database without having to install the crucible web components.  Anyone know the order in which the *.sql scripts are to run?

Do I run drop_42.sql, table_42.sql, constraints_42.sql, drop_43.sql, table_43.sql, constraints_43.sql, etc., until I finish?

Any help would be great!  Thank you.

1 answer

0 votes

Hi Joe,

Can you please clarify why you would like to create an additional database instead of using the existing one? Which details are you trying to extract from the database?

In general, we don't support  manual retrieval of data from the database because it could change at any time without any notice. To retrieve details from the application, we provide REST API end points.

If you still want to proceed in creating a copy of the database, I see the following two options:

- Migrate to a new database via the user interface. You can then use the current database which will contain the Crucible data up to date until the migration started.

- Perform a database dump and restore it to a new database using the proprietary database tools provided by the database. In this case, you are not changing the Crucible database and the new database will also contain the data.

-- As alternative, you could perform a dump of the schema without the data.

- And finally, install a new server and connect it to a database (as you mentioned). By doing so the database will not contain any data.



Caterina - Atlassian Support 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

457 views 19 23
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