Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Backing up the database, which tables can we exclude?

Hi,

I'm in the process of trying to backup the build forge database on a daily basis. Looking at the table size, the following tables are the biggest and those I'd want to be able to exclude. I want to be able to restore buildforge with the minimal amount of data and still be able to start builds after a restoration of the database.

Table I want to exclude:
    bf_logs
    bf_messagearg
    bf_store
    bf_messages
    bf_message_translated


Can you please point which tables cannot be excluded (and if there are additional tables, I'd be glad if you could include them as well).

We are using mysql as a database, so I simply plan on doing a mysqldump with a list of tables to exclude.

Thanks for the help.

0 votes



2 answers

Permanent link
you can exclude bf_messages, bf_messagearg, and bf_message_translated.
You just won't have system messages after restore.

bf_logs and bf_store are integral to product function. keep them.

0 votes


Permanent link
you can exclude bf_messages, bf_messagearg, and bf_message_translated.
You just won't have system messages after restore.

bf_logs and bf_store are integral to product function. keep them.


I thought that bf_logs where only history of previous builds, which is data I don't care about (from what I understand, a row = a line of job log). I'm trying to think about bare minimum here. If logs are critical to the application, I'd say that it is rather strange. Is it the case?

What about bf_store? What is its purpose? (I'll take a look at the table structure tomorrow at work)

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 16 '11, 2:46 p.m.

Question was seen: 6,811 times

Last updated: Aug 16 '11, 2:46 p.m.

Confirmation Cancel Confirm