Implement backups

* trigger backup importation via http route
* follow backup advancement with status route
* import backup via a command line
* let user choose batch size of documents to import (command lines)

closes #884
closes #840
This commit is contained in:
many 2020-07-28 14:41:49 +02:00
parent efe5984d54
commit c254320860
No known key found for this signature in database
GPG key ID: 2CEF23B75189EACA
26 changed files with 1313 additions and 167 deletions

View file

@ -30,6 +30,11 @@ jobs:
with:
command: test
args: --locked --release
- name: Run cargo test backup
uses: actions-rs/cargo@v1
with:
command: test
args: backup --locked --release -- --ignored --test-threads 1
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with: