Freezer general utils functions
freezer.engine.tar.tar.
TarEngine
(compression, symlinks, exclude, storage, max_segment_size, encrypt_key=None, dry_run=False, **kwargs)¶Bases: freezer.engine.engine.BackupEngine
backup_data
(backup_resource, manifest_path)¶backup_path –
manifest_path –
check_process_output
(process, function)¶Check process stderr and return code to determine if error occurred.
Check process stderr for any non-empty value. Check process return code for any non-zero value. Log error message and raise an exception if error occurred.
process – the multiprocessing process to check
function – a string: (‘Restore’ | ‘Backup’) for error message
None – Do nothing and return None if no error occurred
Exception – Raise Exception if error occurred
metadata
(*args)¶name
¶str
Engine name
restore_level
(restore_resource, read_pipe, backup, except_queue)¶Restore the provided file into backup_opt_dict.restore_abs_path Decrypt the file if backup_opt_dict.encrypt_pass_file key is provided
restore_path –
read_pipe –
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.