mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
Besides the newest N backups of each VM, a schedule keeps the newest backup of each of the last N weeks and of the last N months that have one (panel time zone); 0 keeps none. The schedules list shows them.
23 lines
580 B
Python
23 lines
580 B
Python
# Generated by Django 5.2.18 on 2026-11-19 18:47
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('vmbackups', '0009_backup_verify'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='backuppolicy',
|
|
name='keep_monthly',
|
|
field=models.PositiveSmallIntegerField(default=0),
|
|
),
|
|
migrations.AddField(
|
|
model_name='backuppolicy',
|
|
name='keep_weekly',
|
|
field=models.PositiveSmallIntegerField(default=0),
|
|
),
|
|
]
|