Closed 3Ryan3 closed 1 year ago
OK, managed to do after some try an error to export to csv signalbackup-tools_win.exe signal-20xx-xx-xx-xx-xx-xx.backup passfrase --exportcsv message=messages.csv
my "new" issue ist, that it is separated by comma. I also do have commas in my messages. so that gets messy. any way to export with a different separator? and/or to export only one communication with one person? Would also make it easier
tried xml and it returned an error
Hi Ryan!
my "new" issue ist, that it is separated by comma. I also do have commas in my messages. so that gets messy. any way to export with a different separator?
csv stands for comma seperated values, if it were using a different seperator it would not be csv anymore. Fields with comma's in them should be properly quoted, and quotes should be properly escaped. This is all according to the csv specifications (RFC4180). If you see problems with this, let me know.
Though it may look messy, any program that deals with csv files should be able to read the files successfully. If you're not specifically looking for machine readable output, but for something that looks good to humans, I strongly suggest the --exporthtml
option (which can be combined with the --limittothreads
option, see the README).
and/or to export only one communication with one person? Would also make it easier
For the csv output, I think the only option is to first crop the database. First use --listthreads
to list the thread numbers (_id
), then run signalbackup-tools.exe [input] [passphrase] --croptothreads [N] --exportcsv [table=output]
.
tried xml and it returned an error
Thank you so much for reporting, I was missing a )
, should be fixed now.
Please let me know if you need more help or see more problems.
I think this is solved then? Feel free to re-open or open a new issue if you feel it necessary.
Hi,
sorry to bother but I can't get the windows file to decrypt my backup and don't have the programming skills to understand all the readme Details.
I tried to run the backup with the exe (open with and manually select the exe file). Commands are running but I don't get any file output.
With older tools (which are from 2018 and no longer working) I had to add a certain command in the command line to get the exe to export a file (eg signal-back_windows.exe format -f csv -o backup.csv signal-XXX.backup)
I want to export the backup to csv. Would anyone be so kind and tell me how to do this on windows. eg. in the command window
thx Ryan