Retrieves all your tickets and messages from Groove and stores them locally in an sqlite3 database. Attachments are downloaded separately.
Clone the repo:
$ git clone https://github.com/DangerCove/groove-backup.git
Run the backup script:
$ ./backup
Using concurrent-ruby 1.0.5
Using i18n 1.0.1
Using minitest 5.11.3
Using thread_safe 0.3.6
Using tzinfo 1.2.5
Using activesupport 5.2.0
Using bundler 1.16.1
Using multi_xml 0.6.0
Using httparty 0.16.2
Using groovehq 1.0.7 from https://github.com/Fodoj/groovehq.git (at master@6de06ea)
Using sqlite3 1.3.13
Bundle complete! 2 Gemfile dependencies, 11 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Provide your Private Token:
_
^ Input your Private Token. Get if from Groove Dashboard -> Settings -> API.
Notice the ./output
folder appear while the script is running.
The script stores everything in an sqlite3 database, which can be queried with tools like DB Browser for SQLite.
I started on a retrieve
script, but I'm not sure if it'll be useful at all. Feel free to expand on it.
- First release.
This is the database structure I use. I've tried sticking as close to Groove's model layout as I could.