Skip to content

[ZK Stack] - How to migrate self deployed ZkSync hyperchain to new machine? #754

Answered by popzxc
sachanayush47 asked this question in ZK Stack
Discussion options

You must be logged in to vote

Hey! We don't really have a step-by-step guide for that and it depends on the actual setup a lot, so it's hard to provide a precise answer.
It's also not clear if some downtime is acceptable for you. I'll assume yes; if not -- the situation may become significantly more complex.
However, here are some general advices:

  1. Is postgres running on the same machine as the sequencer? If not, the first step would be to migrate Postgres to a separate machine. Probably, the easiest way to do it would be to prepare a clean Postgres deployment on the machine of your choice (or actually; if you're running in cloud, you might want to have managed Postgres, e.g. CloudSQL in GCP) shutdown the server, take…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@bxpana
Comment options

Comment options

You must be logged in to vote
3 replies
@sachanayush47
Comment options

@sachanayush47
Comment options

@popzxc
Comment options

Answer selected by popzxc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ZK Stack
Labels
zk-stack ZK Stack Question
3 participants