Comments (5)
Hi, looking forward to seeing this implemented. At the moment I am backing up some volumes but I don't know if the backup has finished or not yet.
from longhorn.
Usage for UI:
The backup list could be seen in the JSON format with the following request:
curl http://<longhorn-ui-ip>:<port>/v1/volumes
Sample Response:
{
"createTypes": {
"volume": "http://<ip>/v1/volumes"
},
"data": [
{
"actions": {
...
},
"backupStatus": [
{
"actions": null,
"backupError": "",
"backupURL": "s3://backupbucket@us-east-1/backupstore?backup=backup-cc0d6fbc1a7f4760&volume=btest",
"id": "backup-cc0d6fbc1a7f4760",
"links": null,
"progress": 100,
"snapshot": "6598a238-3c7e-4373-a74f-1d3e0ac6deef"
},
{
"actions": null,
"backupError": "",
"backupURL": "s3://backupbucket@us-east-1/backupstore?backup=backup-932d69f9ee4f4187&volume=btest",
"id": "backup-932d69f9ee4f4187",
"links": null,
"progress": 100,
"snapshot": "68403f2d-65d8-4a70-bf5e-4feedef348f0"
}
],
"baseImage": "",
"conditions": {
...
}
},
...
from longhorn.
@shreesha21 Also need to document the interaction between fields in backup status.
from longhorn.
In BackupStatus, there are 5 important fields and details of those fields are mentioned below:
Snapshot
: This indicates the name of the snapshot being backed up.
id
: This indicates the name of the backup
Progress
: This indicates the progress percentage of the backup. Value: 0 - 100
BackupURL
: When the progress reaches 100, a backupURL is generated and populated here. This backupURL is required while restoring this backup in the future.
BackupError
: If there are any error thats encountered while creating the backup, it will be populated in this field.
from longhorn.
Steps to test:
- Create longhorn volume
- Attach the volume to a node
- Mount the volume on the node
- Write fairly large data into the mounted volume ~ 3 GB
- On volume details page, click
Create Backup
Expected result:- In volume details page, Snapshots section you should see a new snapshot being created, and you should see backup progress.
- Hovering on the snapshot, a tool-tip will be appear, and it will contain backup information (backup URL, snapshot name, progress, .. )
from longhorn.
Related Issues (20)
- [BACKPORT][v1.5.4][BUG] Backing Image Data Inconsistency if it's Exported from a Backing Image Backed Volume HOT 3
- [BACKPORT][v1.4.5][BUG] Backing Image Data Inconsistency if it's Exported from a Backing Image Backed Volume
- [BUG] spdk_tgt somehow ran into an internal error. HOT 8
- [BACKPORT][v1.5.4][TEST][FEATURE] Add a new settings that allows Longhorn to evict replicas automatically when a node is drained
- [DOC] Make `Troubleshooting` section as an individual chapter HOT 2
- [BUG][v1.6.0-rc1] Negative test case failed: Stress Volume Node CPU/Memory When Volume Is Offline Expanding HOT 4
- [DOC] Move troubleshooting docs in KB to `Troubleshooting` chapter
- [TEST] test_zone related test cases fail on AKS due to trying to update a non-changeable system label
- [BUG] Pod with volume stuck in status ContainerCreating
- [IMPROVEMENT] Exporting a volume from a single replica via crictl command
- [DOC] Mention recurring jobs for filesystem trim HOT 1
- [BUG] Volume stuck in Attaching after Attached Node Fail HOT 3
- [BUG] When disabling revision counter, salvaging a faulty volume not work as expected HOT 7
- [DOC][IMPROVEMENT] Cover NFS mount options override in the RWX workload doc. HOT 1
- [BUG] v2 Engine does not show the rebuilding replica mode HOT 1
- [BUG] Longhorn Upgrade Causing Pod Restarts
- [TEST] `test_offline_node` unsupport on AKS / GKE
- How to solved a volume stucked in detached state after node failure
- [TEST] `test_support_bundle.py` test failed on AKS /GKE
- [BUG] Volume rebuilding never succeed after the first rebuilding failed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from longhorn.