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.6.3][BUG] Longhorn thinks node is unschedulable
- [BUG] Can not revert V2 volume snapshot after upgrade from v1.6.2 to v1.7.0-dev HOT 31
- [BUG][v1.7.x-head] Test case `test_support_bundle_should_not_timeout` support bundle cleanup failed HOT 3
- [FEATURE] Differentiate disk space (`filesystem`) usage by v1 data engine
- [UI][FEATURE] Differentiate disk space (`filesystem`) usage by v1 data engine
- [TEST][FEATURE] Differentiate disk space (`filesystem`) usage by v1 data engine
- [BUG] StorageClass parameters not saved when editing longhorn-storageclass configMap HOT 6
- [TEST][BUG] Can not revert V2 volume snapshot after upgrade from v1.6.2 to v1.7.0-dev
- [IMPROVEMENT] Make RWX volume fast failover settings adjustable HOT 2
- [BUG] Can not delete the parent of volume head snapshot of a v2 volume HOT 5
- [BUG] Remove Snapshots During Filesystem Trim not work on V2 volume HOT 3
- [BACKPORT][v1.6.3][BUG] Can not revert V2 volume snapshot after upgrade from v1.6.2 to v1.7.0-dev HOT 4
- [BUG] UI network policy is too open HOT 15
- [BACKPORT][v1.6.3][BUG] UI network policy is too open
- [BACKPORT][v1.5.6][BUG] UI network policy is too open
- [BUG] FailedAttachVolume from v1.5.5~v1.6.2 HOT 5
- [BUG] Non-existing block device results in longhorn-manager to be in Crashloopbackoff state HOT 2
- [BACKPORT][v1.6.3][BUG] Non-existing block device results in longhorn-manager to be in Crashloopbackoff state
- [DOC] Update `Quick Installation` document for `longhornctl` HOT 5
- [IMPROVEMENT] Undocumented traffic on port 8503 HOT 5
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.