The freezer.storage.fslike Module

The 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()
write_backup(rich_queue, backup)

Stores backup in storage :type rich_queue: freezer.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.

freezer 6.0.1.dev5