Tardis  1.2.1
About: Tardis is a system for making encrypted, incremental backups of filesystems.
  Fossies Dox: Tardis-1.2.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Tardis.Sonic Namespace Reference

Functions

def getDB (password, new=False, allowRemote=True, allowUpgrade=False)
 
def createClient (password)
 
def setPassword (password)
 
def changePassword (crypt, oldpw)
 
def moveKeys (db, crypt)
 
def getCommandLine (db, commandLineCksum)
 
def listBSets (db, crypt, cache)
 
def _decryptFilename (name, crypt)
 
def _path (db, crypt, bset, inode)
 
def listFiles (db, crypt)
 
def _bsetInfo (db, info)
 
def bsetInfo (db)
 
def confirm ()
 
def purge (db, cache)
 
def deleteBsets (db, cache)
 
def removeOrphans (db, cache)
 
def _printConfigKey (db, key)
 
def getConfig (db)
 
def setConfig (db)
 
def setPriority (db)
 
def renameSet (db)
 
def parseArgs ()
 
def getBackupSet (db, backup, date, defaultCurrent=False)
 
def main ()
 

Variables

 current = Defaults.getDefault('TARDIS_RECENT_SET')
 
list configKeys = ['Formats', 'Priorities', 'KeepDays', 'ForceFull', 'SaveFull', 'MaxDeltaChain', 'MaxChangePercent', 'VacuumInterval', 'AutoPurge', 'Disabled', 'SaveConfig']
 
list sysKeys = ['ClientID', 'SchemaVersion', 'FilenameKey', 'ContentKey', 'CryptoScheme']
 
 logger = None
 
 args = None
 
dictionary _cmdLineHash = {}
 
 _regenerator = None
 
dictionary _paths = {(0, 0): '/'}
 

Function Documentation

◆ _bsetInfo()

def Tardis.Sonic._bsetInfo (   db,
  info 
)
private

Definition at line 387 of file Sonic.py.

Referenced by Tardis.Sonic.bsetInfo().

◆ _decryptFilename()

def Tardis.Sonic._decryptFilename (   name,
  crypt 
)
private

Definition at line 306 of file Sonic.py.

Referenced by Tardis.Sonic._path(), and Tardis.Sonic.listFiles().

◆ _path()

def Tardis.Sonic._path (   db,
  crypt,
  bset,
  inode 
)
private

Definition at line 309 of file Sonic.py.

References Tardis.Sonic._decryptFilename().

Referenced by Tardis.Sonic.listFiles().

◆ _printConfigKey()

def Tardis.Sonic._printConfigKey (   db,
  key 
)
private

Definition at line 500 of file Sonic.py.

Referenced by Tardis.Sonic.getConfig(), and Tardis.Sonic.setConfig().

◆ bsetInfo()

def Tardis.Sonic.bsetInfo (   db)

Definition at line 413 of file Sonic.py.

References Tardis.Sonic._bsetInfo(), and Tardis.Sonic.getBackupSet().

Referenced by Tardis.Sonic.main().

◆ changePassword()

def Tardis.Sonic.changePassword (   crypt,
  oldpw 
)

Definition at line 155 of file Sonic.py.

References Tardis.Sonic.getDB().

Referenced by Tardis.Sonic.main().

◆ confirm()

def Tardis.Sonic.confirm ( )

Definition at line 431 of file Sonic.py.

Referenced by Tardis.Sonic.deleteBsets(), and Tardis.Sonic.purge().

◆ createClient()

def Tardis.Sonic.createClient (   password)

Definition at line 106 of file Sonic.py.

References Tardis.Sonic.getDB(), and Tardis.Sonic.setPassword().

Referenced by Tardis.Sonic.main().

◆ deleteBsets()

def Tardis.Sonic.deleteBsets (   db,
  cache 
)

◆ getBackupSet()

def Tardis.Sonic.getBackupSet (   db,
  backup,
  date,
  defaultCurrent = False 
)

◆ getCommandLine()

def Tardis.Sonic.getCommandLine (   db,
  commandLineCksum 
)

Definition at line 242 of file Sonic.py.

Referenced by Tardis.Sonic.listBSets().

◆ getConfig()

def Tardis.Sonic.getConfig (   db)

Definition at line 505 of file Sonic.py.

References Tardis.Sonic._printConfigKey().

Referenced by Tardis.Sonic.main().

◆ getDB()

def Tardis.Sonic.getDB (   password,
  new = False,
  allowRemote = True,
  allowUpgrade = False 
)

◆ listBSets()

def Tardis.Sonic.listBSets (   db,
  crypt,
  cache 
)

Definition at line 256 of file Sonic.py.

References Tardis.Sonic.getCommandLine().

Referenced by Tardis.Sonic.main().

◆ listFiles()

def Tardis.Sonic.listFiles (   db,
  crypt 
)

◆ main()

◆ moveKeys()

def Tardis.Sonic.moveKeys (   db,
  crypt 
)

Definition at line 207 of file Sonic.py.

Referenced by Tardis.Sonic.main().

◆ parseArgs()

def Tardis.Sonic.parseArgs ( )

Definition at line 531 of file Sonic.py.

Referenced by Tardis.Sonic.main().

◆ purge()

def Tardis.Sonic.purge (   db,
  cache 
)

◆ removeOrphans()

def Tardis.Sonic.removeOrphans (   db,
  cache 
)

Definition at line 489 of file Sonic.py.

Referenced by Tardis.Sonic.deleteBsets(), Tardis.Sonic.main(), and Tardis.Sonic.purge().

◆ renameSet()

def Tardis.Sonic.renameSet (   db)

Definition at line 524 of file Sonic.py.

References Tardis.Sonic.getBackupSet().

Referenced by Tardis.Sonic.main().

◆ setConfig()

def Tardis.Sonic.setConfig (   db)

Definition at line 515 of file Sonic.py.

References Tardis.Sonic._printConfigKey().

Referenced by Tardis.Sonic.main().

◆ setPassword()

def Tardis.Sonic.setPassword (   password)

Definition at line 123 of file Sonic.py.

References Tardis.Sonic.getDB().

Referenced by Tardis.Sonic.createClient(), and Tardis.Sonic.main().

◆ setPriority()

def Tardis.Sonic.setPriority (   db)

Definition at line 520 of file Sonic.py.

References Tardis.Sonic.getBackupSet().

Referenced by Tardis.Sonic.main().

Variable Documentation

◆ _cmdLineHash

dictionary Tardis.Sonic._cmdLineHash = {}
private

Definition at line 240 of file Sonic.py.

◆ _paths

dictionary Tardis.Sonic._paths = {(0, 0): '/'}
private

Definition at line 304 of file Sonic.py.

◆ _regenerator

Tardis.Sonic._regenerator = None
private

Definition at line 241 of file Sonic.py.

◆ args

Tardis.Sonic.args = None

Definition at line 63 of file Sonic.py.

◆ configKeys

list Tardis.Sonic.configKeys = ['Formats', 'Priorities', 'KeepDays', 'ForceFull', 'SaveFull', 'MaxDeltaChain', 'MaxChangePercent', 'VacuumInterval', 'AutoPurge', 'Disabled', 'SaveConfig']

Definition at line 58 of file Sonic.py.

◆ current

Tardis.Sonic.current = Defaults.getDefault('TARDIS_RECENT_SET')

Definition at line 55 of file Sonic.py.

◆ logger

Tardis.Sonic.logger = None

Definition at line 62 of file Sonic.py.

◆ sysKeys

list Tardis.Sonic.sysKeys = ['ClientID', 'SchemaVersion', 'FilenameKey', 'ContentKey', 'CryptoScheme']

Definition at line 60 of file Sonic.py.