Migrating servers #759
Replies: 3 comments 1 reply
-
This is a very good and important question. More or less, this situation will come up for the majority, and it would be great if a complete guide or documentation were prepared for the steps that need to be taken to address this. |
Beta Was this translation helpful? Give feedback.
-
Hi! There are two cases:
For 2nd one you just stop the current container and run it on another server (if it's external database server) For 1nd case you need to:
No, WhatsApp doesn't allow connecting from multiple places. |
Beta Was this translation helpful? Give feedback.
-
I am using the NOWEB engine and file storage and I thought the same, to use
the .session file and copy it to the new vps. My question still stands, I
can take a little downtime while the session storage gets copied to the new
server and the docker instance gets running. However, I still need to know
if I stop the old vps before getting the other one up and running will my
sessions persist or will they have to be logged in again?
…On Tue, Jan 28, 2025, 12:30 PM devlikeapro ***@***.***> wrote:
Hi!
There are two cases:
1. You're using *Local file storage* (aka -v .sessions:/app/.sessions
in docker run command or volumes) in docker compose
2. You're using PostgreSQL/MongoDB
For 2nd one you just stop the current container and run it on another
server.
For 1nd case you need to:
1. Stop container
2. Copy .sessions folder to the new server
3. Start a container on new server
Can I perform this migration without any interruptions?
No, WhatsApp doesn't allow connecting from multiple places.
If you're using NOWEB/GOWS engines - you'll get messages when you back
only (not in case of WEBJS, if I remember it right)
[image: patron:PRO]
<https://waha.devlike.pro/docs/how-to/plus-version/#tiers>
—
Reply to this email directly, view it on GitHub
<#759 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZ3U4WJQXWZKIJGMUHXFAMD2M4WYRAVCNFSM6AAAAABV6OSTZSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCOJYGA4DGOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I am running my waha inatance on a cps but i want to chsnge my providers. I store session data and was wondering if i copy that previous folder and mount it while starting the docker instance on the new vps, will i get all the session and its data to the new vps and will it stay logged in? Can I perform this migration without any interruptions?
Beta Was this translation helpful? Give feedback.
All reactions