dedene / longhorn-velero-plugin

Longhorn Velero Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

velero-plugin

Longhorn plugin for Velero. To take snapshots of Longhorn volumes through Velero you need to install and configure the Longhorn VolumeSnapshotter plugin.

Installation

  1. Create a VolumeSnapshotLocation CR for Longhorn VolumeSnapshotter

    apiVersion: velero.io/v1
    kind: VolumeSnapshotLocation
    metadata:
      name: longhorn
      namespace: velero
    spec:
      provider: longhorn.io/longhorn

    or

    velero snapshot-location create longhorn \
        --provider longhorn.io/longhorn
  2. Add Longhorn plugin to Velero server

    velero plugin add quay.io/jenting/velero-plugin:main \
        --image-pull-policy Always

Create Backup

velero backup create <backup-name> \
    --volume-snapshot-locations longhorn

Delete Backup

velero backup delete <backup-name>

About

Longhorn Velero Plugin

License:Apache License 2.0


Languages

Language:Go 81.5%Language:Makefile 15.1%Language:Dockerfile 3.4%