1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00

fix(vmbackups): fifth audit: offline copies, domain file mode, target check

- An offline backup is not published when the VM was started while its
  disks were copied (its NVRAM and TPM state would be newer than the
  disks); recovery does not publish it either.
- A cancel asked during the last disk of an offline copy is honoured:
  the copies are removed instead of the backup being published.
- The backup's domain definition is written 0600, as the TPM state is:
  it holds the graphics passwords.
- The daily target check does not mark missing a backup finished in the
  last 10 minutes: written through another compute, its files may not
  be listed yet by this one's NFS client.
This commit is contained in:
catborise 2026-11-18 12:19:13 +03:00
parent 57d4b61c6e
commit 132676a772
7 changed files with 366 additions and 310 deletions

Binary file not shown.

View file

@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-17 20:27+0000\n"
"POT-Creation-Date: 2026-11-18 09:17+0000\n"
"PO-Revision-Date: 2020-11-04 12:00+0000\n"
"Last-Translator: catborise <muhammetalisag@gmail.com>, 2020\n"
"Language-Team: Turkish (https://www.transifex.com/catborise/teams/110663/tr/)\n"
@ -67,7 +67,7 @@ msgstr "Geçersiz anahtar"
#: accounts/forms.py:95 computes/templates/computes/balance.html:61
#: computes/templates/computes/balance.html:108
#: computes/templates/computes/bulk_migrate.html:65
#: computes/templates/computes/instances.html:46
#: computes/templates/computes/instances.html:53
#: instances/templates/add_instance_volume.html:39
#: instances/templates/allinstances_index_grouped.html:11
#: instances/templates/allinstances_index_nongrouped.html:6
@ -751,7 +751,7 @@ msgstr "Listelerde tüm sanal makineleri ve sunucuları salt okunur görme"
#: admin/forms.py:92 admin/templates/admin/logs.html:39
#: admin/templates/admin/user_list.html:24
#: admin/templates/admin/user_list.html:34
#: computes/templates/computes/instances.html:47
#: computes/templates/computes/instances.html:54
#: instances/templates/add_instance_owner_block.html:17
#: instances/templates/instances/stats_tab.html:70
#: operations/templates/operations/job.html:21
@ -797,7 +797,7 @@ msgstr "vCPU"
#: admin/forms.py:212 computes/templates/computes/balance.html:62
#: computes/templates/computes/bulk_migrate.html:67
#: computes/templates/computes/instances.html:50
#: computes/templates/computes/instances.html:57
#: computes/templates/computes/list.html:62
#: computes/templates/overview.html:110 computes/templates/overview.html:194
#: instances/templates/allinstances_index_grouped.html:17
@ -818,8 +818,8 @@ msgid "Disk"
msgstr "Disk"
#: admin/forms.py:214 instances/templates/instance.html:112
#: templates/navbar.html:21 vmbackups/templates/vmbackups/index.html:7
#: vmbackups/templates/vmbackups/index.html:9
#: templates/navbar.html:21 vmbackups/templates/vmbackups/index.html:8
#: vmbackups/templates/vmbackups/index.html:10
#: vmbackups/templates/vmbackups/policies.html:8
#: vmbackups/templates/vmbackups/restore.html:9
#: vmbackups/templates/vmbackups/restore_disk.html:9
@ -1017,7 +1017,7 @@ msgstr "Tamamlandı"
#: admin/templates/admin/logs.html:56 admin/views.py:395 logs/views.py:18
#: operations/templates/operations/job.html:110
#: vmbackups/templates/vmbackups/index.html:33
#: vmbackups/templates/vmbackups/index.html:34
#: vmbackups/templates/vmbackups/policy.html:38
#: vmbackups/templates/vmbackups/state.html:1
msgid "Failed"
@ -1933,7 +1933,7 @@ msgstr "Diğer"
msgid "Stored, leave empty to keep"
msgstr "Kayıtlı, korumak için boş bırakın"
#: computes/forms.py:31 computes/templates/computes/instances.html:46
#: computes/forms.py:31 computes/templates/computes/instances.html:53
#: instances/templates/instances/settings_tab.html:872
#: instances/templates/instances/settings_tab.html:904
#: instances/templates/instances/snapshots_tab.html:27
@ -2087,7 +2087,7 @@ msgstr ""
"sanal makinenin root parolasını ve SSH anahtarını bununla ayarlar; boş: bu "
"sunucuda ayarlanamazlar"
#: computes/models.py:75
#: computes/models.py:75 computes/templates/computes/instances.html:12
#, python-format
msgid "%(compute)s is in maintenance: no new VM or migration comes to it"
msgstr "%(compute)s bakımda: ona yeni sanal makine ya da taşıma gelmez"
@ -2265,7 +2265,7 @@ msgstr "Yerinde tuttunuz: taşınabilmesi için işaretleyin"
#: computes/templates/computes/bulk_migrate.html:6
#: computes/templates/computes/bulk_migrate.html:7
#: computes/templates/computes/instances.html:15
#: computes/templates/computes/instances.html:22
msgid "Bulk Migrate"
msgstr "Toplu Taşı"
@ -2318,7 +2318,7 @@ msgid "Also migrate the shut-off VMs"
msgstr "Kapalı sanal makineleri de taşı"
#: computes/templates/computes/bulk_migrate.html:66
#: computes/templates/computes/instances.html:48
#: computes/templates/computes/instances.html:55
#: instances/templates/allinstances_index_grouped.html:12
#: instances/templates/allinstances_index_nongrouped.html:10
msgid "Status"
@ -2569,29 +2569,30 @@ msgstr "Parolalar"
msgid "Devices"
msgstr "Aygıtlar"
#: computes/templates/computes/instances.html:11
#: computes/templates/computes/instances.html:13
#: computes/templates/computes/instances.html:17
msgid "New Instance"
msgstr "Yeni sanal makine"
#: computes/templates/computes/instances.html:31
#: computes/templates/computes/instances.html:38
#, python-format
msgid "Problem occurred with host %(name)s: %(error)s"
msgstr "%(name)s sunucusuyla ilgili bir sorun oluştu: %(error)s"
#: computes/templates/computes/instances.html:37
#: computes/templates/computes/instances.html:44
#: computes/templates/computes/list.html:19
msgid "Warning"
msgstr "Uyarı"
#: computes/templates/computes/instances.html:38
#: computes/templates/computes/instances.html:45
msgid "Hypervisor doesn't have any Instances"
msgstr "Hipervizör üzerinde hiç sanal makine yok"
#: computes/templates/computes/instances.html:49
#: computes/templates/computes/instances.html:56
msgid "VCPU"
msgstr "VCPU"
#: computes/templates/computes/instances.html:51
#: computes/templates/computes/instances.html:58
#: computes/templates/computes/list.html:63
#: instances/templates/allinstances_index_grouped.html:18
#: instances/templates/allinstances_index_nongrouped.html:16
@ -3303,7 +3304,7 @@ msgstr ""
msgid "The name of the virtual machine must not contain any special characters"
msgstr "Sanal makine adı özel karakterler içeremez"
#: instances/jobs.py:73 vmbackups/jobs.py:138
#: instances/jobs.py:73 vmbackups/jobs.py:140
msgid "The VM moved to another compute after the job was queued"
msgstr "İş kuyruğa alındıktan sonra sanal makine başka bir sunucuya taşındı"
@ -3324,17 +3325,17 @@ msgstr "Klonun adını boş adlar listesinden seçin"
msgid "%(quota)s: cannot create '%(clone_name)s'."
msgstr "%(quota)s: '%(clone_name)s' oluşturulamıyor."
#: instances/jobs.py:206 instances/jobs.py:646 vmbackups/jobs.py:681
#: instances/jobs.py:206 instances/jobs.py:646 vmbackups/jobs.py:701
#, python-format
msgid "Instance '%(clone_name)s' already exists!"
msgstr "'%(clone_name)s' sanal makinesi zaten mevcut!"
#: instances/jobs.py:208 vmbackups/jobs.py:683
#: instances/jobs.py:208 vmbackups/jobs.py:703
#, python-format
msgid "Instance name '%(clone_name)s' is longer than 64 characters"
msgstr "'%(clone_name)s' sanal makine adı 64 karakterden uzun"
#: instances/jobs.py:211 vmbackups/jobs.py:685
#: instances/jobs.py:211 vmbackups/jobs.py:705
#, python-format
msgid "Instance name '%(clone_name)s' contains invalid characters!"
msgstr "Sanal makine adı '%(clone_name)s' geçersiz karakterler içermektedir!"
@ -3491,12 +3492,12 @@ msgid "Clone VM"
msgstr "Sanal makineyi klonla"
#: instances/jobs.py:656 instances/jobs.py:663 instances/jobs.py:1005
#: vmbackups/jobs.py:355 vmbackups/jobs.py:848 vmbackups/jobs.py:1030
#: vmbackups/jobs.py:1205
#: vmbackups/jobs.py:361 vmbackups/jobs.py:868 vmbackups/jobs.py:1050
#: vmbackups/jobs.py:1225
msgid "Copying disks"
msgstr "Diskler kopyalanıyor"
#: instances/jobs.py:715 vmbackups/jobs.py:435
#: instances/jobs.py:715 vmbackups/jobs.py:445
msgid "libvirt has no result of the copy"
msgstr "libvirt'te kopyanın sonucu yok"
@ -3509,7 +3510,7 @@ msgstr ""
"Kopyalama başarısız oldu: %(error)s. Konuğun dosya sistemleri çözülemedi "
"(%(thaw)s); şununla çözün: virsh domfsthaw %(vm)s"
#: instances/jobs.py:729 instances/jobs.py:821 vmbackups/jobs.py:443
#: instances/jobs.py:729 instances/jobs.py:821 vmbackups/jobs.py:453
msgid "The copy failed"
msgstr "Kopyalama başarısız oldu"
@ -3531,11 +3532,11 @@ msgstr ""
"Klonun bir birimi oluşturuluyordu; şu birimleri kontrol edin, sonra bu işi "
"çözün: %(volumes)s"
#: instances/jobs.py:801 vmbackups/jobs.py:480
#: instances/jobs.py:801 vmbackups/jobs.py:490
msgid "The job stopped before the copy started"
msgstr "İş, kopyalama başlamadan durdu"
#: instances/jobs.py:808 vmbackups/jobs.py:528
#: instances/jobs.py:808 vmbackups/jobs.py:538
msgid "libvirt is still copying the disks"
msgstr "libvirt diskleri hâlâ kopyalıyor"
@ -3606,7 +3607,7 @@ msgstr ""
msgid "Create VM"
msgstr "Sanal makine oluştur"
#: instances/jobs.py:928 instances/jobs.py:975 instances/views.py:2604
#: instances/jobs.py:928 instances/jobs.py:975 instances/views.py:2605
msgid "A virtual machine with this name already exists"
msgstr "Bu isimde bir sanal makine mevcut"
@ -3966,7 +3967,7 @@ msgid "Disk source"
msgstr "Disk kaynağı"
#: instances/templates/add_instance_volume.html:21
#: instances/templates/create_instance_w2.html:134 instances/views.py:2634
#: instances/templates/create_instance_w2.html:134 instances/views.py:2635
msgid "New disk"
msgstr "Yeni disk"
@ -4000,7 +4001,7 @@ msgstr "Harf, rakam, nokta, tire ve alt çizgi."
#: instances/templates/add_instance_volume.html:44
#: instances/templates/instances/settings_tab.html:851
#: vmbackups/templates/vmbackups/index.html:50
#: vmbackups/templates/vmbackups/index.html:51
#: vmbackups/templates/vmbackups/vm_tab.html:42
msgid "Size"
msgstr "Boyut"
@ -4160,8 +4161,8 @@ msgstr "Adres"
#: instances/templates/allinstances.html:105 instances/views.py:240
#: interfaces/templates/interface.html:153 networks/templates/network.html:202
#: vmbackups/templates/vmbackups/index.html:17
#: vmbackups/templates/vmbackups/index.html:48
#: vmbackups/templates/vmbackups/index.html:18
#: vmbackups/templates/vmbackups/index.html:49
#: vmbackups/templates/vmbackups/policy.html:29
msgid "VM"
msgstr "VM"
@ -4367,7 +4368,7 @@ msgstr "Özel CPU modelleri"
msgid "Size (GiB)"
msgstr "Boyut (GiB)"
#: instances/templates/create_instance_w2.html:161 instances/views.py:2635
#: instances/templates/create_instance_w2.html:161 instances/views.py:2636
msgid "Existing volumes"
msgstr "Mevcut birimler"
@ -4404,7 +4405,7 @@ msgstr "Aygıt"
msgid "Remove"
msgstr "Kaldır"
#: instances/templates/create_instance_w2.html:194 instances/views.py:2636
#: instances/templates/create_instance_w2.html:194 instances/views.py:2637
msgid "Clone from template"
msgstr "Şablondan klonla"
@ -6653,8 +6654,8 @@ msgstr "Çok fazla arama hâlâ çalışıyor; birazdan yeniden deneyin."
#: operations/templates/operations/jobs.html:38
#: operations/templates/operations/jobs.html:62
#: storages/templates/storage.html:91
#: vmbackups/templates/vmbackups/index.html:28
#: vmbackups/templates/vmbackups/index.html:50
#: vmbackups/templates/vmbackups/index.html:29
#: vmbackups/templates/vmbackups/index.html:51
#: vmbackups/templates/vmbackups/policies.html:18
#: vmbackups/templates/vmbackups/vm_tab.html:42
msgid "State"
@ -7057,7 +7058,7 @@ msgstr "Ön yükleme sırası başarıyla değiştirildi."
msgid "The XML is empty"
msgstr "XML boş"
#: instances/views.py:1955 instances/views.py:2616
#: instances/views.py:1955 instances/views.py:2617
#, python-format
msgid "The XML is not well-formed: %(error)s"
msgstr "XML düzgün biçimlendirilmemiş: %(error)s"
@ -7213,28 +7214,28 @@ msgstr "Şablon olup olmadığını değiştirmek için sanal makineyi kapatın.
msgid "%(quota)s: '%(instance_name)s' stays a template."
msgstr "%(quota)s: '%(instance_name)s' şablon olarak kalıyor."
#: instances/views.py:2602
#: instances/views.py:2603
msgid "The XML has no name"
msgstr "XML'de ad yok"
#: instances/views.py:2620 webvirtcloud/middleware.py:157
#: instances/views.py:2621 webvirtcloud/middleware.py:157
#, python-format
msgid "libvirt Error - %(exception)s"
msgstr "libvirt Hatası - %(exception)s"
#: instances/views.py:2634
#: instances/views.py:2635
msgid "An empty disk of the size you set"
msgstr "Belirlediğiniz boyutta boş bir disk"
#: instances/views.py:2635
#: instances/views.py:2636
msgid "Volumes already in a pool"
msgstr "Bir havuzda zaten bulunan birimler"
#: instances/views.py:2636
#: instances/views.py:2637
msgid "A copy of a template volume"
msgstr "Bir şablon biriminin kopyası"
#: instances/views.py:2726
#: instances/views.py:2727
msgid ""
"This host has no running storage pool for the VM's disks: add or start one on"
" its Storage page."
@ -7242,29 +7243,29 @@ msgstr ""
"Bu sunucuda sanal makinenin diskleri için çalışan bir depolama havuzu yok: "
"Depolama sayfasından bir tane ekleyin ya da başlatın."
#: instances/views.py:2728
#: instances/views.py:2729
msgid "This host has no network for the VM: add one on its Networks page."
msgstr ""
"Bu sunucuda sanal makine için ağ yok: Ağlar sayfasından bir tane ekleyin."
#: instances/views.py:2760
#: instances/views.py:2761
#, python-format
msgid "The machine type is q35, not %(machine)s: UEFI Secure Boot needs it"
msgstr "Makine türü %(machine)s değil q35: UEFI Secure Boot bunu gerektiriyor"
#: instances/views.py:2789
#: instances/views.py:2790
msgid "Flavor Created"
msgstr "Flavor Oluşturuldu"
#: instances/views.py:2797
#: instances/views.py:2798
msgid "Create Flavor"
msgstr "Kullanıcı Oluştur"
#: instances/views.py:2809
#: instances/views.py:2810
msgid "Flavor Deleted"
msgstr "Flavor Silindi"
#: instances/views.py:2815
#: instances/views.py:2816
msgid "Only the size template goes; VMs made from it keep their size."
msgstr ""
"Yalnızca boyut şablonu silinir; ondan oluşturulan sanal makineler boyutlarını"
@ -8320,8 +8321,8 @@ msgstr "Filtre oluştur"
#: nwfilters/templates/nwfilter.html:15 nwfilters/templates/nwfilter.html:54
#: operations/templates/operations/jobs.html:46
#: vmbackups/templates/vmbackups/index.html:15
#: vmbackups/templates/vmbackups/index.html:39
#: vmbackups/templates/vmbackups/index.html:16
#: vmbackups/templates/vmbackups/index.html:40
msgid "Filter"
msgstr "Filtre"
@ -8359,7 +8360,7 @@ msgid "Parameters"
msgstr "Parametreler"
#: nwfilters/templates/nwfilter.html:64
#: vmbackups/templates/vmbackups/index.html:35
#: vmbackups/templates/vmbackups/index.html:36
#: vmbackups/templates/vmbackups/state.html:1
msgid "Missing"
msgstr "Eksik"
@ -8674,7 +8675,7 @@ msgid "All kinds"
msgstr "Tüm türler"
#: operations/templates/operations/jobs.html:39
#: vmbackups/templates/vmbackups/index.html:30
#: vmbackups/templates/vmbackups/index.html:31
msgid "All states"
msgstr "Tüm durumlar"
@ -9838,7 +9839,7 @@ msgstr ""
msgid "Choose a compute or VMs, not both"
msgstr "Bir sunucu ya da sanal makineler seçin, ikisini birden değil"
#: vmbackups/forms.py:108 vmbackups/jobs.py:110
#: vmbackups/forms.py:108 vmbackups/jobs.py:112
#, python-format
msgid "Backup target %(target)s has no storage pool on %(compute)s"
msgstr "%(target)s yedek hedefinin %(compute)s üzerinde depolama havuzu yok"
@ -9847,17 +9848,17 @@ msgstr "%(target)s yedek hedefinin %(compute)s üzerinde depolama havuzu yok"
msgid "Keep one backup at least"
msgstr "En az bir yedek tutun"
#: vmbackups/jobs.py:72
#: vmbackups/jobs.py:74
#, python-format
msgid "Backup target %(target)s is not open to VM owners"
msgstr "%(target)s yedek hedefi VM sahiplerine açık değil"
#: vmbackups/jobs.py:86
#: vmbackups/jobs.py:88
msgid ""
"You have no backup quota; an administrator sets it with your user's quota"
msgstr "Yedek kotanız yok; bir yönetici bunu kullanıcı kotanızda ayarlar"
#: vmbackups/jobs.py:90
#: vmbackups/jobs.py:92
#, python-format
msgid ""
"The backup needs about %(needed)s GiB; %(used)s GiB of your %(limit)d GiB "
@ -9866,12 +9867,12 @@ msgstr ""
"Yedek yaklaşık %(needed)s GiB gerektiriyor; %(limit)d GiB yedek kotanızın "
"%(used)s GiB'ı kullanılıyor"
#: vmbackups/jobs.py:120
#: vmbackups/jobs.py:122
msgid "The VM must be running, paused or shut off to be backed up"
msgstr ""
"Yedeklenmek için sanal makine çalışıyor, duraklatılmış ya da kapalı olmalı"
#: vmbackups/jobs.py:124
#: vmbackups/jobs.py:126
msgid ""
"A running VM's backup needs libvirt 11.10 or later; shut the VM down to back "
"it up"
@ -9879,45 +9880,49 @@ msgstr ""
"Çalışan bir sanal makinenin yedeği libvirt 11.10 veya sonrasını gerektirir; "
"yedeklemek için sanal makineyi kapatın"
#: vmbackups/jobs.py:126
#: vmbackups/jobs.py:128
msgid "A paused VM's file systems cannot be frozen"
msgstr "Duraklatılmış bir sanal makinenin dosya sistemleri dondurulamaz"
#: vmbackups/jobs.py:128
#: vmbackups/jobs.py:130
msgid "The guest agent does not answer: the file systems cannot be frozen"
msgstr "Konuk ajanı yanıt vermiyor: dosya sistemleri dondurulamaz"
#: vmbackups/jobs.py:185
#: vmbackups/jobs.py:187
msgid ""
"The VM's NVRAM file changed while it was backed up; back the VM up again"
msgstr ""
"Sanal makinenin NVRAM dosyası yedeklenirken değişti; sanal makineyi yeniden "
"yedekleyin"
#: vmbackups/jobs.py:295
#: vmbackups/jobs.py:235
msgid "The VM started while its disks were copied; back it up again"
msgstr "VM, diskleri kopyalanırken başlatıldı; yeniden yedekleyin"
#: vmbackups/jobs.py:301
msgid "Back up VM"
msgstr "Sanal makineyi yedekle"
#: vmbackups/jobs.py:334
#: vmbackups/jobs.py:340
msgid "The schedule's window ended before the backup could start"
msgstr "Yedek başlayamadan zamanlamanın penceresi bitti"
#: vmbackups/jobs.py:336
#: vmbackups/jobs.py:342
#, python-format
msgid ""
"%(compute)s went into maintenance before the scheduled backup could start"
msgstr "Zamanlanmış yedek başlayamadan %(compute)s bakıma alındı"
#: vmbackups/jobs.py:371 vmbackups/jobs.py:444
#: vmbackups/jobs.py:381 vmbackups/jobs.py:454
msgid "Writing the backup's files"
msgstr "Yedeğin dosyaları yazılıyor"
#: vmbackups/jobs.py:456
#: vmbackups/jobs.py:466
msgid "The guest's file systems could not be thawed; trying again"
msgstr ""
"Konuğun dosya sistemlerinin dondurulması kaldırılamadı; yeniden deneniyor"
#: vmbackups/jobs.py:505
#: vmbackups/jobs.py:515
#, python-format
msgid ""
"The VM is no longer on the compute the job ran on; check these volumes of the"
@ -9926,7 +9931,7 @@ msgstr ""
"Sanal makine artık işin çalıştığı sunucuda değil; yedek hedefindeki şu "
"birimleri kontrol edin, sonra bu işi çözün: %(volumes)s"
#: vmbackups/jobs.py:522
#: vmbackups/jobs.py:532
#, python-format
msgid ""
"A disk was being copied when the job stopped; check these volumes of the "
@ -9935,7 +9940,7 @@ msgstr ""
"İş durduğunda bir disk kopyalanıyordu; yedek hedefindeki şu birimleri kontrol"
" edin, sonra bu işi çözün: %(volumes)s"
#: vmbackups/jobs.py:532
#: vmbackups/jobs.py:542
#, python-format
msgid ""
"Another backup runs on the VM; check these volumes of the backup target, then"
@ -9944,7 +9949,7 @@ msgstr ""
"Sanal makinede başka bir yedekleme çalışıyor; yedek hedefindeki şu birimleri "
"kontrol edin, sonra bu işi çözün: %(volumes)s"
#: vmbackups/jobs.py:538
#: vmbackups/jobs.py:548
#, python-format
msgid ""
"libvirt has no result of the copy; check these volumes of the backup target, "
@ -9953,95 +9958,95 @@ msgstr ""
"libvirt'te kopyanın sonucu yok; yedek hedefindeki şu birimleri kontrol edin, "
"sonra bu işi çözün: %(volumes)s"
#: vmbackups/jobs.py:546
#: vmbackups/jobs.py:556
msgid "The job stopped before the copy ended"
msgstr "İş, kopyalama bitmeden durdu"
#: vmbackups/jobs.py:553
#: vmbackups/jobs.py:563
#, python-format
msgid "The backup's files could not be written: %(error)s"
msgstr "Yedeğin dosyaları yazılamadı: %(error)s"
#: vmbackups/jobs.py:573
#: vmbackups/jobs.py:583
#, python-format
msgid "No compute of backup target %(target)s reaches its storage pool"
msgstr ""
"%(target)s yedek hedefinin hiçbir sunucusu depolama havuzuna erişemiyor"
#: vmbackups/jobs.py:607 vmbackups/templates/vmbackups/delete_form.html:11
#: vmbackups/jobs.py:626 vmbackups/templates/vmbackups/delete_form.html:11
msgid "Delete backup"
msgstr "Yedeği sil"
#: vmbackups/jobs.py:627
#: vmbackups/jobs.py:646
msgid "This backup is being made; cancel its job to stop it"
msgstr "Bu yedek alınıyor; durdurmak için işini iptal edin"
#: vmbackups/jobs.py:629 vmbackups/jobs.py:644
#: vmbackups/jobs.py:648 vmbackups/jobs.py:665
msgid "Later backups depend on this one; delete them first"
msgstr "Sonraki yedekler buna dayanıyor; önce onları silin"
#: vmbackups/jobs.py:642
#: vmbackups/jobs.py:663
msgid "The backup is no longer beyond what its schedule keeps; it is kept"
msgstr "Yedek artık zamanlamasının tuttuğu sayının dışında değil; tutuluyor"
#: vmbackups/jobs.py:662
#: vmbackups/jobs.py:682
msgid "The job stopped before the deletion began"
msgstr "İş, silme başlamadan durdu"
#: vmbackups/jobs.py:698
#: vmbackups/jobs.py:718
#, python-format
msgid "The backup's file %(name)s is missing from the target"
msgstr "Yedeğin %(name)s dosyası hedefte yok"
#: vmbackups/jobs.py:701 vmbackups/jobs.py:703
#: vmbackups/jobs.py:721 vmbackups/jobs.py:723
#, python-format
msgid "The backup's file %(name)s differs from the one written"
msgstr "Yedeğin %(name)s dosyası yazılandan farklı"
#: vmbackups/jobs.py:714
#: vmbackups/jobs.py:734
#, python-format
msgid "The backup taken %(time)s builds on a backup that is gone"
msgstr "%(time)s tarihli yedek artık olmayan bir yedeğe dayanıyor"
#: vmbackups/jobs.py:728
#: vmbackups/jobs.py:748
#, python-format
msgid "The backup's TPM state file %(name)s is not a plain file name"
msgstr "Yedeğin TPM durum dosyası %(name)s düz bir dosya adı değil"
#: vmbackups/jobs.py:740 vmbackups/templates/vmbackups/restore.html:7
#: vmbackups/jobs.py:760 vmbackups/templates/vmbackups/restore.html:7
msgid "Restore backup"
msgstr "Yedeği geri yükle"
#: vmbackups/jobs.py:774
#: vmbackups/jobs.py:794
#, python-format
msgid "%(quota)s: cannot restore %(name)s"
msgstr "%(quota)s: %(name)s geri yüklenemiyor"
#: vmbackups/jobs.py:781 vmbackups/jobs.py:987 vmbackups/jobs.py:1171
#: vmbackups/jobs.py:801 vmbackups/jobs.py:1007 vmbackups/jobs.py:1191
msgid "Only a ready backup is restored"
msgstr "Yalnızca hazır bir yedek geri yüklenir"
#: vmbackups/jobs.py:818
#: vmbackups/jobs.py:838
#, python-format
msgid "A VM named %(name)s exists on %(compute)s"
msgstr "%(compute)s üzerinde %(name)s adlı bir sanal makine var"
#: vmbackups/jobs.py:826 vmbackups/jobs.py:1024 vmbackups/jobs.py:1201
#: vmbackups/jobs.py:846 vmbackups/jobs.py:1044 vmbackups/jobs.py:1221
#, python-format
msgid "This host has no active directory storage pool %(pool)s"
msgstr "Bu sunucuda %(pool)s adlı etkin bir dizin depolama havuzu yok"
#: vmbackups/jobs.py:844
#: vmbackups/jobs.py:864
#, python-format
msgid "The NVRAM file %(path)s exists already"
msgstr "%(path)s NVRAM dosyası zaten var"
#: vmbackups/jobs.py:884 vmbackups/jobs.py:910
#: vmbackups/jobs.py:904 vmbackups/jobs.py:930
#, python-format
msgid "The VM was restored; it did not start: %(error)s"
msgstr "Sanal makine geri yüklendi; başlamadı: %(error)s"
#: vmbackups/jobs.py:914 vmbackups/jobs.py:1130
#: vmbackups/jobs.py:934 vmbackups/jobs.py:1150
#, python-format
msgid ""
"A disk was being copied when the job stopped; check this volume, then resolve"
@ -10050,7 +10055,7 @@ msgstr ""
"İş durduğunda bir disk kopyalanıyordu; bu birimi kontrol edin, sonra bu işi "
"çözün: %(volumes)s"
#: vmbackups/jobs.py:919 vmbackups/jobs.py:1136
#: vmbackups/jobs.py:939 vmbackups/jobs.py:1156
#, python-format
msgid ""
"Storage pool %(pool)s is not active; the restore's copies in it are removed "
@ -10059,20 +10064,20 @@ msgstr ""
"%(pool)s depolama havuzu etkin değil; geri yüklemenin içindeki kopyaları "
"havuz etkin olunca kaldırılır"
#: vmbackups/jobs.py:933
#: vmbackups/jobs.py:953
msgid "The VM was not defined; its copies were removed"
msgstr "Sanal makine tanımlanmadı; kopyaları kaldırıldı"
#: vmbackups/jobs.py:946
#: vmbackups/jobs.py:966
msgid "Shut the VM down to restore a backup over it"
msgstr "Üzerine yedek geri yüklemek için VM'i kapatın"
#: vmbackups/jobs.py:949
#: vmbackups/jobs.py:969
msgid "The VM has snapshots; delete them to restore a backup over it"
msgstr ""
"VM'in anlık görüntüleri var; üzerine yedek geri yüklemek için onları silin"
#: vmbackups/jobs.py:954
#: vmbackups/jobs.py:974
#, python-format
msgid ""
"The VM's disks (%(now)s) are not the backup's (%(then)s); restore it as a new"
@ -10081,7 +10086,7 @@ msgstr ""
"VM'in diskleri (%(now)s) yedeğinkiler (%(then)s) değil; yeni bir VM olarak ya"
" da tek disk olarak geri yükleyin"
#: vmbackups/jobs.py:958
#: vmbackups/jobs.py:978
#, python-format
msgid ""
"The backup's disk %(dev)s is larger than the VM's now; restore it as a new VM"
@ -10089,37 +10094,37 @@ msgstr ""
"Yedeğin %(dev)s diski VM'in şimdiki diskinden büyük; yeni bir VM olarak geri "
"yükleyin"
#: vmbackups/jobs.py:961
#: vmbackups/jobs.py:981
msgid "The VM's UEFI firmware changed since the backup; restore it as a new VM"
msgstr ""
"VM'in UEFI donanım yazılımı yedekten sonra değişti; yeni bir VM olarak geri "
"yükleyin"
#: vmbackups/jobs.py:963
#: vmbackups/jobs.py:983
msgid "The VM's TPM changed since the backup; restore it as a new VM"
msgstr "VM'in TPM'i yedekten sonra değişti; yeni bir VM olarak geri yükleyin"
#: vmbackups/jobs.py:978
#: vmbackups/jobs.py:998
msgid "Restore backup over the VM"
msgstr "Yedeği VM'in üzerine geri yükle"
#: vmbackups/jobs.py:991
#: vmbackups/jobs.py:1011
msgid "The backup's VM is no longer in the panel; restore it as a new VM"
msgstr "Yedeğin VM'i artık panelde yok; yeni bir VM olarak geri yükleyin"
#: vmbackups/jobs.py:1015
#: vmbackups/jobs.py:1035
msgid "The VM's disks changed after the job was queued"
msgstr "İş kuyruğa alındıktan sonra VM'in diskleri değişti"
#: vmbackups/jobs.py:1047
#: vmbackups/jobs.py:1067
msgid "The VM changed while its backup was copied; it keeps its disks"
msgstr "Yedeği kopyalanırken VM değişti; VM disklerini koruyor"
#: vmbackups/jobs.py:1050
#: vmbackups/jobs.py:1070
msgid "Replacing the VM's disks"
msgstr "VM'in diskleri değiştiriliyor"
#: vmbackups/jobs.py:1110
#: vmbackups/jobs.py:1130
msgid ""
"The VM moved to another compute; check its disks and the restore's copies, "
"then resolve this job"
@ -10127,7 +10132,7 @@ msgstr ""
"VM başka bir sunucuya taşındı; disklerini ve geri yüklemenin kopyalarını "
"denetleyin, sonra bu işi çözümleyin"
#: vmbackups/jobs.py:1123
#: vmbackups/jobs.py:1143
msgid ""
"The VM was started while its disks were being replaced; check its disks, then"
" resolve this job"
@ -10135,25 +10140,25 @@ msgstr ""
"VM'in diskleri değiştirilirken VM başlatıldı; disklerini denetleyin, sonra bu"
" işi çözümleyin"
#: vmbackups/jobs.py:1141
#: vmbackups/jobs.py:1161
msgid "The VM keeps its disks; the restore's copies were removed"
msgstr "VM disklerini koruyor; geri yüklemenin kopyaları silindi"
#: vmbackups/jobs.py:1153
#: vmbackups/jobs.py:1173
msgid "Restore a disk of a backup"
msgstr "Yedeğin bir diskini geri yükle"
#: vmbackups/jobs.py:1164
#: vmbackups/jobs.py:1184
#, python-format
msgid "The backup has no disk %(dev)s"
msgstr "Yedekte %(dev)s diski yok"
#: vmbackups/jobs.py:1174
#: vmbackups/jobs.py:1194
#, python-format
msgid "%(name)s is not a volume name"
msgstr "%(name)s bir birim adı değil"
#: vmbackups/jobs.py:1233
#: vmbackups/jobs.py:1253
#, python-format
msgid ""
"The disk was being copied when the job stopped; check this volume, then "
@ -10162,15 +10167,15 @@ msgstr ""
"İş durduğunda disk kopyalanıyordu; bu birimi denetleyin, sonra bu işi "
"çözümleyin: %(volume)s"
#: vmbackups/jobs.py:1236
#: vmbackups/jobs.py:1256
msgid "The disk was not restored"
msgstr "Disk geri yüklenmedi"
#: vmbackups/jobs.py:1257 vmbackups/templates/vmbackups/target.html:23
#: vmbackups/jobs.py:1277 vmbackups/templates/vmbackups/target.html:23
msgid "Read backups from target"
msgstr "Yedekleri hedeften oku"
#: vmbackups/jobs.py:1318
#: vmbackups/jobs.py:1345
#, python-format
msgid ""
"Not read, as a file of the backup is missing, changed or unreadable: "
@ -10179,24 +10184,24 @@ msgstr ""
"Yedeğin bir dosyası eksik, değişmiş ya da okunamaz olduğu için okunmadı: "
"%(names)s"
#: vmbackups/jobs.py:1334
#: vmbackups/jobs.py:1361
msgid "Check backup target"
msgstr "Yedek hedefini denetle"
#: vmbackups/jobs.py:1365
#: vmbackups/jobs.py:1395
#, python-format
msgid "Files of these backups are missing from the target: %(backups)s"
msgstr "Şu yedeklerin dosyaları hedefte yok: %(backups)s"
#: vmbackups/schedule.py:28
#: vmbackups/schedule.py:29
msgid "Not started within 6 hours of its time"
msgstr "Zamanından sonraki 6 saat içinde başlatılmadı"
#: vmbackups/schedule.py:29
#: vmbackups/schedule.py:30
msgid "The host was in maintenance"
msgstr "Sunucu bakımdaydı"
#: vmbackups/schedule.py:30
#: vmbackups/schedule.py:31
msgid "The schedule's owner is no longer an active superuser"
msgstr "Zamanlamanın sahibi artık etkin bir süper kullanıcı değil"
@ -10248,14 +10253,14 @@ msgstr ""
"%(vm)s VM'inin %(time)s tarihli yedeği silinsin mi? Dosyaları %(target)s "
"hedefinden kaldırılır; bu geri alınamaz."
#: vmbackups/templates/vmbackups/index.html:11
#: vmbackups/templates/vmbackups/index.html:12
#: vmbackups/templates/vmbackups/policies.html:8
#: vmbackups/templates/vmbackups/policy.html:9
#: vmbackups/templates/vmbackups/policy_new.html:8
msgid "Schedules"
msgstr "Zamanlamalar"
#: vmbackups/templates/vmbackups/index.html:12
#: vmbackups/templates/vmbackups/index.html:13
#: vmbackups/templates/vmbackups/target.html:7
#: vmbackups/templates/vmbackups/target.html:9
#: vmbackups/templates/vmbackups/target_new.html:6
@ -10265,59 +10270,59 @@ msgstr "Zamanlamalar"
msgid "Backup targets"
msgstr "Yedek hedefleri"
#: vmbackups/templates/vmbackups/index.html:18
#: vmbackups/templates/vmbackups/index.html:19
msgid "VM name"
msgstr "Sanal makine adı"
#: vmbackups/templates/vmbackups/index.html:21
#: vmbackups/templates/vmbackups/index.html:57
#: vmbackups/templates/vmbackups/index.html:22
#: vmbackups/templates/vmbackups/index.html:58
#: vmbackups/templates/vmbackups/policies.html:17
#: vmbackups/templates/vmbackups/vm_tab.html:42
msgid "Target"
msgstr "Hedef"
#: vmbackups/templates/vmbackups/index.html:23
#: vmbackups/templates/vmbackups/index.html:24
msgid "All targets"
msgstr "Tüm hedefler"
#: vmbackups/templates/vmbackups/index.html:31
#: vmbackups/templates/vmbackups/index.html:32
#: vmbackups/templates/vmbackups/state.html:1
msgid "Ready"
msgstr "Hazır"
#: vmbackups/templates/vmbackups/index.html:32
#: vmbackups/templates/vmbackups/index.html:33
#: vmbackups/templates/vmbackups/state.html:1
msgid "Creating"
msgstr "Oluşturuluyor"
#: vmbackups/templates/vmbackups/index.html:34
#: vmbackups/templates/vmbackups/index.html:35
#: vmbackups/templates/vmbackups/state.html:1
msgid "Deleting"
msgstr "Siliniyor"
#: vmbackups/templates/vmbackups/index.html:48
#: vmbackups/templates/vmbackups/index.html:49
#: vmbackups/templates/vmbackups/vm_tab.html:42
msgid "Time"
msgstr "Zaman"
#: vmbackups/templates/vmbackups/index.html:49
#: vmbackups/templates/vmbackups/index.html:50
#: vmbackups/templates/vmbackups/vm_tab.html:42
msgid "Consistency"
msgstr "Tutarlılık"
#: vmbackups/templates/vmbackups/index.html:60
#: vmbackups/templates/vmbackups/index.html:61
msgid "removed"
msgstr "kaldırıldı"
#: vmbackups/templates/vmbackups/index.html:61
#: vmbackups/templates/vmbackups/index.html:62
msgid "Schedule"
msgstr "Zamanlama"
#: vmbackups/templates/vmbackups/index.html:73
#: vmbackups/templates/vmbackups/index.html:77
msgid "No backup matches the filter."
msgstr "Süzgece uyan yedek yok."
#: vmbackups/templates/vmbackups/index.html:75
#: vmbackups/templates/vmbackups/index.html:79
msgid "No backup yet. Back a VM up from its Backups tab."
msgstr "Henüz yedek yok. Bir sanal makineyi Yedekler sekmesinden yedekleyin."
@ -10657,33 +10662,22 @@ msgid "No backup target has a storage pool on this VM's host."
msgstr ""
"Hiçbir yedek hedefinin bu sanal makinenin sunucusunda depolama havuzu yok."
#: vmbackups/views.py:67
#: vmbackups/views.py:71
#, python-format
msgid "Backup target %(name)s is added."
msgstr "%(name)s yedek hedefi eklendi."
#: vmbackups/views.py:90 vmbackups/views.py:118
#: vmbackups/views.py:92 vmbackups/views.py:103
#, python-format
msgid "Backup target %(target)s has backups; delete them first"
msgstr "%(target)s yedek hedefinde yedekler var; önce onları silin"
#: vmbackups/views.py:93
#: vmbackups/views.py:95
#, python-format
msgid "Backup target %(target)s has schedules; delete them first"
msgstr "%(target)s yedek hedefinin zamanlamaları var; önce onları silin"
#: vmbackups/views.py:102
#, python-format
msgid "VM owners with the backup permission may now use %(target)s."
msgstr ""
"Yedekleme izni olan VM sahipleri artık %(target)s hedefini kullanabilir."
#: vmbackups/views.py:103
#, python-format
msgid "Only superusers use %(target)s now."
msgstr "%(target)s hedefini artık yalnızca süper kullanıcılar kullanır."
#: vmbackups/views.py:135
#: vmbackups/views.py:120
#, python-format
msgid ""
"Storage pool %(pool)s of %(compute)s is not the same directory as storage "
@ -10692,21 +10686,32 @@ msgstr ""
"%(compute)s sunucusunun %(pool)s depolama havuzu, %(other_compute)s "
"sunucusunun %(other)s depolama havuzuyla aynı dizin değil"
#: vmbackups/views.py:171
#: vmbackups/views.py:154
#, python-format
msgid "VM owners with the backup permission may now use %(target)s."
msgstr ""
"Yedekleme izni olan VM sahipleri artık %(target)s hedefini kullanabilir."
#: vmbackups/views.py:155
#, python-format
msgid "Only superusers use %(target)s now."
msgstr "%(target)s hedefini artık yalnızca süper kullanıcılar kullanır."
#: vmbackups/views.py:190
msgid "Choose a backup target"
msgstr "Bir yedek hedefi seçin"
#: vmbackups/views.py:207
#: vmbackups/views.py:229
#, python-format
msgid "The backup of %(vm)s taken %(time)s is being deleted."
msgstr "%(vm)s VM'inin %(time)s tarihli yedeği siliniyor."
#: vmbackups/views.py:304 vmbackups/views.py:325
#: vmbackups/views.py:326 vmbackups/views.py:347
#, python-format
msgid "Backup schedule %(name)s is saved."
msgstr "%(name)s yedekleme zamanlaması kaydedildi."
#: vmbackups/views.py:316
#: vmbackups/views.py:338
#, python-format
msgid "Backup schedule %(name)s is deleted; its backups stay."
msgstr "%(name)s yedekleme zamanlaması silindi; yedekleri duruyor."
@ -12101,10 +12106,10 @@ msgid "Secret %(uuid)s is used by %(named)s; remove it from them first"
msgstr ""
"%(uuid)s parolası %(named)s tarafından kullanılıyor; önce onlardan kaldırın"
#: webvirtcloud/settings.py:320
#: webvirtcloud/settings.py:345
msgid "Localhost"
msgstr "Yerel sunucu"
#: webvirtcloud/settings.py:321
#: webvirtcloud/settings.py:346
msgid "All interfaces"
msgstr "Tüm arabirimler"

Binary file not shown.

View file

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-17 20:27+0000\n"
"POT-Creation-Date: 2026-11-18 09:17+0000\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@ -64,7 +64,7 @@ msgstr "无效的密钥"
#: accounts/forms.py:95 computes/templates/computes/balance.html:61
#: computes/templates/computes/balance.html:108
#: computes/templates/computes/bulk_migrate.html:65
#: computes/templates/computes/instances.html:46
#: computes/templates/computes/instances.html:53
#: instances/templates/add_instance_volume.html:39
#: instances/templates/allinstances_index_grouped.html:11
#: instances/templates/allinstances_index_nongrouped.html:6
@ -728,7 +728,7 @@ msgstr "在列表中查看所有虚拟机和主机(只读)"
#: admin/forms.py:92 admin/templates/admin/logs.html:39
#: admin/templates/admin/user_list.html:24
#: admin/templates/admin/user_list.html:34
#: computes/templates/computes/instances.html:47
#: computes/templates/computes/instances.html:54
#: instances/templates/add_instance_owner_block.html:17
#: instances/templates/instances/stats_tab.html:70
#: operations/templates/operations/job.html:21
@ -771,7 +771,7 @@ msgstr "vCPU"
#: admin/forms.py:212 computes/templates/computes/balance.html:62
#: computes/templates/computes/bulk_migrate.html:67
#: computes/templates/computes/instances.html:50
#: computes/templates/computes/instances.html:57
#: computes/templates/computes/list.html:62
#: computes/templates/overview.html:110 computes/templates/overview.html:194
#: instances/templates/allinstances_index_grouped.html:17
@ -792,8 +792,8 @@ msgid "Disk"
msgstr "磁盘"
#: admin/forms.py:214 instances/templates/instance.html:112
#: templates/navbar.html:21 vmbackups/templates/vmbackups/index.html:7
#: vmbackups/templates/vmbackups/index.html:9
#: templates/navbar.html:21 vmbackups/templates/vmbackups/index.html:8
#: vmbackups/templates/vmbackups/index.html:10
#: vmbackups/templates/vmbackups/policies.html:8
#: vmbackups/templates/vmbackups/restore.html:9
#: vmbackups/templates/vmbackups/restore_disk.html:9
@ -989,7 +989,7 @@ msgstr "完成"
#: admin/templates/admin/logs.html:56 admin/views.py:395 logs/views.py:18
#: operations/templates/operations/job.html:110
#: vmbackups/templates/vmbackups/index.html:33
#: vmbackups/templates/vmbackups/index.html:34
#: vmbackups/templates/vmbackups/policy.html:38
#: vmbackups/templates/vmbackups/state.html:1
msgid "Failed"
@ -1867,7 +1867,7 @@ msgstr "其他"
msgid "Stored, leave empty to keep"
msgstr "已保存,留空则保持不变"
#: computes/forms.py:31 computes/templates/computes/instances.html:46
#: computes/forms.py:31 computes/templates/computes/instances.html:53
#: instances/templates/instances/settings_tab.html:872
#: instances/templates/instances/settings_tab.html:904
#: instances/templates/instances/snapshots_tab.html:27
@ -2012,7 +2012,7 @@ msgstr ""
"主机 /etc/default/webvirt-gstfsd 中的 GSTFSD_KEY:面板用它为已关机的虚拟机设置 root 密码和 SSH "
"密钥;留空:无法在此设置"
#: computes/models.py:75
#: computes/models.py:75 computes/templates/computes/instances.html:12
#, python-format
msgid "%(compute)s is in maintenance: no new VM or migration comes to it"
msgstr "%(compute)s 正在维护:不会在其上创建新虚拟机,也不会迁移虚拟机到它"
@ -2171,7 +2171,7 @@ msgstr "您将其保留在原处:勾选后即可迁移"
#: computes/templates/computes/bulk_migrate.html:6
#: computes/templates/computes/bulk_migrate.html:7
#: computes/templates/computes/instances.html:15
#: computes/templates/computes/instances.html:22
msgid "Bulk Migrate"
msgstr "批量迁移"
@ -2221,7 +2221,7 @@ msgid "Also migrate the shut-off VMs"
msgstr "同时迁移已关机的虚拟机"
#: computes/templates/computes/bulk_migrate.html:66
#: computes/templates/computes/instances.html:48
#: computes/templates/computes/instances.html:55
#: instances/templates/allinstances_index_grouped.html:12
#: instances/templates/allinstances_index_nongrouped.html:10
msgid "Status"
@ -2458,29 +2458,30 @@ msgstr "机密"
msgid "Devices"
msgstr "设备"
#: computes/templates/computes/instances.html:11
#: computes/templates/computes/instances.html:13
#: computes/templates/computes/instances.html:17
msgid "New Instance"
msgstr "新建虚拟机"
#: computes/templates/computes/instances.html:31
#: computes/templates/computes/instances.html:38
#, python-format
msgid "Problem occurred with host %(name)s: %(error)s"
msgstr "主机 %(name)s 出现问题:%(error)s"
#: computes/templates/computes/instances.html:37
#: computes/templates/computes/instances.html:44
#: computes/templates/computes/list.html:19
msgid "Warning"
msgstr "警告"
#: computes/templates/computes/instances.html:38
#: computes/templates/computes/instances.html:45
msgid "Hypervisor doesn't have any Instances"
msgstr "虚拟机管理程序中没有任何虚拟机"
#: computes/templates/computes/instances.html:49
#: computes/templates/computes/instances.html:56
msgid "VCPU"
msgstr "VCPU"
#: computes/templates/computes/instances.html:51
#: computes/templates/computes/instances.html:58
#: computes/templates/computes/list.html:63
#: instances/templates/allinstances_index_grouped.html:18
#: instances/templates/allinstances_index_nongrouped.html:16
@ -3145,7 +3146,7 @@ msgstr "控制台监听的不只是 localhost;只有管理员可以移除其
msgid "The name of the virtual machine must not contain any special characters"
msgstr "虚拟机名称不能包含任何特殊字符"
#: instances/jobs.py:73 vmbackups/jobs.py:138
#: instances/jobs.py:73 vmbackups/jobs.py:140
msgid "The VM moved to another compute after the job was queued"
msgstr "任务排队后,虚拟机已移到另一个计算节点"
@ -3166,17 +3167,17 @@ msgstr "请从可用名称列表中选择克隆的名称"
msgid "%(quota)s: cannot create '%(clone_name)s'."
msgstr "%(quota)s:无法创建“%(clone_name)s”。"
#: instances/jobs.py:206 instances/jobs.py:646 vmbackups/jobs.py:681
#: instances/jobs.py:206 instances/jobs.py:646 vmbackups/jobs.py:701
#, python-format
msgid "Instance '%(clone_name)s' already exists!"
msgstr "虚拟机 '%(clone_name)s' 已存在!"
#: instances/jobs.py:208 vmbackups/jobs.py:683
#: instances/jobs.py:208 vmbackups/jobs.py:703
#, python-format
msgid "Instance name '%(clone_name)s' is longer than 64 characters"
msgstr "虚拟机名称“%(clone_name)s”超过 64 个字符"
#: instances/jobs.py:211 vmbackups/jobs.py:685
#: instances/jobs.py:211 vmbackups/jobs.py:705
#, python-format
msgid "Instance name '%(clone_name)s' contains invalid characters!"
msgstr "虚拟机名称 '%(clone_name)s' 包含无效字符!"
@ -3318,12 +3319,12 @@ msgid "Clone VM"
msgstr "克隆虚拟机"
#: instances/jobs.py:656 instances/jobs.py:663 instances/jobs.py:1005
#: vmbackups/jobs.py:355 vmbackups/jobs.py:848 vmbackups/jobs.py:1030
#: vmbackups/jobs.py:1205
#: vmbackups/jobs.py:361 vmbackups/jobs.py:868 vmbackups/jobs.py:1050
#: vmbackups/jobs.py:1225
msgid "Copying disks"
msgstr "正在复制磁盘"
#: instances/jobs.py:715 vmbackups/jobs.py:435
#: instances/jobs.py:715 vmbackups/jobs.py:445
msgid "libvirt has no result of the copy"
msgstr "libvirt 没有复制的结果"
@ -3334,7 +3335,7 @@ msgid ""
"(%(thaw)s); thaw them with: virsh domfsthaw %(vm)s"
msgstr "复制失败:%(error)s。无法解冻客户机的文件系统(%(thaw)s);请用以下命令解冻:virsh domfsthaw %(vm)s"
#: instances/jobs.py:729 instances/jobs.py:821 vmbackups/jobs.py:443
#: instances/jobs.py:729 instances/jobs.py:821 vmbackups/jobs.py:453
msgid "The copy failed"
msgstr "复制失败"
@ -3352,11 +3353,11 @@ msgid ""
"this job: %(volumes)s"
msgstr "克隆的一个卷正在创建中;请检查这些卷,然后处理此任务:%(volumes)s"
#: instances/jobs.py:801 vmbackups/jobs.py:480
#: instances/jobs.py:801 vmbackups/jobs.py:490
msgid "The job stopped before the copy started"
msgstr "任务在复制开始前停止"
#: instances/jobs.py:808 vmbackups/jobs.py:528
#: instances/jobs.py:808 vmbackups/jobs.py:538
msgid "libvirt is still copying the disks"
msgstr "libvirt 仍在复制磁盘"
@ -3416,7 +3417,7 @@ msgstr "磁盘缓存 %(cache)s 与设置中的原生 (native) 磁盘 I/O 不兼
msgid "Create VM"
msgstr "创建虚拟机"
#: instances/jobs.py:928 instances/jobs.py:975 instances/views.py:2604
#: instances/jobs.py:928 instances/jobs.py:975 instances/views.py:2605
msgid "A virtual machine with this name already exists"
msgstr "同名虚拟机已存在"
@ -3764,7 +3765,7 @@ msgid "Disk source"
msgstr "磁盘来源"
#: instances/templates/add_instance_volume.html:21
#: instances/templates/create_instance_w2.html:134 instances/views.py:2634
#: instances/templates/create_instance_w2.html:134 instances/views.py:2635
msgid "New disk"
msgstr "新磁盘"
@ -3798,7 +3799,7 @@ msgstr "字母、数字、点、短横线和下划线。"
#: instances/templates/add_instance_volume.html:44
#: instances/templates/instances/settings_tab.html:851
#: vmbackups/templates/vmbackups/index.html:50
#: vmbackups/templates/vmbackups/index.html:51
#: vmbackups/templates/vmbackups/vm_tab.html:42
msgid "Size"
msgstr "大小"
@ -3953,8 +3954,8 @@ msgstr "地址"
#: instances/templates/allinstances.html:105 instances/views.py:240
#: interfaces/templates/interface.html:153 networks/templates/network.html:202
#: vmbackups/templates/vmbackups/index.html:17
#: vmbackups/templates/vmbackups/index.html:48
#: vmbackups/templates/vmbackups/index.html:18
#: vmbackups/templates/vmbackups/index.html:49
#: vmbackups/templates/vmbackups/policy.html:29
msgid "VM"
msgstr "虚拟机"
@ -4153,7 +4154,7 @@ msgstr "自定义 CPU 型号"
msgid "Size (GiB)"
msgstr "大小(GiB)"
#: instances/templates/create_instance_w2.html:161 instances/views.py:2635
#: instances/templates/create_instance_w2.html:161 instances/views.py:2636
msgid "Existing volumes"
msgstr "已有卷"
@ -4190,7 +4191,7 @@ msgstr "设备"
msgid "Remove"
msgstr "移除"
#: instances/templates/create_instance_w2.html:194 instances/views.py:2636
#: instances/templates/create_instance_w2.html:194 instances/views.py:2637
msgid "Clone from template"
msgstr "从模板克隆"
@ -6269,8 +6270,8 @@ msgstr "仍在运行的搜索过多;请稍后再试。"
#: operations/templates/operations/jobs.html:38
#: operations/templates/operations/jobs.html:62
#: storages/templates/storage.html:91
#: vmbackups/templates/vmbackups/index.html:28
#: vmbackups/templates/vmbackups/index.html:50
#: vmbackups/templates/vmbackups/index.html:29
#: vmbackups/templates/vmbackups/index.html:51
#: vmbackups/templates/vmbackups/policies.html:18
#: vmbackups/templates/vmbackups/vm_tab.html:42
msgid "State"
@ -6646,7 +6647,7 @@ msgstr "启动顺序已成功更改。"
msgid "The XML is empty"
msgstr "XML 为空"
#: instances/views.py:1955 instances/views.py:2616
#: instances/views.py:1955 instances/views.py:2617
#, python-format
msgid "The XML is not well-formed: %(error)s"
msgstr "XML 格式不正确:%(error)s"
@ -6785,55 +6786,55 @@ msgstr "请关闭虚拟机以更改其是否为模板。"
msgid "%(quota)s: '%(instance_name)s' stays a template."
msgstr "%(quota)s:“%(instance_name)s”仍为模板。"
#: instances/views.py:2602
#: instances/views.py:2603
msgid "The XML has no name"
msgstr "XML 中没有名称"
#: instances/views.py:2620 webvirtcloud/middleware.py:157
#: instances/views.py:2621 webvirtcloud/middleware.py:157
#, python-format
msgid "libvirt Error - %(exception)s"
msgstr "libvirt 错误 - %(exception)s"
#: instances/views.py:2634
#: instances/views.py:2635
msgid "An empty disk of the size you set"
msgstr "按设定大小创建的空磁盘"
#: instances/views.py:2635
#: instances/views.py:2636
msgid "Volumes already in a pool"
msgstr "存储池中已有的卷"
#: instances/views.py:2636
#: instances/views.py:2637
msgid "A copy of a template volume"
msgstr "模板卷的副本"
#: instances/views.py:2726
#: instances/views.py:2727
msgid ""
"This host has no running storage pool for the VM's disks: add or start one on"
" its Storage page."
msgstr "此主机没有可用于虚拟机磁盘的运行中存储池:请在其“存储”页面添加或启动一个。"
#: instances/views.py:2728
#: instances/views.py:2729
msgid "This host has no network for the VM: add one on its Networks page."
msgstr "此主机没有可供虚拟机使用的网络:请在其“网络”页面添加一个。"
#: instances/views.py:2760
#: instances/views.py:2761
#, python-format
msgid "The machine type is q35, not %(machine)s: UEFI Secure Boot needs it"
msgstr "机器类型为 q35,而不是 %(machine)s:UEFI 安全启动需要它"
#: instances/views.py:2789
#: instances/views.py:2790
msgid "Flavor Created"
msgstr "规格已创建"
#: instances/views.py:2797
#: instances/views.py:2798
msgid "Create Flavor"
msgstr "创建规格"
#: instances/views.py:2809
#: instances/views.py:2810
msgid "Flavor Deleted"
msgstr "规格已删除"
#: instances/views.py:2815
#: instances/views.py:2816
msgid "Only the size template goes; VMs made from it keep their size."
msgstr "仅删除此规格;由它创建的虚拟机保持其大小。"
@ -7831,8 +7832,8 @@ msgstr "创建过滤器"
#: nwfilters/templates/nwfilter.html:15 nwfilters/templates/nwfilter.html:54
#: operations/templates/operations/jobs.html:46
#: vmbackups/templates/vmbackups/index.html:15
#: vmbackups/templates/vmbackups/index.html:39
#: vmbackups/templates/vmbackups/index.html:16
#: vmbackups/templates/vmbackups/index.html:40
msgid "Filter"
msgstr "过滤器"
@ -7870,7 +7871,7 @@ msgid "Parameters"
msgstr "参数"
#: nwfilters/templates/nwfilter.html:64
#: vmbackups/templates/vmbackups/index.html:35
#: vmbackups/templates/vmbackups/index.html:36
#: vmbackups/templates/vmbackups/state.html:1
msgid "Missing"
msgstr "缺失"
@ -8173,7 +8174,7 @@ msgid "All kinds"
msgstr "所有类型"
#: operations/templates/operations/jobs.html:39
#: vmbackups/templates/vmbackups/index.html:30
#: vmbackups/templates/vmbackups/index.html:31
msgid "All states"
msgstr "所有状态"
@ -9276,7 +9277,7 @@ msgstr "1:每次备份都是完整备份。大于 1 时,中间的备份只
msgid "Choose a compute or VMs, not both"
msgstr "请选择一个计算节点或若干虚拟机,不能同时选择"
#: vmbackups/forms.py:108 vmbackups/jobs.py:110
#: vmbackups/forms.py:108 vmbackups/jobs.py:112
#, python-format
msgid "Backup target %(target)s has no storage pool on %(compute)s"
msgstr "备份目标 %(target)s 在 %(compute)s 上没有存储池"
@ -9285,320 +9286,324 @@ msgstr "备份目标 %(target)s 在 %(compute)s 上没有存储池"
msgid "Keep one backup at least"
msgstr "至少保留一个备份"
#: vmbackups/jobs.py:72
#: vmbackups/jobs.py:74
#, python-format
msgid "Backup target %(target)s is not open to VM owners"
msgstr "备份目标 %(target)s 未向虚拟机所有者开放"
#: vmbackups/jobs.py:86
#: vmbackups/jobs.py:88
msgid ""
"You have no backup quota; an administrator sets it with your user's quota"
msgstr "您没有备份配额;管理员可在您的用户配额中设置"
#: vmbackups/jobs.py:90
#: vmbackups/jobs.py:92
#, python-format
msgid ""
"The backup needs about %(needed)s GiB; %(used)s GiB of your %(limit)d GiB "
"backup quota is used"
msgstr "备份大约需要 %(needed)s GiB;您的 %(limit)d GiB 备份配额已使用 %(used)s GiB"
#: vmbackups/jobs.py:120
#: vmbackups/jobs.py:122
msgid "The VM must be running, paused or shut off to be backed up"
msgstr "虚拟机必须处于运行、暂停或关闭状态才能备份"
#: vmbackups/jobs.py:124
#: vmbackups/jobs.py:126
msgid ""
"A running VM's backup needs libvirt 11.10 or later; shut the VM down to back "
"it up"
msgstr "运行中虚拟机的备份需要 libvirt 11.10 或更高版本;请关闭虚拟机后再备份"
#: vmbackups/jobs.py:126
#: vmbackups/jobs.py:128
msgid "A paused VM's file systems cannot be frozen"
msgstr "无法冻结已暂停虚拟机的文件系统"
#: vmbackups/jobs.py:128
#: vmbackups/jobs.py:130
msgid "The guest agent does not answer: the file systems cannot be frozen"
msgstr "客户机代理没有响应:无法冻结文件系统"
#: vmbackups/jobs.py:185
#: vmbackups/jobs.py:187
msgid ""
"The VM's NVRAM file changed while it was backed up; back the VM up again"
msgstr "虚拟机的 NVRAM 文件在备份期间发生了变化;请重新备份该虚拟机"
#: vmbackups/jobs.py:295
#: vmbackups/jobs.py:235
msgid "The VM started while its disks were copied; back it up again"
msgstr "虚拟机在复制磁盘期间被启动;请重新备份"
#: vmbackups/jobs.py:301
msgid "Back up VM"
msgstr "备份虚拟机"
#: vmbackups/jobs.py:334
#: vmbackups/jobs.py:340
msgid "The schedule's window ended before the backup could start"
msgstr "备份开始前计划的时间窗口已结束"
#: vmbackups/jobs.py:336
#: vmbackups/jobs.py:342
#, python-format
msgid ""
"%(compute)s went into maintenance before the scheduled backup could start"
msgstr "计划的备份开始前 %(compute)s 已进入维护"
#: vmbackups/jobs.py:371 vmbackups/jobs.py:444
#: vmbackups/jobs.py:381 vmbackups/jobs.py:454
msgid "Writing the backup's files"
msgstr "正在写入备份文件"
#: vmbackups/jobs.py:456
#: vmbackups/jobs.py:466
msgid "The guest's file systems could not be thawed; trying again"
msgstr "无法解冻客户机的文件系统;正在重试"
#: vmbackups/jobs.py:505
#: vmbackups/jobs.py:515
#, python-format
msgid ""
"The VM is no longer on the compute the job ran on; check these volumes of the"
" backup target, then resolve this job: %(volumes)s"
msgstr "虚拟机已不在作业运行的计算节点上;请检查备份目标中的这些卷,然后解决此作业:%(volumes)s"
#: vmbackups/jobs.py:522
#: vmbackups/jobs.py:532
#, python-format
msgid ""
"A disk was being copied when the job stopped; check these volumes of the "
"backup target, then resolve this job: %(volumes)s"
msgstr "作业停止时正在复制磁盘;请检查备份目标中的这些卷,然后解决此作业:%(volumes)s"
#: vmbackups/jobs.py:532
#: vmbackups/jobs.py:542
#, python-format
msgid ""
"Another backup runs on the VM; check these volumes of the backup target, then"
" resolve this job: %(volumes)s"
msgstr "虚拟机上正在运行另一个备份;请检查备份目标中的这些卷,然后解决此作业:%(volumes)s"
#: vmbackups/jobs.py:538
#: vmbackups/jobs.py:548
#, python-format
msgid ""
"libvirt has no result of the copy; check these volumes of the backup target, "
"then resolve this job: %(volumes)s"
msgstr "libvirt 没有复制的结果;请检查备份目标中的这些卷,然后解决此作业:%(volumes)s"
#: vmbackups/jobs.py:546
#: vmbackups/jobs.py:556
msgid "The job stopped before the copy ended"
msgstr "作业在复制结束前停止"
#: vmbackups/jobs.py:553
#: vmbackups/jobs.py:563
#, python-format
msgid "The backup's files could not be written: %(error)s"
msgstr "无法写入备份文件:%(error)s"
#: vmbackups/jobs.py:573
#: vmbackups/jobs.py:583
#, python-format
msgid "No compute of backup target %(target)s reaches its storage pool"
msgstr "备份目标 %(target)s 的计算节点都无法访问其存储池"
#: vmbackups/jobs.py:607 vmbackups/templates/vmbackups/delete_form.html:11
#: vmbackups/jobs.py:626 vmbackups/templates/vmbackups/delete_form.html:11
msgid "Delete backup"
msgstr "删除备份"
#: vmbackups/jobs.py:627
#: vmbackups/jobs.py:646
msgid "This backup is being made; cancel its job to stop it"
msgstr "此备份正在创建;要停止它,请取消其作业"
#: vmbackups/jobs.py:629 vmbackups/jobs.py:644
#: vmbackups/jobs.py:648 vmbackups/jobs.py:665
msgid "Later backups depend on this one; delete them first"
msgstr "后续备份依赖于此备份;请先删除它们"
#: vmbackups/jobs.py:642
#: vmbackups/jobs.py:663
msgid "The backup is no longer beyond what its schedule keeps; it is kept"
msgstr "该备份已不再超出其计划保留的数量;予以保留"
#: vmbackups/jobs.py:662
#: vmbackups/jobs.py:682
msgid "The job stopped before the deletion began"
msgstr "任务在删除开始前已停止"
#: vmbackups/jobs.py:698
#: vmbackups/jobs.py:718
#, python-format
msgid "The backup's file %(name)s is missing from the target"
msgstr "目标中缺少备份文件 %(name)s"
#: vmbackups/jobs.py:701 vmbackups/jobs.py:703
#: vmbackups/jobs.py:721 vmbackups/jobs.py:723
#, python-format
msgid "The backup's file %(name)s differs from the one written"
msgstr "备份文件 %(name)s 与写入的不同"
#: vmbackups/jobs.py:714
#: vmbackups/jobs.py:734
#, python-format
msgid "The backup taken %(time)s builds on a backup that is gone"
msgstr "%(time)s 的备份所依赖的备份已不存在"
#: vmbackups/jobs.py:728
#: vmbackups/jobs.py:748
#, python-format
msgid "The backup's TPM state file %(name)s is not a plain file name"
msgstr "备份的 TPM 状态文件 %(name)s 不是普通文件名"
#: vmbackups/jobs.py:740 vmbackups/templates/vmbackups/restore.html:7
#: vmbackups/jobs.py:760 vmbackups/templates/vmbackups/restore.html:7
msgid "Restore backup"
msgstr "恢复备份"
#: vmbackups/jobs.py:774
#: vmbackups/jobs.py:794
#, python-format
msgid "%(quota)s: cannot restore %(name)s"
msgstr "%(quota)s:无法恢复 %(name)s"
#: vmbackups/jobs.py:781 vmbackups/jobs.py:987 vmbackups/jobs.py:1171
#: vmbackups/jobs.py:801 vmbackups/jobs.py:1007 vmbackups/jobs.py:1191
msgid "Only a ready backup is restored"
msgstr "只能恢复就绪的备份"
#: vmbackups/jobs.py:818
#: vmbackups/jobs.py:838
#, python-format
msgid "A VM named %(name)s exists on %(compute)s"
msgstr "%(compute)s 上已存在名为 %(name)s 的虚拟机"
#: vmbackups/jobs.py:826 vmbackups/jobs.py:1024 vmbackups/jobs.py:1201
#: vmbackups/jobs.py:846 vmbackups/jobs.py:1044 vmbackups/jobs.py:1221
#, python-format
msgid "This host has no active directory storage pool %(pool)s"
msgstr "此主机没有名为 %(pool)s 的活动目录存储池"
#: vmbackups/jobs.py:844
#: vmbackups/jobs.py:864
#, python-format
msgid "The NVRAM file %(path)s exists already"
msgstr "NVRAM 文件 %(path)s 已存在"
#: vmbackups/jobs.py:884 vmbackups/jobs.py:910
#: vmbackups/jobs.py:904 vmbackups/jobs.py:930
#, python-format
msgid "The VM was restored; it did not start: %(error)s"
msgstr "虚拟机已恢复;但未能启动:%(error)s"
#: vmbackups/jobs.py:914 vmbackups/jobs.py:1130
#: vmbackups/jobs.py:934 vmbackups/jobs.py:1150
#, python-format
msgid ""
"A disk was being copied when the job stopped; check this volume, then resolve"
" this job: %(volumes)s"
msgstr "作业停止时正在复制磁盘;请检查此卷,然后解决此作业:%(volumes)s"
#: vmbackups/jobs.py:919 vmbackups/jobs.py:1136
#: vmbackups/jobs.py:939 vmbackups/jobs.py:1156
#, python-format
msgid ""
"Storage pool %(pool)s is not active; the restore's copies in it are removed "
"when it is"
msgstr "存储池 %(pool)s 未激活;其中恢复的副本将在其激活后删除"
#: vmbackups/jobs.py:933
#: vmbackups/jobs.py:953
msgid "The VM was not defined; its copies were removed"
msgstr "虚拟机未定义;其副本已删除"
#: vmbackups/jobs.py:946
#: vmbackups/jobs.py:966
msgid "Shut the VM down to restore a backup over it"
msgstr "请先将虚拟机关机,再将备份恢复到其上"
#: vmbackups/jobs.py:949
#: vmbackups/jobs.py:969
msgid "The VM has snapshots; delete them to restore a backup over it"
msgstr "虚拟机有快照;请删除它们后再将备份恢复到其上"
#: vmbackups/jobs.py:954
#: vmbackups/jobs.py:974
#, python-format
msgid ""
"The VM's disks (%(now)s) are not the backup's (%(then)s); restore it as a new"
" VM or one disk"
msgstr "虚拟机的磁盘(%(now)s)与备份的(%(then)s)不同;请恢复为新虚拟机或恢复单个磁盘"
#: vmbackups/jobs.py:958
#: vmbackups/jobs.py:978
#, python-format
msgid ""
"The backup's disk %(dev)s is larger than the VM's now; restore it as a new VM"
msgstr "备份的磁盘 %(dev)s 比虚拟机当前的磁盘大;请恢复为新虚拟机"
#: vmbackups/jobs.py:961
#: vmbackups/jobs.py:981
msgid "The VM's UEFI firmware changed since the backup; restore it as a new VM"
msgstr "备份之后虚拟机的 UEFI 固件已更改;请恢复为新虚拟机"
#: vmbackups/jobs.py:963
#: vmbackups/jobs.py:983
msgid "The VM's TPM changed since the backup; restore it as a new VM"
msgstr "备份之后虚拟机的 TPM 已更改;请恢复为新虚拟机"
#: vmbackups/jobs.py:978
#: vmbackups/jobs.py:998
msgid "Restore backup over the VM"
msgstr "将备份恢复到虚拟机上"
#: vmbackups/jobs.py:991
#: vmbackups/jobs.py:1011
msgid "The backup's VM is no longer in the panel; restore it as a new VM"
msgstr "备份的虚拟机已不在面板中;请恢复为新虚拟机"
#: vmbackups/jobs.py:1015
#: vmbackups/jobs.py:1035
msgid "The VM's disks changed after the job was queued"
msgstr "任务排队后虚拟机的磁盘已更改"
#: vmbackups/jobs.py:1047
#: vmbackups/jobs.py:1067
msgid "The VM changed while its backup was copied; it keeps its disks"
msgstr "复制备份期间虚拟机发生了变化;虚拟机保留其磁盘"
#: vmbackups/jobs.py:1050
#: vmbackups/jobs.py:1070
msgid "Replacing the VM's disks"
msgstr "正在替换虚拟机的磁盘"
#: vmbackups/jobs.py:1110
#: vmbackups/jobs.py:1130
msgid ""
"The VM moved to another compute; check its disks and the restore's copies, "
"then resolve this job"
msgstr "虚拟机已迁移到另一台计算节点;请检查其磁盘和恢复的副本,然后处理此任务"
#: vmbackups/jobs.py:1123
#: vmbackups/jobs.py:1143
msgid ""
"The VM was started while its disks were being replaced; check its disks, then"
" resolve this job"
msgstr "替换磁盘期间虚拟机被启动;请检查其磁盘,然后处理此任务"
#: vmbackups/jobs.py:1141
#: vmbackups/jobs.py:1161
msgid "The VM keeps its disks; the restore's copies were removed"
msgstr "虚拟机保留其磁盘;恢复的副本已删除"
#: vmbackups/jobs.py:1153
#: vmbackups/jobs.py:1173
msgid "Restore a disk of a backup"
msgstr "恢复备份的一个磁盘"
#: vmbackups/jobs.py:1164
#: vmbackups/jobs.py:1184
#, python-format
msgid "The backup has no disk %(dev)s"
msgstr "备份中没有磁盘 %(dev)s"
#: vmbackups/jobs.py:1174
#: vmbackups/jobs.py:1194
#, python-format
msgid "%(name)s is not a volume name"
msgstr "%(name)s 不是有效的卷名"
#: vmbackups/jobs.py:1233
#: vmbackups/jobs.py:1253
#, python-format
msgid ""
"The disk was being copied when the job stopped; check this volume, then "
"resolve this job: %(volume)s"
msgstr "任务停止时磁盘正在复制;请检查此卷,然后处理此任务:%(volume)s"
#: vmbackups/jobs.py:1236
#: vmbackups/jobs.py:1256
msgid "The disk was not restored"
msgstr "磁盘未恢复"
#: vmbackups/jobs.py:1257 vmbackups/templates/vmbackups/target.html:23
#: vmbackups/jobs.py:1277 vmbackups/templates/vmbackups/target.html:23
msgid "Read backups from target"
msgstr "从目标读取备份"
#: vmbackups/jobs.py:1318
#: vmbackups/jobs.py:1345
#, python-format
msgid ""
"Not read, as a file of the backup is missing, changed or unreadable: "
"%(names)s"
msgstr "由于备份的某个文件缺失、已更改或无法读取,未读取:%(names)s"
#: vmbackups/jobs.py:1334
#: vmbackups/jobs.py:1361
msgid "Check backup target"
msgstr "检查备份目标"
#: vmbackups/jobs.py:1365
#: vmbackups/jobs.py:1395
#, python-format
msgid "Files of these backups are missing from the target: %(backups)s"
msgstr "以下备份的文件在目标中缺失:%(backups)s"
#: vmbackups/schedule.py:28
#: vmbackups/schedule.py:29
msgid "Not started within 6 hours of its time"
msgstr "未在计划时间后的 6 小时内启动"
#: vmbackups/schedule.py:29
#: vmbackups/schedule.py:30
msgid "The host was in maintenance"
msgstr "主机处于维护中"
#: vmbackups/schedule.py:30
#: vmbackups/schedule.py:31
msgid "The schedule's owner is no longer an active superuser"
msgstr "该计划的所有者已不再是活动的超级用户"
@ -9648,14 +9653,14 @@ msgid ""
"%(target)s; this cannot be undone."
msgstr "删除 %(vm)s 于 %(time)s 的备份?其文件将从 %(target)s 中移除;此操作无法撤销。"
#: vmbackups/templates/vmbackups/index.html:11
#: vmbackups/templates/vmbackups/index.html:12
#: vmbackups/templates/vmbackups/policies.html:8
#: vmbackups/templates/vmbackups/policy.html:9
#: vmbackups/templates/vmbackups/policy_new.html:8
msgid "Schedules"
msgstr "计划"
#: vmbackups/templates/vmbackups/index.html:12
#: vmbackups/templates/vmbackups/index.html:13
#: vmbackups/templates/vmbackups/target.html:7
#: vmbackups/templates/vmbackups/target.html:9
#: vmbackups/templates/vmbackups/target_new.html:6
@ -9665,59 +9670,59 @@ msgstr "计划"
msgid "Backup targets"
msgstr "备份目标"
#: vmbackups/templates/vmbackups/index.html:18
#: vmbackups/templates/vmbackups/index.html:19
msgid "VM name"
msgstr "虚拟机名称"
#: vmbackups/templates/vmbackups/index.html:21
#: vmbackups/templates/vmbackups/index.html:57
#: vmbackups/templates/vmbackups/index.html:22
#: vmbackups/templates/vmbackups/index.html:58
#: vmbackups/templates/vmbackups/policies.html:17
#: vmbackups/templates/vmbackups/vm_tab.html:42
msgid "Target"
msgstr "目标"
#: vmbackups/templates/vmbackups/index.html:23
#: vmbackups/templates/vmbackups/index.html:24
msgid "All targets"
msgstr "所有目标"
#: vmbackups/templates/vmbackups/index.html:31
#: vmbackups/templates/vmbackups/index.html:32
#: vmbackups/templates/vmbackups/state.html:1
msgid "Ready"
msgstr "就绪"
#: vmbackups/templates/vmbackups/index.html:32
#: vmbackups/templates/vmbackups/index.html:33
#: vmbackups/templates/vmbackups/state.html:1
msgid "Creating"
msgstr "正在创建"
#: vmbackups/templates/vmbackups/index.html:34
#: vmbackups/templates/vmbackups/index.html:35
#: vmbackups/templates/vmbackups/state.html:1
msgid "Deleting"
msgstr "正在删除"
#: vmbackups/templates/vmbackups/index.html:48
#: vmbackups/templates/vmbackups/index.html:49
#: vmbackups/templates/vmbackups/vm_tab.html:42
msgid "Time"
msgstr "时间"
#: vmbackups/templates/vmbackups/index.html:49
#: vmbackups/templates/vmbackups/index.html:50
#: vmbackups/templates/vmbackups/vm_tab.html:42
msgid "Consistency"
msgstr "一致性"
#: vmbackups/templates/vmbackups/index.html:60
#: vmbackups/templates/vmbackups/index.html:61
msgid "removed"
msgstr "已移除"
#: vmbackups/templates/vmbackups/index.html:61
#: vmbackups/templates/vmbackups/index.html:62
msgid "Schedule"
msgstr "计划"
#: vmbackups/templates/vmbackups/index.html:73
#: vmbackups/templates/vmbackups/index.html:77
msgid "No backup matches the filter."
msgstr "没有符合筛选条件的备份。"
#: vmbackups/templates/vmbackups/index.html:75
#: vmbackups/templates/vmbackups/index.html:79
msgid "No backup yet. Back a VM up from its Backups tab."
msgstr "还没有备份。请在虚拟机的备份选项卡中备份虚拟机。"
@ -10025,53 +10030,53 @@ msgstr "没有向虚拟机所有者开放的备份目标在此虚拟机的主机
msgid "No backup target has a storage pool on this VM's host."
msgstr "没有备份目标在此虚拟机的主机上有存储池。"
#: vmbackups/views.py:67
#: vmbackups/views.py:71
#, python-format
msgid "Backup target %(name)s is added."
msgstr "已添加备份目标 %(name)s。"
#: vmbackups/views.py:90 vmbackups/views.py:118
#: vmbackups/views.py:92 vmbackups/views.py:103
#, python-format
msgid "Backup target %(target)s has backups; delete them first"
msgstr "备份目标 %(target)s 中有备份;请先删除它们"
#: vmbackups/views.py:93
#: vmbackups/views.py:95
#, python-format
msgid "Backup target %(target)s has schedules; delete them first"
msgstr "备份目标 %(target)s 有计划;请先删除它们"
#: vmbackups/views.py:102
#, python-format
msgid "VM owners with the backup permission may now use %(target)s."
msgstr "拥有备份权限的虚拟机所有者现在可以使用 %(target)s。"
#: vmbackups/views.py:103
#, python-format
msgid "Only superusers use %(target)s now."
msgstr "现在仅超级用户使用 %(target)s。"
#: vmbackups/views.py:135
#: vmbackups/views.py:120
#, python-format
msgid ""
"Storage pool %(pool)s of %(compute)s is not the same directory as storage "
"pool %(other)s of %(other_compute)s"
msgstr "%(compute)s 的存储池 %(pool)s 与 %(other_compute)s 的存储池 %(other)s 不是同一目录"
#: vmbackups/views.py:171
#: vmbackups/views.py:154
#, python-format
msgid "VM owners with the backup permission may now use %(target)s."
msgstr "拥有备份权限的虚拟机所有者现在可以使用 %(target)s。"
#: vmbackups/views.py:155
#, python-format
msgid "Only superusers use %(target)s now."
msgstr "现在仅超级用户使用 %(target)s。"
#: vmbackups/views.py:190
msgid "Choose a backup target"
msgstr "请选择备份目标"
#: vmbackups/views.py:207
#: vmbackups/views.py:229
#, python-format
msgid "The backup of %(vm)s taken %(time)s is being deleted."
msgstr "正在删除 %(vm)s 于 %(time)s 的备份。"
#: vmbackups/views.py:304 vmbackups/views.py:325
#: vmbackups/views.py:326 vmbackups/views.py:347
#, python-format
msgid "Backup schedule %(name)s is saved."
msgstr "备份计划 %(name)s 已保存。"
#: vmbackups/views.py:316
#: vmbackups/views.py:338
#, python-format
msgid "Backup schedule %(name)s is deleted; its backups stay."
msgstr "备份计划 %(name)s 已删除;其备份保留。"
@ -11337,10 +11342,10 @@ msgstr "存储池 %(names)s"
msgid "Secret %(uuid)s is used by %(named)s; remove it from them first"
msgstr "机密 %(uuid)s 正被 %(named)s 使用;请先从中移除它"
#: webvirtcloud/settings.py:320
#: webvirtcloud/settings.py:345
msgid "Localhost"
msgstr "本机"
#: webvirtcloud/settings.py:321
#: webvirtcloud/settings.py:346
msgid "All interfaces"
msgstr "所有接口"

View file

@ -1,5 +1,6 @@
"""Jobs of the vmbackups app (operations framework)."""
import datetime
import hashlib
import json
import os
@ -42,6 +43,7 @@ from .models import Backup, BackupFile, BackupPolicy, BackupTarget
MANIFEST_FORMAT = 1
NVRAM_READS = 3 # a running VM's NVRAM read after its backup, until it is the one read before
NVRAM_WAIT = 5 # seconds between those reads
CHECK_SETTLE = datetime.timedelta(minutes=10) # an NFS client lists another's new files within minutes
PROGRESS_EVERY = 2 # seconds between reads of a push backup's progress
@ -228,6 +230,9 @@ def _publish(op, proxy, pool):
manifest written and read back, then the row ready with its files.
Runs again in recovery: each upload replaces its volume."""
plan, names = op.intent["plan"], op.intent["names"]
if not op.intent["live"] and proxy.get_status() != VIR_DOMAIN_SHUTOFF:
# its NVRAM and TPM state would be newer than the disks copied
raise util.OperationError(_("The VM started while its disks were copied; back it up again"))
backup = Backup.objects.get(uuid=op.intent["backup"])
pool.refresh(0)
files = []
@ -247,7 +252,8 @@ def _publish(op, proxy, pool):
"sha256": put_file(proxy, pool, names["tpm"] + name, data, _owner(), mode="0600")})
definition = plan["definition"].encode()
files.append({"role": BackupFile.DOMAIN, "dev": "", "volume": names["domain"], "format": "", "capacity": len(definition),
"size": len(definition), "sha256": put_file(proxy, pool, names["domain"], definition, _owner())})
"size": len(definition), "sha256": put_file(proxy, pool, names["domain"], definition, _owner(),
mode="0600")}) # it has the graphics passwords
manifest = {
"format": MANIFEST_FORMAT,
"backup": str(backup.uuid),
@ -367,6 +373,10 @@ class CreateBackup(Kind):
except libvirtError as err: # libvirt answered: the copy failed and ended
ctx.record_intent(copy_result=[False, safe_text(err)], copying=None)
raise
op.refresh_from_db(fields=["cancel_requested"])
if op.cancel_requested: # asked during the last disk's copy
_discard(op, pool)
raise Cancelled
ctx.record_intent(copy_result=[True, ""])
ctx.set_phase(_("Writing the backup's files"))
return _publish(op, proxy, pool)
@ -1365,6 +1375,7 @@ class CheckTarget(Kind):
_conn, pool = _target_pool(target)
pool.refresh(0)
present = set(pool.listVolumes())
settled = timezone.now() - CHECK_SETTLE
missing = []
for backup in target.backups.filter(state__in=(Backup.READY, Backup.MISSING)).prefetch_related("files"):
needed = {f.volume for f in backup.files.all()} | {f"{backup.prefix}-manifest.json"}
@ -1373,6 +1384,8 @@ class CheckTarget(Kind):
state = Backup.READY if needed <= present else Backup.MISSING
except util.OperationError: # its base's row is gone
state = Backup.MISSING
if state == Backup.MISSING and backup.state == Backup.READY and (backup.finished_at or settled) > settled:
continue # just written through another compute: this one may not list its files yet (NFS)
if state == Backup.MISSING:
missing.append(f"{backup.vm_name} {timezone.localtime(backup.created_at):%Y-%m-%d %H:%M}")
# only from the state read: a deletion begun meanwhile is left alone

View file

@ -144,6 +144,7 @@ class CreateBackupTests(TransactionTestCase):
prefix = f"wvc-{op.intent['backup']}"
self.assertEqual(self.written, [f"{prefix}-tpm-tpm2-00.permall", f"{prefix}-domain.xml", f"{prefix}-manifest.json"])
self.assertEqual(self.modes[f"{prefix}-tpm-tpm2-00.permall"], "0600") # a secret
self.assertEqual(self.modes[f"{prefix}-domain.xml"], "0600") # its graphics passwords
tpm = self.backup(op).files.get(role=BackupFile.TPM)
self.assertEqual((tpm.dev, tpm.volume, tpm.size, tpm.sha256), ("tpm2-00.permall", f"{prefix}-tpm-tpm2-00.permall", 5, "sha"))
self.assertEqual(self.backup(op).manifest["tpm"], "copied")
@ -424,6 +425,27 @@ class CreateBackupTests(TransactionTestCase):
self.proxy.copy_disk_offline.assert_not_called()
self.assertEqual(self.backup(op).state, Backup.FAILED)
def test_an_offline_copy_cancelled_during_its_last_disk_is_not_kept(self):
op = self.submit()
self.proxy.copy_disk_offline.side_effect = lambda *a: Operation.objects.filter(pk=op.pk).update(cancel_requested=True)
with self.assertRaises(Cancelled):
self.run_job(op)
self.assertEqual(self.written, [])
self.assertIn(f"wvc-{op.intent['backup']}-vda.qcow2", self.removed)
self.assertEqual(self.backup(op).state, Backup.FAILED)
def test_a_vm_started_during_its_offline_copy_is_not_published(self):
# its NVRAM and TPM state would be newer than the disks copied
started = lambda *a: setattr(self.proxy.get_status, "return_value", libvirt.VIR_DOMAIN_RUNNING) # noqa: E731
self.proxy.copy_disk_offline.side_effect = started
op = self.interrupted(self.submit())
self.assertEqual(self.written, [])
outcome = CreateBackup().reconcile(op) # recovery does not publish it either
self.assertEqual(outcome.state, Operation.FAILED)
self.assertIn("started", str(outcome.error))
self.assertIn(f"wvc-{op.intent['backup']}-vda.qcow2", self.removed)
self.assertEqual(self.backup(op).state, Backup.FAILED)
def test_progress_counts_the_copied_disks(self):
op = self.submit()
self.run_job(op)

View file

@ -9,6 +9,7 @@ from unittest.mock import MagicMock, patch
import libvirt
from django.contrib.auth import get_user_model
from django.test import TransactionTestCase, override_settings
from django.utils import timezone
from appsettings.settings import get_settings
from computes.models import Compute
@ -490,6 +491,16 @@ class ScheduleTests(TransactionTestCase):
self.run_check([*present, f"{gone.prefix}-manifest.json"])
self.assertEqual(Backup.objects.get(pk=gone.pk).state, Backup.READY)
def test_a_backup_finished_minutes_ago_is_not_marked_missing(self):
# written through another compute: this one's NFS client may not list its files yet
(backup,) = self.backups(Backup.READY)
Backup.objects.filter(pk=backup.pk).update(finished_at=timezone.now() - datetime.timedelta(minutes=2))
self.run_check([])
self.assertEqual(Backup.objects.get(pk=backup.pk).state, Backup.READY)
Backup.objects.filter(pk=backup.pk).update(finished_at=timezone.now() - datetime.timedelta(minutes=20))
self.run_check([])
self.assertEqual(Backup.objects.get(pk=backup.pk).state, Backup.MISSING)
def test_an_incremental_backup_whose_base_file_is_gone_is_missing(self):
base, top = self.backups(Backup.READY, Backup.READY)
Backup.objects.filter(pk=top.pk).update(parent=base)