Snap database restore time out

Description

Hello, I’m trying to restore a DB backup using (snap run rocketchat-server.restoredb ) command but is failing with this error:

Failed: error connecting to db server: no reachable servers

the database is roughly 80G and I’m suspect that is a time out when running the operation too long but if that is the case I don’t know what to do, my experience with snap packages is not much.

Server Setup Information

  • Version of Rocket.Chat Server: 1491 snap package
  • Operating System: ubuntu 20
  • Deployment Method: snap
  • Number of Running Instances: 1