Skip to content

con2/minio-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minio back up to NFS on Kubernetes

This Minio backup solution on Kubernetes spawns one mc mirror --watch pod for each Minio bucket being backed up. Each pod will mirror the target bucket to /mnt/target/BUCKETNAME where /mnt/target is an external NFS. The pods will synchronize the mirror upon start-up and then listen for changes.

Configuration

Namespace

It is recommended to create a new namespace for this.

Secret

Create a secret using the following template, containing your Minio access key ID and secret key:

apiVersion: v1
kind: Secret
metadata:
  name: minio-backup
type: Opaque
data:
  accessKeyId: <BASE64 encoded access key ID>
  secretAccessKey: <BASE64 encoded secret access key>

Vars file

Use default.vars.yaml as reference and production.vars.yaml as example.

Deployment

Uses Emskaffolden for deployment.

emsk -E production -- run -n minio-backup

About

Backup using mc mirror to NFS on Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published