mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 08:56:07 +00:00
The daily target check only finds files that are gone. Verify (a ready backup's Restore menu, superusers) runs backup.verify: it reads the backup's files and those of the backups it builds on whole from the target through a libvirt stream: each there, a disk at its size and in its format on its base's file, the small files with their SHA-256, and a disk with the SHA-256 recorded at its first verification. What is wrong is kept on the backup and shown as Damaged; a target that cannot be read fails the job and leaves the backup as it was. Progress in bytes, cancellable.
21 lines
928 B
Python
21 lines
928 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = "vmbackups"
|
|
|
|
urlpatterns = [
|
|
path("", views.index, name="index"),
|
|
path("<uuid:uuid>/delete/", views.delete, name="delete"),
|
|
path("<uuid:uuid>/verify/", views.verify, name="verify"),
|
|
path("<uuid:uuid>/restore/", views.restore, name="restore"),
|
|
path("<uuid:uuid>/restore-over/", views.restore_over, name="restore_over"),
|
|
path("<uuid:uuid>/restore-disk/", views.restore_disk, name="restore_disk"),
|
|
path("schedules/", views.policies, name="policies"),
|
|
path("schedules/new/", views.policy_new, name="policy_new"),
|
|
path("schedules/<int:policy_id>/", views.policy, name="policy"),
|
|
path("targets/", views.targets, name="targets"),
|
|
path("targets/new/", views.target_new, name="target_new"),
|
|
path("targets/<int:target_id>/", views.target, name="target"),
|
|
path("vm/<int:instance_id>/create/", views.create, name="create"),
|
|
]
|