How to backup historical stats and restore them


#1

Hi, every time we take a node out of our cluster we lose all historical stats. We would like to preserve this data, since it comes in handy.

I see the stat files located in: /opt/couchbase/var/lib/couchbase/mnesia

There seems to be a lot of stats_archiver* files. If I backup these files, can I just copy these files back over to a node when we add them back into the cluster? Will this work or is there a better way to preserve this data?

Thanks!


#2

Still stuck on this issue. Trying to spend up some test servers, but we are running into some resource limitations. Any help would be much appreciated.