freezer.storage.multiple module

freezer.storage.multiple module

class freezer.storage.multiple.MultipleStorage(storages)

Bases: freezer.storage.base.Storage

create_dirs(path)
download_freezer_meta_data(backup)
get_file(from_path, to_path)
get_level_zero(engine, hostname_backup_name, recent_to_date=None)

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

info()
meta_file_abs_path(backup)
prepare()

Creates directories, containers :return: nothing

put_engine_metadata(from_path, backup)
Parameters:
Returns:

put_file(from_path, to_path)
Parameters:
  • from_path (str) –
  • to_path (str) –
put_metadata(engine_metadata_path, freezer_metadata_path, backup)
Parameters:
Returns:

upload_freezer_meta_data(backup, meta_dict)
write_backup(rich_queue, backup)
Parameters:
Returns:

class freezer.storage.multiple.StorageManager(input_queue, output_queues)

Bases: object

static one_fails_all_fail(input_queue, output_queues)
send_message(message, finish=False)
transmit()
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.