https://github.com/ubergarm/restic-api
A RESTish API wrapper around restic CLI.
https://github.com/ubergarm/restic-api
api-server demoware restic restic-backups warning
Last synced: 3 months ago
JSON representation
A RESTish API wrapper around restic CLI.
- Host: GitHub
- URL: https://github.com/ubergarm/restic-api
- Owner: ubergarm
- License: bsd-2-clause
- Created: 2017-08-02T20:14:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-02T20:17:02.000Z (over 8 years ago)
- Last Synced: 2025-07-08T12:45:34.762Z (6 months ago)
- Topics: api-server, demoware, restic, restic-backups, warning
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
restic-api
===
*NOTE* this is pre-alpha, it will change and I may force push. You've been warned!
A RESTish API wrapper around [restic](https://github.com/restic/restic) CLI.
## Run
```bash
go run restic-api.go
```
## Test
```bash
http localhost:8080
```
## Performance
```bash
docker run --rm -it williamyeh/wrk -t4 -c1000 -d30s http://$DOCKER_HOST_IP:8080
```
## Todo
- [x] Proof Of Concept
- [ ] Use actual environment vars
- [ ] Implement listing snapshots
- [ ] Implement downloading files
- [ ] Dynamically specify password/repo in headers?
- [ ] Document Usage
## References
[restic](https://github.com/restic/restic)