I need to migrate the database to another machine

But there is a problem. When I copy all the database files P / w / ZW, I execute the main program. From the perspective of printing information, I am still communicating with the original IP, which makes me puzzled. I also can’t find the corresponding IP configuration. How to migrate? The related error information is as follows:

badger 2020/01/30 11:12:45 INFO: Running for level: 0
W0130 11:12:46.147687    9747 pool.go:238] Connection lost with 10.254.0.80:7080. Error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 10.254.0.80:7080: connect: connection timed out"

But my current IP is: 10.0.13.69 instead of 10.254.0.80

I guess the IP information of the previous server should be recorded in a file, so this situation will occur. How to deal with this problem

You can use this steps https://docs.dgraph.io/deploy/#upgrade-database

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.