mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 17:06:09 +00:00
Backups -> Schedules lists the backup schedules and adds one: a name, a target, every VM of a compute or chosen VMs (a searchable list), a daily time in the panel's time zone (the form names it), how many backups of each VM to keep, Require frozen file systems, Enabled. The VMs' hosts must have a pool of the target. The superuser who saves a schedule is its owner, whom its jobs run as. A schedule's page edits or deletes it (its backups are kept) and lists its runs: the backup job, or why the day's backup was skipped or failed. The Backups page has a Schedule column (or By hand) and a Missing state; a missing backup offers no Restore. A VM's Backups tab names the schedules that cover it. README: a paragraph on schedules. A target with schedules is not deleted: its page says to delete them first.
16 lines
578 B
Python
16 lines
578 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>/restore/", views.restore, name="restore"),
|
|
path("schedules/", views.policies, name="policies"),
|
|
path("schedules/<int:policy_id>/", views.policy, name="policy"),
|
|
path("targets/", views.targets, name="targets"),
|
|
path("targets/<int:target_id>/", views.target, name="target"),
|
|
path("vm/<int:instance_id>/create/", views.create, name="create"),
|
|
]
|