yamcs / yamcs

A framework for mission control
https://yamcs.org
GNU Affero General Public License v3.0
194 stars 82 forks source link

How to migrate data to a renamed instance? #924

Open 0lionelzhang0 opened 2 months ago

0lionelzhang0 commented 2 months ago

Hello,

We have packet/parameter data for a Yamcs instance and would like to rename the instance. What would be the best way to have the old data live under the new instance name? Is there a way to easily do this or replay packets from one instance into another?

Thank you, Lionel

xpromache commented 2 months ago

Unfortunately we do not have yet an API call for that.

But usually you can just rename the data directory mv <old-instance>.rdb <new-instance>.rdb.

Yamcs should be stopped when you do that and it's always good to have a backup.

0lionelzhang0 commented 2 months ago

Got it, thanks!