diff --git a/zfs_uploader/__init__.py b/zfs_uploader/__init__.py index a214ad2..430379f 100644 --- a/zfs_uploader/__init__.py +++ b/zfs_uploader/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.9.0' +__version__ = '0.10.0' BACKUP_DB_FILE = 'backup.db' DATETIME_FORMAT = '%Y%m%d_%H%M%S' diff --git a/zfs_uploader/job.py b/zfs_uploader/job.py index 348e01c..2a8854d 100644 --- a/zfs_uploader/job.py +++ b/zfs_uploader/job.py @@ -211,15 +211,15 @@ def start(self): # if we want incremental backups and multiple full backups elif self._max_incremental_backups_per_full: - backup_time = backup.backup_time + full_backup_time = backup.backup_time - dependants = [True if b.dependency == backup_time + dependants = [True if b.dependency == full_backup_time else False for b in backups_inc] if sum(dependants) >= self._max_incremental_backups_per_full: self._backup_full() else: - self._backup_incremental(backup_time) + self._backup_incremental(incremental_or_full.backup_time) # if we want incremental backups and not multiple full backups else: