https://github.com/quving/longhornsystembackup
A container that creates a longhornsystembackup for you.
https://github.com/quving/longhornsystembackup
Last synced: 5 months ago
JSON representation
A container that creates a longhornsystembackup for you.
- Host: GitHub
- URL: https://github.com/quving/longhornsystembackup
- Owner: Quving
- Created: 2023-08-21T11:42:04.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-21T11:58:28.000Z (almost 3 years ago)
- Last Synced: 2025-01-30T23:48:48.312Z (over 1 year ago)
- Language: Dockerfile
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Longhornsystembackup
## What's here?
As can be easily guessed, the container creates a [longhornsystembackup](https://longhorn.io/docs/1.5.1/advanced-resources/system-backup-restore/backup-longhorn-system/) for a given kubeconfig.
## Usage
### Environment Variables
In this example $KUBECONFIG_DATA is the base64 encoded string based on the kubeconfig.
Example:
```bash
cat $FILE | base64
```
Run the container:
```bash
docker run --rm -it \
-e KUBECONFIG_DATA=$KUBECONFIG_DATA \
quving/longhornsystembackup:latest
```