It's all about the answers!

Ask a question

Do we have a good solution to copy repository incrementally?


Gao Weibin (122) | asked Apr 21 '10, 11:45 p.m.
JAZZ DEVELOPER
We have two RTC repositories, we want to synchronize, one-way is enough currently, bi-way synchronization will be great.

By now, we know repotools -copy command can copy data from one database to another, but it is entire copy, we like to copy increment only every week. The repotools -export and -import commands are also entire contents.

Any suggestions or comments for RTC repositories increment synchronization?

Thanks,
- Gary

Comments
Dustan Daniel commented May 17 '13, 4:53 a.m.

I have a similar requirement in which i need to be able to do an incremental update after an initial repotools-export & import action. Any solutions on how to do this?

My scenario:
We are migrating DBs from SQL to Oracle. Once off full repotools export of SQL and import to Oracle. However because this is a timeous process and customer cannot have any downtime, a repotools -incrementExport or something similar would be very handy to ensure all data is up to date.

One answer



permanent link
Ralph Schoon (63.6k33647) | answered May 17 '13, 7:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited May 17 '13, 7:14 a.m.
As far as I am aware there is currently no way to copy parts e.g. project areas or other things from one repository to another for RTC. There is no incremental copy either. Some artifacts can be brought over with export/import e.g. CSV.

Please be aware, that since the public URI is kept if you use repository related operations, you can not run the copy of another repository in the same network. Isolate the networks to make sure you don't hook up the copy to the source if you use the copy for test e.g. upgrade. For test purposes you can create a copy of your environment using a backup mechanism. Also for test purposes you can (since 4.x) use server rename. You can use incremental DB backups for backup and restore on a database level, with the restrictions above.

Your answer


Register or 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.