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

Backup of Derby database?

Hi!

The Express-C edition of RTC uses the embedded database Apache Derby to store all data. I've heard about other embedded databases (HSQL) occasionally suffering from data corruption. So what are other backup options with Derby apart from just copying the (possibly corrupted) files someplace else? For instance, in MySQL the default database dump file consists of SQL statements which helps against corruption since the data is there in clear text. Is there a similar option for Derby as well?

Karsten

0 votes



6 answers

Permanent link
The best practice for Derby backup is to regularly take your server
off-line and to zip up the Derby directory. That would be hard to
implement in a production environment where users expect the server to
be available all the time. A better approach is to use a DB system that
allows online backup, such as DB2.

-
Matt Lavin
Jazz Server Team


On Wed, 2008-11-05 at 14:38 +0000, ksilz wrote:
Hi!

The Express-C edition of RTC uses the embedded database Apache Derby
to store all data. I've heard about other embedded databases (HSQL)
occasionally suffering from data corruption. So what are other
backup options with Derby apart from just copying the (possibly
corrupted) files someplace else? For instance, in MySQL the default
database dump file consists of SQL statements which helps against
corruption since the data is there in clear text. Is there a similar
option for Derby as well?

Karsten

0 votes


Permanent link
hello, i'm wondering if can backup all needed data with common db2 full backup.
I'v recognized that, if i run the repotools export command, more data than those in the db will be stored in the repository.tar. With repo export, it seems like meta data and some folders will be exported to the .tar too.

Does the db2 backup save all the required data?

0 votes


Permanent link
DB2 backs up only your Jazz database.

Repotools -export -> exports the jazz contents, full text index (used for text search work items, plans etc) and metadata used for import.

DB2 online backup would be really fast compared to repotools -export (because Db2 only backs up the data changed).

--- Balaji
Jazz Server Team


hello, i'm wondering if can backup all needed data with common db2 full backup.
I'v recognized that, if i run the repotools export command, more data than those in the db will be stored in the repository.tar. With repo export, it seems like meta data and some folders will be exported to the .tar too.

Does the db2 backup save all the required data?

0 votes


Permanent link
may it be that a db2 full backup would store all necessary data, so i don't have to backup via repotools.

I've heard before that repotools export was not thought for the use of backup, just for the case of migration.

0 votes


Permanent link
rkelkenb wrote:
may it be that a db2 full backup would store all necessary data, so i
don't have to backup via repotools.

I've heard before that repotools export was not thought for the use of
backup, just for the case of migration.

That's exactly right. Use the DB2 facilities for backing up your data.

There's a good article with some tips for backing up here:
https://jazz.net/learn/LearnItem.jsp?href=content/tech-notes/jazz-team-server-0_6-deployment-guide/index.html

Thanks,
Craig Chaney
Jazz server team

0 votes


Permanent link
A new technote was just published about DB2 backups:

https://jazz.net/learn/LearnItem.jsp?href=content/tech-notes/rational-team-concert-1_0-db2-online-backup/index.html

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: Nov 05 '08, 9:33 a.m.

Question was seen: 9,338 times

Last updated: Nov 05 '08, 9:33 a.m.

Confirmation Cancel Confirm