1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
webvirtcloud/vmbackups
catborise 84d633af08 fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come
A download writes its volume under its final name, so the volume was
offered while half written. #685 kept a copy and an attach away from
it; a new VM and a CD-ROM still took it. The VM create job now claims
the volumes it is made from (a writable one exclusive, a template or a
CD-ROM image shared), and adding a CD-ROM or inserting media holds the
ISO's volume shared and reads the ISO again in that pool under the
claim (iso_location, iso_path_in). Each is refused with the download
named.

A claim's key holds a pool's and a volume's names: longer than 255
characters on PostgreSQL it failed the request; Claim.resource is text.

A pool that belongs to more than one backup target is not stopped while
a backup to any of them runs (it took the first target only).

The download read 1 MiB at a time: on a slow server a cancel and the
progress waited for a whole MiB. It reads what has come (read1).
2026-11-20 16:59:01 +03:00
..
migrations feat(backups): a schedule also keeps weekly and monthly backups 2026-11-19 22:28:44 +03:00
static/vmbackups fix(vmbackups): eighth audit: retention reads each VM once, no reload while typing 2026-11-18 15:53:18 +03:00
templates/vmbackups feat(computes): a box on the Computes page tells what wants a look 2026-11-19 23:22:35 +03:00
tests fix: a volume a job writes is not copied, attached or its pool stopped; download progress each second 2026-11-20 15:38:06 +03:00
__init__.py feat(vmbackups): the backups app and its records 2026-11-17 07:32:35 +03:00
api.py fix: the API verifies a backup and shows what was found; Docker's health check reads /healthz 2026-11-19 21:03:54 +03:00
apps.py feat(vmbackups): the backups app and its records 2026-11-17 07:32:35 +03:00
forms.py feat(backups): a schedule also keeps weekly and monthly backups 2026-11-19 22:28:44 +03:00
jobs.py fix: a volume a job writes is not copied, attached or its pool stopped; download progress each second 2026-11-20 15:38:06 +03:00
models.py feat(backups): a schedule also keeps weekly and monthly backups 2026-11-19 22:28:44 +03:00
schedule.py feat(alerts): mail and webhook alerts, and /healthz for a monitor 2026-11-19 16:10:37 +03:00
serializers.py fix: the API verifies a backup and shows what was found; Docker's health check reads /healthz 2026-11-19 21:03:54 +03:00
urls.py feat(backups): verify a backup's files on demand 2026-11-19 16:10:19 +03:00
utils.py fix: a downloading volume is not put in a new VM or a CD-ROM; slow downloads read as bytes come 2026-11-20 16:59:01 +03:00
views.py feat(computes): a box on the Computes page tells what wants a look 2026-11-19 23:22:35 +03:00