Closed DeltaTangoLima closed 1 year ago
Yes, the database schema has changed. I've committed a fix on a test branch. Could you give it a try?
git clone -b test https://github.com/tbvdm/sigbak.git
cd sigbak
make
./sigbak messages ...
./sigbak attachments ...
./sigbak threads ...
make
(on macOS) is giving me errors, and it's beyond my capability to figure out (more of a Python guy than a compiled C guy). Any chance you'll push this into your Homebrew tap at some point soon?
On macOS the build procedure is slightly different. This should work:
brew install libressl make pkg-config protobuf-c sqlite
cd path/to/sigbak
PKG_CONFIG_PATH=$(brew --prefix)/opt/libressl/lib/pkgconfig gmake
./sigbak ...
Thanks for the tip, but I'm getting the same errors trying to build. I tried searching for some answers, but went down a rabbit hole I don't understand, about using different compilers, installing variations of Xcode tools, etc.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Hmm, that's odd. Alright, I'll commit the fix on the regular branches later today so you can update via brew.
Please try this:
brew upgrade --fetch-HEAD sigbak
sigbak att signal-2022-12-12-02-00-01.backup attachments
sigbak msg signal-2022-12-12-02-00-01.backup messages
This should export your attachments and messages to the attachments
and messages
directories, respectively.
(Also note that the sigbak commands have changed. See the manual page for details.)
Fantastic - the updated version worked perfectly. Thanks.
I've been attempting to use
sigbak
to export data out from my latest Signal backup, made with Signal v6.5.2 for Android, but I keep getting errors, which vary based on thesigbak
command I try. The errors make me think perhaps Signal have changed DB schema.Examples:
I verified my Signal backup password is correct - I get
MAC mismatch
error if I try a known bad password. I also used a different project (signalbackup-tools
) to successfully extract the database from my backup, using the same password.