Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelsp/borgbackup
https://github.com/michaelsp/borgbackup
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/michaelsp/borgbackup
- Owner: MichaelSp
- Created: 2024-11-09T10:32:03.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-09T11:47:53.000Z (about 2 months ago)
- Last Synced: 2024-11-09T12:29:17.594Z (about 2 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple borgbackup docker image with SSH and init logic for borgmatic.
This image is based on the official [borgbackup](https://borgbackup.readthedocs.io/en/stable/) image and adds SSH
support.## Configuration
Configuration via `${SOURCES_YAML:-./sources.yaml}`:```
crontab: # generic crontab configuration (not a backup source)
schedule: "17 17 * * *"
command: PATH=$PATH:/usr/local/bin /usr/local/bin/borgmatic --stats -v 0 2>&1
backup-of-PVC:
namespace: ns
pvc: name-of-the-ovc
exclude_patterns:
- /things-to-exclude
db-example
type: mariadb
namespace: ns
instanceName: this-instance # see label app.kubernetes.io/instance:
```## Usage:
* args: `server|borgmatic-init`
* `server`: to start the SSH server
* `borgmatic-init`: to create config yamls for borgmatic
* env:
* `SSH_PORT` - SSH port to listen on (default: `2222`)
* `SSH_HOST_KEY_DIR` - Directory to store host keys (default: `/etc/ssh/keys`)