Jump to content

Moving Repositories To Another Server


NVYVE_Christian

Recommended Posts

Hi there,

We have 2 plastic servers (both with repositories on them) and are trying to condense them down to 1. Both are running MySQL backends on Windows servers.

I wanted to verify the steps before I destroy everything! Is it something like this?

  • Removing the repositories 1 by 1 (cm removerepository myproject@localhost:8087)
  • Renaming the folders for each repo (ex. rep_5 to rep_32, rep_32 matching an empty slot on the new server)
  • Move the folders to the new mysql data folder
  • Run the 'addrepository' command (cm addrepository rep_32 myproject localhost:8084)

Are there any additional steps that I missed or am I no where near the mark?

Thanks!

Link to comment
Share on other sites

Hi,

- If you are using MySQL, you can just export the different database dumps and import them in the new server (renaming them if necessary so there are not duplicated rep_x databases):

https://dev.mysql.com/doc/refman/5.7/en/mysqldump-sql-format.html

Then, in order to link the new databases to Plastic, you can run "cm addrepository" command.

It's not necessary to remove the repos from the original server in order to get the database dumps.

- Another possibility is using a synchronization view to replicate the repos from one server to the other:

https://www.plasticscm.com/documentation/gui/plastic-scm-version-control-gui-guide.shtml#Chapter23:TheSynchronizationview

Regards,

Carlos.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...