Module ImportFrom alias ImportFrom alias alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str ClassDef bases NameLoad body Assign NameStore NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return BinOpMod Str Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr keyword Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareNotIn NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Return Assign NameStore IfExp AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Assign NameStore BinOpSub NameLoad AttributeLoad NameLoad attr If CompareGt NameLoad Num body For NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Slice NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore NameLoad If BoolOpOr CompareIs NameLoad NameLoad BoolOpOr BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad Str Str Str decorator_list decorator_list NameLoad ClassDef bases AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad ClassDef bases NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num decorator_list Assign NameStore TupleLoad TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return BinOpMod Str Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str ImportFrom alias Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Pass decorator_list Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Pass decorator_list Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Pass decorator_list Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Pass decorator_list Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Pass decorator_list Call NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Pass decorator_list Call NameLoad keyword NameLoad keyword Str keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad Str Str Str decorator_list decorator_list NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list NameLoad decorator_list
N/A __future__ unicode_literals datetime datetime timedelta N/A logging N/A pytz croniter.croniter croniter django.db models django.utils timezone django_timezone django.utils six django.utils.encoding python_2_unicode_compatible django.contrib.contenttypes models ct_models django.contrib.contenttypes fields ct_fields django_fsm transition FSMIntegerField jsonfield JSONField nodeconductor.core models core_models nodeconductor.core fields core_fields nodeconductor.backup managers exceptions utils nodeconductor.logging.loggers LoggableMixin N/A logger N/A N/A logging getLogger __name__ BackupSourceAbstractModel N/A N/A models Model N/A N/A 
    Abstract model with generic key to backup source
     N/A content_type N/A N/A models ForeignKey N/A ct_models ContentType N/A object_id N/A N/A models PositiveIntegerField N/A backup_source N/A N/A ct_fields GenericForeignKey content_type object_id Meta N/A object N/A N/A abstract True N/A N/A BackupSchedule N/A N/A core_models UuidMixin N/A core_models DescribableMixin LoggableMixin BackupSourceAbstractModel N/A N/A 
    Model representing a backup schedule for a generic object.
     N/A retention_time N/A N/A models PositiveIntegerField help_text Retention time in days N/A maximal_number_of_backups N/A N/A models PositiveSmallIntegerField N/A schedule N/A N/A core_fields CronScheduleField max_length 15 N/A next_trigger_at N/A N/A models DateTimeField null True N/A is_active N/A N/A models BooleanField default False N/A timezone N/A N/A models CharField max_length 50 default N/A django_timezone get_current_timezone_name __str__ N/A N/A self N/A N/A N/A N/A %(uuid)s BackupSchedule of %(object)s N/A uuid object schedule N/A self uuid N/A self backup_source N/A self schedule N/A _update_next_trigger_at N/A N/A self N/A N/A N/A 
        Defines next backup creation time
         N/A base_time N/A N/A N/A N/A django_timezone now replace tzinfo N/A N/A pytz timezone N/A self timezone N/A N/A self next_trigger_at N/A N/A N/A croniter N/A self schedule base_time get_next datetime N/A _check_backup_source_state N/A N/A self N/A N/A N/A 
        Backup source should be stable state.
         N/A state N/A N/A self backup_source state N/A N/A state N/A N/A N/A self backup_source States STABLE_STATES N/A N/A N/A N/A logger warning N/A Cannot execute backup schedule for %s in state %s. N/A N/A self backup_source state N/A False N/A True N/A _create_backup N/A N/A self N/A N/A N/A 
        Creates new backup based on schedule and starts backup process
         N/A N/A N/A N/A self _check_backup_source_state N/A N/A N/A kept_until N/A N/A self retention_time N/A N/A N/A django_timezone now N/A timedelta days N/A self retention_time None N/A backup N/A N/A N/A Backup objects create backup_schedule self backup_source N/A self backup_source kept_until kept_until description scheduled backup N/A N/A N/A backup start_backup N/A backup N/A _delete_extra_backups N/A N/A self N/A N/A N/A 
        Deletes oldest existing backups if maximal_number_of_backups was reached
         N/A exclude_states N/A N/A N/A Backup States DELETING N/A N/A Backup States DELETED N/A N/A Backup States ERRED N/A backups_count N/A N/A N/A N/A N/A self backups exclude state__in exclude_states count N/A extra_backups_count N/A backups_count N/A self maximal_number_of_backups N/A N/A extra_backups_count 0 N/A N/A backup N/A N/A N/A N/A self backups order_by created_at N/A extra_backups_count N/A N/A N/A N/A backup start_deletion N/A execute N/A N/A self N/A N/A N/A 
        Creates new backup, deletes existing if maximal_number_of_backups was
        reached, calculates new next_trigger_at time.
         N/A N/A N/A self _create_backup N/A N/A N/A self _delete_extra_backups N/A N/A N/A self _update_next_trigger_at N/A N/A N/A self save N/A save N/A N/A self N/A args kwargs N/A N/A 
        Updates next_trigger_at field if:
         - instance become active
         - instance.schedule changed
         - instance is new
         N/A N/A N/A prev_instance N/A N/A N/A BackupSchedule objects get pk N/A self pk N/A N/A N/A N/A BackupSchedule DoesNotExist N/A N/A prev_instance None N/A N/A N/A prev_instance None N/A N/A N/A N/A prev_instance is_active N/A self is_active N/A N/A self schedule N/A prev_instance schedule N/A N/A N/A N/A self _update_next_trigger_at N/A N/A N/A N/A super BackupSchedule self save args kwargs N/A get_log_fields N/A N/A self N/A N/A N/A N/A uuid name backup_source N/A N/A python_2_unicode_compatible Backup N/A N/A core_models UuidMixin N/A core_models DescribableMixin LoggableMixin BackupSourceAbstractModel N/A N/A 
    Model representing a single instance of a backup.
     N/A backup_schedule N/A N/A models ForeignKey BackupSchedule blank True null True on_delete N/A models SET_NULL related_name backups N/A kept_until N/A N/A models DateTimeField null True blank True help_text Guaranteed time of backup retention. If null - keep forever. N/A created_at N/A N/A models DateTimeField auto_now_add True States N/A object N/A N/A READY 1 N/A BACKING_UP 2 N/A RESTORING 3 N/A DELETING 4 N/A ERRED 5 N/A DELETED 6 N/A N/A STATE_CHOICES N/A N/A N/A States READY Ready N/A N/A States BACKING_UP Backing up N/A N/A States RESTORING Restoring N/A N/A States DELETING Deleting N/A N/A States ERRED Erred N/A N/A States DELETED Deleted N/A state N/A FSMIntegerField default N/A States READY choices STATE_CHOICES N/A metadata N/A JSONField blank True help_text Additional information about backup, can be used for backup restoration or deletion N/A objects N/A N/A managers BackupManager __str__ N/A N/A self N/A N/A N/A N/A %(uuid)s backup of %(object)s N/A uuid object N/A self uuid N/A self backup_source N/A start_backup N/A N/A self N/A N/A N/A 
        Starts celery backup task
         nodeconductor.backup tasks N/A N/A N/A self _starting_backup N/A N/A N/A self __save N/A N/A N/A N/A tasks process_backup_task delay N/A N/A self uuid hex N/A start_restoration N/A N/A self instance_uuid user_input snapshot_ids N/A N/A N/A 
        Starts backup restoration task.
         nodeconductor.backup tasks N/A N/A N/A self _starting_restoration N/A N/A N/A self __save N/A N/A N/A N/A tasks restoration_task delay N/A N/A self uuid hex N/A instance_uuid hex user_input snapshot_ids N/A start_deletion N/A N/A self N/A N/A N/A 
        Starts backup deletion task
         nodeconductor.backup tasks N/A N/A N/A self _starting_deletion N/A N/A N/A self __save N/A N/A N/A N/A tasks deletion_task delay N/A N/A self uuid hex N/A set_metadata N/A N/A self metadata N/A N/A N/A N/A self metadata metadata N/A N/A N/A self __save N/A confirm_backup N/A N/A self N/A N/A N/A N/A N/A self _confirm_backup N/A N/A N/A self __save N/A confirm_restoration N/A N/A self N/A N/A N/A N/A N/A self _confirm_restoration N/A N/A N/A self __save N/A confirm_deletion N/A N/A self N/A N/A N/A N/A N/A self _confirm_deletion N/A N/A N/A self __save N/A erred N/A N/A self N/A N/A N/A N/A N/A self _erred N/A N/A N/A self __save N/A get_strategy N/A N/A self N/A N/A N/A N/A N/A N/A N/A utils get_object_backup_strategy N/A self backup_source N/A N/A N/A KeyError N/A N/A N/A N/A six reraise N/A exceptions BackupStrategyNotFoundError N/A N/A exceptions BackupStrategyNotFoundError N/A _starting_backup N/A N/A self N/A N/A N/A N/A N/A transition field state source N/A States READY target N/A States BACKING_UP _confirm_backup N/A N/A self N/A N/A N/A N/A N/A transition field state source N/A States BACKING_UP target N/A States READY _starting_restoration N/A N/A self N/A N/A N/A N/A N/A transition field state source N/A States READY target N/A States RESTORING _confirm_restoration N/A N/A self N/A N/A N/A N/A N/A transition field state source N/A States RESTORING target N/A States READY _starting_deletion N/A N/A self N/A N/A N/A N/A N/A transition field state source N/A States READY target N/A States DELETING _confirm_deletion N/A N/A self N/A N/A N/A N/A N/A transition field state source N/A States DELETING target N/A States DELETED _erred N/A N/A self N/A N/A N/A N/A N/A transition field state source * target N/A States ERRED __save N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super Backup self save args kwargs N/A get_log_fields N/A N/A self N/A N/A N/A N/A uuid name backup_source N/A N/A python_2_unicode_compatible BackupStrategy N/A object N/A N/A 
    A parent class for the model-specific backup strategies.
     get_model N/A N/A cls N/A N/A N/A N/A NotImplementedError Implement get_model() that would return model. N/A classmethod backup N/A N/A cls backup_source N/A N/A N/A N/A NotImplementedError Implement backup() that would perform backup of a model. N/A classmethod restore N/A N/A cls backup_source metadata user_input N/A N/A N/A N/A NotImplementedError Implement restore() that would perform backup of a model. N/A classmethod get_restoration_serializer N/A N/A cls backup_source metadata user_input N/A N/A N/A N/A NotImplementedError Implement get_restoration_serializer() that would perform backup of a model. N/A classmethod delete N/A N/A cls backup_source metadata N/A N/A N/A N/A NotImplementedError Implement delete() that would perform backup of a model. N/A classmethod N/A