Package timedrive :: Package background :: Module managebackups :: Class ManageBackups
[frames] | no frames]

Class ManageBackups


Background task that deletes and manages backup sets, snapshots, and associated metadata

Nested Classes

Inherited from PyQt4.QtCore.QThread: Priority

Instance Methods
 
__init__(self, parent=None)
Initialization function for Manage Backups
 
DeleteBackupSet(self, backupTime, folder)
 
CleanupBackup(self, folder)
 
RunOperation(self, operationType, folder, stringTime=None)
Deletes the snapshots as specified by time.
 
run(self)
Primary method of the class.

Inherited from backgroundtask.BackgroundTask: questionPrompt, setupTaskProgress, start, taskComplete, taskError, toggleControls, updateTaskProgress

Inherited from PyQt4.QtCore.QThread: currentThread, currentThreadId, exec_, exit, finished, idealThreadCount, isFinished, isRunning, msleep, priority, quit, setPriority, setStackSize, setTerminationEnabled, sleep, stackSize, started, terminate, terminated, usleep, wait, yieldCurrentThread

Inherited from PyQt4.QtCore.QObject: blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isWidgetType, killTimer, metaObject, moveToThread, objectName, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr, trUtf8

Inherited from sip.simplewrapper: __delattr__, __getattribute__, __new__, __setattr__

Inherited from object: __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__, __subclasshook__

Class Variables
  opTypeDELETEBACKUP = 1
  opTypeCLEANUPBACKUP = 2

Inherited from PyQt4.QtCore.QThread: HighPriority, HighestPriority, IdlePriority, InheritPriority, LowPriority, LowestPriority, NormalPriority, TimeCriticalPriority

Inherited from PyQt4.QtCore.QObject: staticMetaObject

Properties

Inherited from backgroundtask.BackgroundTask: default_message, restart, stop, task_name

Inherited from object: __class__

Method Details

__init__(self, parent=None)
(Constructor)

 

Initialization function for Manage Backups

Parameters:
  • parent (BackgroundTask Object)
Overrides: object.__init__

RunOperation(self, operationType, folder, stringTime=None)

 

Deletes the snapshots as specified by time.

Parameters:
  • operationType
  • folder
  • stringTime

run(self)

 

Primary method of the class.

Overrides: PyQt4.QtCore.QThread.run