Bases: object
Internal freezer representation of backup. Includes:
name (hostname_backup_name) of backup
timestamp of backup (when it was executed)
level of backup (freezer supports incremental backup): Completed full backup has level 0 and can be restored without any additional information. Levels 1, 2, … means that our backup is incremental and contains only smart portion of information (that was actually changed since the last backup)
Gets all incremental backups based on a level-zero backup with timestamp :rtype: dict[int, freezer.storage.base.Backup] :return: Dictionary[backup_level, backup]
Bases: object
Any freezer storage implementation should be inherited from this abstract class.
Returns the latest zero level backup with increments :param engine: :param hostname_backup_name: :param recent_to_date: :rtype: dict[int, freezer.storage.base.Backup] :return: Dictionary[backup_level, backup]
Gets backups by backup_name and hostname :type engine: freezer.engine.engine.BackupEngine :param hostname_backup_name: :type hostname_backup_name: str :type recent_to_date: int :param recent_to_date: :rtype: collections.Iterable[freezer.storage.base.Backup] :return: dictionary of level zero timestamps with attached storage
Creates directories, containers :return: nothing
engine (freezer.engine.engine.BackupEngine) – engine instance
hostname_backup_name – name of backup
no_incremental –
max_level –
always_level –
restart_always_level –
from_path (str) –
to_path (str) –
engine_metadata_path –
freezer_metadata_path –
backup (freezer.storage.base.Backup) –
Removes backups which are older than or equal to the specified timestamp :type engine: freezer.engine.engine.BackupEngine :type remove_older_timestamp: int :type hostname_backup_name: str
rich_queue –
backup (freezer.storage.base.Backup) –
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.