freezer.storage.fslike module

freezer.storage.fslike module

class freezer.storage.fslike.FsLikeStorage(storage_path, max_segment_size, skip_prepare=False)

Bases: freezer.storage.physical.PhysicalStorage

add_stream(stream, package_name, headers=None)
Parameters:
  • stream – data
  • package_name – path
  • headers – backup metadata information
Returns:

backup_blocks(backup)
Parameters:backup (freezer.storage.base.Backup) –
Returns:
info()
open(filename, mode)
Parameters:
  • filename (str) –
  • mode (str) –
Returns:

prepare()

Creates directories, containers :return: nothing

write_backup(rich_queue, backup)

Stores backup in storage :type rich_queue: freezer.utils.streaming.RichQueue :type backup: freezer.storage.base.Backup

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.