https://github.com/computestacks/backup-agent
Node Agent
https://github.com/computestacks/backup-agent
Last synced: 8 days ago
JSON representation
Node Agent
- Host: GitHub
- URL: https://github.com/computestacks/backup-agent
- Owner: ComputeStacks
- Created: 2022-11-22T00:05:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-01T04:52:05.000Z (over 2 years ago)
- Last Synced: 2025-02-27T22:04:24.829Z (over 1 year ago)
- Language: Go
- Size: 231 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# ComputeStacks Node Agent
This agent runs on each node and uses consul as it's database backend. It currently performs the following purpose:
* Manage volume backups
* Creates firewall rules for container services
* Performs volume restores
## Running
```bash
docker run -d --name cs-agent --init \
--network host \
--cap-add=NET_ADMIN \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /etc/computestacks:/etc/computestacks:ro \
ghcr.io/computestacks/backup-agent:latest
```
## Development
Install required go packages with `go mod download`
**NOTE:** Do not run `go get -u` to update `go modules`. Docker has not used semantic versioning in quite some time, so running the update all command will replace the current docker api with an older version, thus breaking everything.
Update modules with `go get @` instead.