Package hdlorean


Functions

def usage
 prins how to use the application
def create
 Create a Snapshot, adding the path to the config file if not set before.
def listTimeOfSnapshots
 Prints the list of snapshots in time order.
def listContent
 Lists the content of a path in a date of snapshot.
def recoverPrevious
 (Still NOT implemented) Recover the previous snapshot of a path.
def recoverSnapshot
 (Still NOT implemented) Recover a snapshot passing the number of snapshot done.
def recoverSnapshotFromDate
 Recover a snapshot passing the date of snapshot.
def erase
 (Still NOT implemented) Erase a snapshot.
def main
 Main loop to catch the command line arguments and do the right things.


Function Documentation

def hdlorean.create (   arguments,
  storageMngr,
  configFileMngr 
)

Create a Snapshot, adding the path to the config file if not set before.

Parameters:
arguments Arguments passed through the command line
storageMngr The StoreManager
configFielMngr The ConfigFileManager
Returns:
true if the backup set was succesfully added to the instance of StorageManager
Author:
Fede

def hdlorean.erase (   arguments,
  storageMngr,
  Force 
)

(Still NOT implemented) Erase a snapshot.

Parameters:
arguments The arguments passed through the command line. Should be the path, and the date?
storageMngr The StorageManager
Force Force the deletion.
Author:
Fede

def hdlorean.listContent (   arguments,
  storageMngr 
)

Lists the content of a path in a date of snapshot.

Parameters:
arguments The arguments passed through the command line, should be the path and the date.
storageMngr The StoreManager
Author:
Fede

def hdlorean.listTimeOfSnapshots (   storageMngr  ) 

Prints the list of snapshots in time order.

Parameters:
storageMngr The StoreManager
Author:
Fede

def hdlorean.main (  ) 

Main loop to catch the command line arguments and do the right things.

Author:
Fede

def hdlorean.recoverPrevious (   arguments,
  storageMngr,
  Force 
)

(Still NOT implemented) Recover the previous snapshot of a path.

Parameters:
arguments The arguments passed through the command line, should be the path to recover.
storageMngr The StoreManager
Force Force the overwriting
Author:
Fede

def hdlorean.recoverSnapshot (   snapshotNumber,
  arguments,
  storageMngr,
  Force 
)

(Still NOT implemented) Recover a snapshot passing the number of snapshot done.

Parameters:
snapshotNumber The number of snapshot counting from the first snapshot or downcounting from the last snapshot.
arguments The arguments passed through the command line, should be the path.
storageMngr The StoreManager
Force Force the overwriting
Author:
Fede

def hdlorean.recoverSnapshotFromDate (   date,
  arguments,
  storageMngr,
  Force 
)

Recover a snapshot passing the date of snapshot.

Parameters:
date The date of snapshot
arguments The arguments passed through the command line, should be the path.
storageMngr The StoreManager
Force Force the overwriting
Author:
Fede

def hdlorean.usage (  ) 

prins how to use the application

Author:
Fede


Generated on Wed Dec 19 19:25:04 2007 for HdLorean by  doxygen 1.5.4