Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boyvanamstel/groove-backup
👇 Create a backup of your Groove HQ ticket history.
https://github.com/boyvanamstel/groove-backup
backup cli groove
Last synced: 2 days ago
JSON representation
👇 Create a backup of your Groove HQ ticket history.
- Host: GitHub
- URL: https://github.com/boyvanamstel/groove-backup
- Owner: boyvanamstel
- License: mit
- Created: 2018-05-05T22:10:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-05T22:58:45.000Z (over 6 years ago)
- Last Synced: 2024-11-08T15:15:27.686Z (about 2 months ago)
- Topics: backup, cli, groove
- Language: Ruby
- Homepage:
- Size: 165 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Groove Ticket Backup
Retrieves all your tickets and messages from [Groove](https://www.groovehq.com) and stores them locally in an sqlite3 database. Attachments are downloaded separately.
## Usage
### Making a Backup
Clone the repo:
`$ git clone https://github.com/DangerCove/groove-backup.git`
Run the backup script:
```Bash
$ ./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.
### Using the Backup
The script stores everything in an sqlite3 database, which can be queried with tools like [DB Browser for SQLite](http://sqlitebrowser.org/).
I started on a `retrieve` script, but I'm not sure if it'll be useful at all. Feel free to expand on it.
## Version History
### 0.1.0
* First release.
## Database Structure
This is the database structure I use. I've tried sticking as close to [Groove's model layout](https://www.groovehq.com/docs) as I could.
![Database structure](https://raw.githubusercontent.com/DangerCove/groove-backup/master/screenshots/database-structure.jpg)