AnubisLMS / AnubisLMS/Anubis

ADD volume backup interface for students

オープン
#443 コメント 0 件 リアクション 0 件 担当者 1 名 @wabscale が担当を希望しています GitHub で見る
backend
主要言語
Python
スター
381
フォーク
53
PR マージ指標
30日以内にマージされた PR はありません

説明

Add the ability to list, and revert to a volume backup. This will involve writing a small interface on our backend that will need to call out to longhorn things.

Reverting involves the steps:
1. deleting the existing pvc, pv and longhorn volume
2. selecting and restoring the longhorn backup
3. recreate the pv and pvc based off backup metadata

We'll need to have a check that IDEs are not and using that volume.

Longhorn very infuriatingly does not have a cli. It is a bit insane actually that it lacks this. It drives me insane having to click so many buttons in their stupid admin site. Thankfully they have an exposed api that we're not technically suppose to interface with, but who cares:
- https://github.com/longhorn/longhorn-ui/blob/master/src/models/backup.js
- https://github.com/longhorn/longhorn-ui/blob/master/src/services/backup.js

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。