Module ImportFrom alias ImportFrom alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str NameLoad Num NameLoad Num NameLoad NameLoad NameLoad NameLoad Str NameLoad NameLoad NameLoad NameLoad Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str Str NameLoad NameLoad NameLoad Num NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Str Str Str Str Str Str NameLoad NameLoad Str Str Str Str NameLoad Str NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str Str Str Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Call AttributeLoad Str attr NameLoad Call AttributeLoad NameLoad attr Str keyword Str keyword Call AttributeLoad Str attr NameLoad Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str keyword NameLoad Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad Str Str Str Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword ListLoad Str Str Str Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad Str Str Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword ListLoad Str Str Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Slice Num keyword Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str keyword NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list Assign NameStore Call NameLoad ListComp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr CompareIsNot NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Dict Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore NameLoad For NameStore ListLoad Str Str body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Expr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad keyword AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str If Call AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore Str If AttributeLoad NameLoad attr body Assign NameStore Str orelse If AttributeLoad NameLoad attr body Assign NameStore Str orelse If AttributeLoad NameLoad attr body Assign NameStore Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If BoolOpOr AttributeLoad NameLoad attr BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad keyword Str keyword NameLoad Assign SubscriptStore NameLoad Index Str SubscriptStore NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad Str attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad BoolOpOr Call NameLoad NameLoad Str Num BoolOpOr Call NameLoad NameLoad Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Num AugAssignAdd NameStore Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad Num orelse Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults Str body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Dict NameLoad NameLoad Return Call AttributeLoad NameLoad attr decorator_list
N/A __future__ print_function distutils spawn distspawn N/A os oslo_config cfg oslo_log log oslo_utils encodeutils N/A socket N/A sys tempfile NamedTemporaryFile freezer __version__ FREEZER_VERSION freezer.utils config freezer_config freezer.utils utils freezer.utils winutils N/A CONF N/A cfg CONF N/A LOG N/A N/A log getLogger __name__ N/A home N/A N/A N/A os path expanduser ~ N/A DEFAULT_LVM_SNAPSIZE 1G N/A DEFAULT_LVM_MOUNT_BASENAME /var/lib/freezer N/A DEFAULT_LVM_SNAP_BASENAME freezer_backup_snap N/A DEFAULT_SSH_PORT 22 N/A DEFAULT_PARAMS N/A os_identity_api_version lvm_auto_snap lvm_volgroup exclude sql_server_conf backup_name quiet container no_incremental max_segment_size lvm_srcvol download_limit hostname remove_from_date restart_always_level lvm_dirmount dereference_symlink config mysql_conf insecure lvm_snapname lvm_snapperm snapshot max_priority max_level path_to_backup encrypt_pass_file volume proxy cinder_vol_id cindernative_vol_id nova_inst_id __version__ remove_older_than restore_from_date upload_limit always_level version dry_run lvm_snapsize restore_abs_path log_file log_level mode action shadow shadow_path windows_volume command metadata_out storage ssh_key ssh_username ssh_host ssh_port compression overwrite None False False False False False False freezer_backups False 33554432 False -1 False False False None False False False None ro False False False False False False False FREEZER_VERSION None False -1 False False False DEFAULT_LVM_SNAPSIZE False None info fs backup None False swift DEFAULT_SSH_PORT gzip False N/A _COMMON N/A N/A N/A cfg StrOpt action choices N/A backup restore info admin exec dest action help Set the action to be taken. backup and restore are self explanatory, info is used to retrieve info from the storage media, exec is used to execute a script, while admin is used to delete old backups and other admin actions. Default backup. N/A N/A cfg StrOpt path-to-backup short F default False help The file or directory you want to back up to Swift N/A N/A cfg StrOpt backup-name short N default False help The backup name you want to use to identify your backup on Swift N/A N/A cfg StrOpt mode short m dest mode help Set the technology to back from. Options are, fs (filesystem),mongo (MongoDB), mysql (MySQL), sqlserver (SQL Server) Default set to fs N/A N/A cfg StrOpt container short C default freezer_backups dest container help The Swift container (or path to local storage) used to upload files to N/A N/A cfg StrOpt snapshot short s dest snapshot help Create a snapshot of the fs containing the resource to backup. When used, the lvm parameters will be guessed and/or the  default values will be used, on windows it will invoke  vssadmin N/A N/A cfg StrOpt lvm-auto-snap dest lvm_auto_snap help Automatically guess the volume group and volume name for given PATH. N/A N/A cfg StrOpt lvm-srcvol dest lvm_srcvol help Set the lvm volume you want to take a snaphost from. Default no volume N/A N/A cfg StrOpt lvm-snapname dest lvm_snapname help Set the name of the snapshot that will be created. If not provided, a unique name will be generated. N/A N/A cfg StrOpt lvm-snap-perm choices N/A ro rw dest lvm_snapperm help Set the lvm snapshot permission to use. If the permission is set to ro The snapshot will be immutable - read only -. If the permission is set to rw it will be mutable N/A N/A cfg StrOpt lvm-snapsize dest lvm_snapsize help N/A N/A Set the lvm snapshot size when creating a new snapshot. Please add G for Gigabytes or M for Megabytes, i.e. 500M or 8G. It is also possible to use percentages as with the -l option of lvm, i.e. 80%%FREE Default {0}. format DEFAULT_LVM_SNAPSIZE N/A N/A cfg StrOpt lvm-dirmount dest lvm_dirmount help N/A N/A Set the directory you want to mount the lvm snapshot to. If not provided, a unique name will be generated with thebasename {0}  format DEFAULT_LVM_MOUNT_BASENAME N/A N/A cfg StrOpt lvm-volgroup dest lvm_volgroup help Specify the volume group of your logical volume. This is important to mount your snapshot volume. Default not set N/A N/A cfg IntOpt max-level dest max_level help Set the backup level used with tar to implement incremental backup. If a level 1 is specified but no level 0 is already available, a level 0 will be done and subsequently backs to level 1. Default 0 (No Incremental) N/A N/A cfg IntOpt always-level dest always_level help Set backup maximum level used with tar to implement incremental backup. If a level 3 is specified, the backup will be executed from level 0 to level 3 and to that point always a backup level 3 will be executed.  It will not restart from level 0. This option has precedence over --max-backup-level. Default False (Disabled) N/A N/A cfg FloatOpt restart-always-level dest restart_always_level help Restart the backup from level 0 after n days. Valid only if --always-level option if set. If --always-level is used together with --remove-older-then, there might be the chance where the initial level 0 will be removed. Default False (Disabled) N/A N/A cfg FloatOpt remove-older-than short R dest remove_older_than help Checks in the specified container for object older than the specified days. If i.e. 30 is specified, it will remove the remote object older than 30 days. Default False (Disabled) The option --remove-older-then is deprecated and will be removed soon deprecated_for_removal True N/A N/A cfg StrOpt remove-from-date dest remove_from_date help Checks the specified container and removes objects older than the provided datetime in the form 'YYYY-MM-DDThh:mm:ss' i.e. '1974-03-25T23:23:23'. Make sure the 'T' is between date and time  N/A N/A cfg StrOpt no-incremental dest no_incremental help Disable incremental feature. By default freezer build the meta data even for level 0 backup. By setting this option incremental meta data is not created at all. Default disabled N/A N/A cfg StrOpt hostname dest hostname deprecated_name restore-from-host help Set hostname to execute actions. If you are executing freezer from one host but you want to delete objects belonging to another host then you can set this option that hostname and execute appropriate actions. Default current node hostname. N/A N/A cfg StrOpt mysql-conf dest mysql_conf help Set the MySQL configuration file where freezer retrieve important information as db_name, user, password, host, port. Following is an example of config file: # backup_mysql_confhost     = <db-host>user     = <mysqluser>password = <mysqlpass>port     = <db-port> N/A N/A cfg StrOpt metadata-out dest metadata_out help Set the filename to which write the metadata regarding the backup metrics. Use '-' to output to standard output. N/A N/A cfg StrOpt exclude dest exclude help Exclude files,given as a PATTERN.Ex: --exclude '*.log' will exclude any file with name ending with .log. Default no exclude N/A N/A cfg StrOpt dereference-symlink dest dereference_symlink choices N/A none soft hard all help Follow hard and soft links and archive and dump the files they refer to. Default False. N/A N/A cfg StrOpt encrypt-pass-file dest encrypt_pass_file help Passing a private key to this option, allow you to encrypt the files before to be uploaded in Swift. Default do not encrypt. N/A N/A cfg IntOpt max-segment-size short M dest max_segment_size help Set the maximum file chunk size in bytes to upload to swift Default 33554432 bytes (32MB) N/A N/A cfg StrOpt restore-abs-path dest restore_abs_path help Set the absolute path where you want your data restored. Default False. N/A N/A cfg StrOpt restore-from-date dest restore_from_date help Set the date of the backup from which you want to restore.This will select the most recent backup previous to the specified date (included). Example: if the last backup was created at '2016-03-22T14:29:01' and restore-from-date is set to '2016-03-22T14:29:01', the backup will be restored successfully. The same for any date after that, even if the provided date is in the future. However if restore-from-date is set to '2016-03-22T14:29:00' or before, that backup will not be found. Please provide datetime in format 'YYYY-MM-DDThh:mm:ss' i.e. '1979-10-03T23:23:23'. Make sure the 'T' is between date and time Default None. N/A N/A cfg StrOpt max-priority dest max_priority help Set the cpu process to the highest priority (i.e. -20 on Linux) and real-time for I/O. The process priority will be set only if nice and ionice are installed Default disabled. Use with caution. N/A N/A cfg BoolOpt quiet short q dest quiet help Suppress error messages N/A N/A cfg BoolOpt insecure dest insecure help Allow to access swift servers without checking SSL certs. N/A N/A cfg StrOpt os-identity-api-version deprecated_name os-auth-ver dest os_identity_api_version choices N/A 1 2 2.0 3 help Openstack identity api version, can be 1, 2, 2.0 or 3 N/A N/A cfg StrOpt proxy dest proxy help Enforce proxy that alters system HTTP_PROXY and HTTPS_PROXY, use '' to eliminate all system proxies N/A N/A cfg BoolOpt dry-run dest dry_run help Do everything except writing or removing objects N/A N/A cfg IntOpt upload-limit dest upload_limit help Upload bandwidth limit in Bytes per sec. Can be invoked with dimensions (10K, 120M, 10G). N/A N/A cfg IntOpt download-limit dest download_limit help Download bandwidth limit in Bytes per sec. Can be invoked  with dimensions (10K, 120M, 10G). N/A N/A cfg StrOpt cinder-vol-id dest cinder_vol_id help Id of cinder volume for backup N/A N/A cfg StrOpt cindernative-vol-id dest cindernative_vol_id help Id of cinder volume for native backup N/A N/A cfg StrOpt nova-inst-id dest nova_inst_id help Id of nova instance for backup N/A N/A cfg StrOpt sql-server-conf dest sql_server_conf help Set the SQL Server configuration file where freezer retrieve the sql server instance. Following is an example of config file: instance = <db-instance> N/A N/A cfg StrOpt command dest command help Command executed by exec action N/A N/A cfg StrOpt compression dest compression choices N/A gzip bzip2 xz help compression algorithm to use. gzip is default algorithm N/A N/A cfg StrOpt storage dest storage choices N/A local swift ssh help Storage for backups. Can be Swift or Local now. Swift is default storage now. Local stores backups on the same defined path and swift will store files in container. N/A N/A cfg StrOpt ssh-key dest ssh_key help Path to ssh-key for ssh storage only N/A N/A cfg StrOpt ssh-username dest ssh_username help Remote username for ssh storage only N/A N/A cfg StrOpt ssh-host dest ssh_host help Remote host for ssh storage only N/A N/A cfg IntOpt ssh-port dest ssh_port help Remote port for ssh storage only (default 22) N/A N/A cfg StrOpt config dest config help Config file abs path. Option arguments are provided from config file. When config file is used any option from command line provided take precedence. N/A N/A cfg BoolOpt overwrite dest overwrite help With overwrite removes files from restore path before restore. config N/A N/A N/A N/A N/A N/A N/A CONF register_opts _COMMON N/A N/A N/A CONF register_cli_opts _COMMON N/A default_conf None N/A N/A N/A log register_options CONF N/A N/A CONF args N/A N/A sys argv N/A 1 project freezer default_config_files default_conf version FREEZER_VERSION N/A setup_logging N/A N/A N/A N/A N/A Set some oslo log defaults. N/A _DEFAULT_LOG_LEVELS N/A amqp=WARN amqplib=WARN boto=WARN qpid=WARN stevedore=WARN oslo_log=INFO iso8601=WARN requests.packages.urllib3.connectionpool=WARN urllib3.connectionpool=WARN websocket=WARN keystonemiddleware=WARN freezer=INFO N/A _DEFAULT_LOGGING_CONTEXT_FORMAT %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s N/A N/A N/A CONF set_default use_stderr False N/A N/A N/A CONF set_default log_file N/A prepare_logging N/A N/A N/A log set_defaults _DEFAULT_LOGGING_CONTEXT_FORMAT _DEFAULT_LOG_LEVELS N/A N/A N/A log setup CONF freezer version FREEZER_VERSION N/A get_backup_args N/A N/A N/A N/A N/A defaults N/A N/A DEFAULT_PARAMS copy FreezerConfig N/A object N/A __init__ N/A N/A self args N/A N/A N/A N/A N/A N/A self __dict__ update args N/A N/A N/A cli_options N/A dict N/A N/A x y N/A N/A x y N/A N/A CONF iteritems N/A y None N/A N/A N/A defaults update cli_options N/A conf None N/A N/A N/A CONF get config N/A N/A conf N/A N/A N/A freezer_config Config parse N/A N/A CONF get config N/A N/A N/A defaults update N/A conf default N/A N/A defaults N/A hostname N/A N/A N/A N/A conf default get hostname N/A N/A N/A conf default get restore_from_host N/A levels N/A all debug warn info error critical N/A log NOTSET N/A log DEBUG N/A log WARN N/A log INFO N/A log ERROR N/A log CRITICAL N/A N/A N/A N/A CONF get log_file N/A N/A N/A N/A CONF set_override log_file N/A N/A levels get N/A defaults N/A log_file N/A log NOTSET N/A N/A N/A CONF set_override default_log_levels N/A defaults N/A log_level N/A N/A N/A N/A CONF get log_file N/A N/A log_file None N/A file_name N/A /var/log/freezer.log ~/.freezer/freezer.log N/A N/A N/A N/A log_file N/A prepare_logging file_name N/A N/A N/A IOError N/A N/A N/A log_file N/A N/A N/A N/A CONF set_default log_file log_file N/A N/A N/A N/A LOG warn log file cannot be created. Freezer will proceed with default stdout and stderr N/A backup_args N/A FreezerConfig defaults N/A work_dir N/A N/A N/A os path join home .freezer N/A N/A N/A backup_args __dict__ N/A work_dir work_dir N/A N/A N/A N/A N/A os path exists work_dir N/A N/A N/A N/A N/A N/A os makedirs work_dir N/A N/A N/A N/A OSError IOError N/A err_msg N/A N/A N/A print N/A N/A encodeutils safe_decode N/A N/A {} format err_msg file N/A sys stderr N/A N/A N/A backup_args hostname N/A N/A N/A N/A backup_args __dict__ N/A hostname N/A N/A socket gethostname N/A N/A backup_args proxy N/A N/A N/A N/A utils alter_proxy N/A backup_args proxy N/A N/A N/A backup_args __dict__ N/A mysql_db_inst N/A N/A N/A backup_args __dict__ N/A storages None N/A N/A conf N/A conf storages N/A N/A N/A N/A backup_args __dict__ N/A storages N/A conf storages N/A N/A N/A backup_args __dict__ N/A shadow N/A N/A N/A backup_args __dict__ N/A shadow_path N/A N/A N/A backup_args __dict__ N/A file_name N/A N/A N/A winutils is_windows N/A N/A N/A backup_args path_to_backup N/A N/A N/A N/A backup_args __dict__ N/A windows_volume N/A N/A backup_args path_to_backup N/A 3 N/A backup_media fs N/A N/A backup_args cinder_vol_id N/A N/A backup_media cinder N/A N/A N/A backup_args cindernative_vol_id N/A N/A backup_media cindernative N/A N/A N/A backup_args nova_inst_id N/A N/A backup_media nova N/A N/A N/A backup_args __dict__ N/A backup_media backup_media N/A N/A N/A backup_args __dict__ N/A time_stamp None N/A N/A N/A backup_args upload_limit N/A N/A backup_args download_limit N/A N/A N/A winutils is_windows N/A N/A N/A backup_args config N/A N/A conf_file N/A NamedTemporaryFile prefix freezer_job_ delete False N/A N/A defaults N/A upload_limit N/A defaults N/A download_limit -1 N/A N/A N/A utils save_config_to_file defaults conf_file N/A conf_index N/A N/A N/A N/A sys argv index --config 1 N/A N/A N/A sys argv N/A conf_index N/A conf_file name N/A N/A --upload-limit N/A sys argv N/A N/A index N/A N/A N/A sys argv index --upload-limit N/A N/A N/A N/A sys argv pop index N/A N/A N/A N/A sys argv pop index N/A N/A --download-limit N/A sys argv N/A N/A index N/A N/A N/A sys argv index --download-limit N/A N/A N/A N/A sys argv pop index N/A N/A N/A N/A sys argv pop index N/A trickle_executable N/A N/A distspawn find_executable trickle N/A N/A trickle_executable None N/A N/A trickle_executable N/A N/A distspawn find_executable trickle path N/A N/A : join N/A sys path N/A N/A trickle_executable None N/A N/A trickle_executable N/A N/A distspawn find_executable trickle path N/A N/A : join N/A N/A N/A os environ get PATH N/A trickle_lib N/A N/A distspawn find_executable trickle-overload.so N/A N/A trickle_lib None N/A N/A trickle_lib N/A N/A distspawn find_executable trickle-overload.so path N/A N/A : join N/A sys path N/A N/A trickle_lib None N/A N/A trickle_lib N/A N/A distspawn find_executable trickle-overload.so path N/A N/A : join N/A N/A N/A os environ get PATH N/A N/A trickle_executable trickle_lib N/A N/A N/A N/A LOG info [*] Info: Starting trickle ... N/A N/A N/A os environ N/A LD_PRELOAD trickle_lib N/A trickle_command N/A N/A {0} -d {1} -u {2}  format trickle_executable N/A N/A getattr backup_args download_limit -1 N/A N/A getattr backup_args upload_limit -1 N/A N/A N/A backup_args __dict__ N/A trickle_command trickle_command N/A N/A tricklecount N/A os environ N/A N/A tricklecount N/A int N/A N/A N/A os environ get tricklecount 1 N/A tricklecount 1 N/A N/A N/A os environ N/A tricklecount N/A str tricklecount N/A N/A N/A N/A os environ N/A tricklecount N/A str 1 N/A N/A N/A N/A LOG critical [*] Trickle or Trickle library not found. Switching to normal mode without limiting bandwidth N/A backup_args N/A prepare_logging N/A N/A log_file N/A ~/.freezer/freezer.log N/A N/A 
    Creates log directory and log file if no log files provided
    :return:
     N/A expanded_file_name N/A N/A N/A os path expanduser log_file N/A expanded_dir_name N/A N/A N/A os path dirname expanded_file_name N/A N/A N/A utils create_dir expanded_dir_name do_log False N/A expanded_file_name N/A list_opts N/A N/A N/A N/A N/A _OPTS N/A None _COMMON N/A N/A N/A _OPTS items N/A