open-wa / wa-automate-nodejs

💬 🤖 The most reliable tool for chatbots with advanced features. Be sure to 🌟 this repository for updates!
https://docs.openwa.dev/
Other
3.12k stars 591 forks source link

Store a session in S3Bucket with multidevice enabled #2768

Closed DaviZMelo closed 2 years ago

DaviZMelo commented 2 years ago

How can i store a session in a S3 Bucket with the multidevice enabled as it generate an "_IGNORE_SESSION" folder and no longer a "session.data.json" file.

image

smashah commented 2 years ago

@DaviZMelo unfortunately MD sessions are not portable in the same way as "legacy" sessions. Now session.data.json is used as a placeholder just in case we are able to crack MD session portability. There has been some research done with regards to MD portability but it's still not determined if it is even possible.

It's annoying because I was really proud with the work done on backing up session data in s3 now it's pretty useless. The IGNORE folders are "locked" to the machine/machine ID/container so it's not portable in the same way as session data. Also, IGNORE folders are constantly changing/updating.

Track #2338 for updates.

Thanks

smashah commented 1 year ago

Please track https://github.com/open-wa/wa-automate-nodejs/issues/2866