IStorageWrapper.IStorageWrapper Class Reference

Inherited by RdiffBackupWrapper.RdiffBackupWrapper.

List of all members.

Public Member Functions

def __init__
def backupSet
def recoverSnapshotAtTime
def recoverPathAtTime
def deleteAtTime
def getDirList
def getAllSnapshots

Static Private Attributes

string __snapshotsDirectory = ""
 Stores where snapshots must be saved.


Detailed Description

Abstract class must be extended by classes that manage snapshots.

Author:
Salvador de la Puente González neo.salvador@gmail.com

Member Function Documentation

def IStorageWrapper.IStorageWrapper.__init__ (   self  ) 

Default constructor

Reimplemented in RdiffBackupWrapper.RdiffBackupWrapper.

def IStorageWrapper.IStorageWrapper.backupSet (   self,
  setFileSet 
)

Backups a set of files

Parameters:
setFileSet a set with absolute paths to files to be backupped

Reimplemented in RdiffBackupWrapper.RdiffBackupWrapper.

def IStorageWrapper.IStorageWrapper.recoverSnapshotAtTime (   self,
  strTime,
  strTargetPath 
)

Recovers a snapshot at given time to a given target directory

Parameters:
strTime time of the backup to be recovered
strTargetPath target directory to copy recovered snapshot

Reimplemented in RdiffBackupWrapper.RdiffBackupWrapper.

def IStorageWrapper.IStorageWrapper.recoverPathAtTime (   self,
  strSourcePath,
  strTime,
  strTargetPath 
)

Recovers a given file or directory at given time to a given target directory

Parameters:
strSourcePath path to recover
strTime time of the snapshot to be recovered
strTargetPath target directory to copy recovered snapshot

Reimplemented in RdiffBackupWrapper.RdiffBackupWrapper.

def IStorageWrapper.IStorageWrapper.deleteAtTime (   self,
  strTime 
)

Deletes an specified snapshot at given time

Parameters:
strTime time of the snapshot to be deleted

Reimplemented in RdiffBackupWrapper.RdiffBackupWrapper.

def IStorageWrapper.IStorageWrapper.getDirList (   self,
  strDir,
  strTime,
  boolRecursive 
)

Gets a list of the content of the given directory at given time

Parameters:
strDir directory path to list it content
strTime specify when list operation is performed
boolRecursive if true, then it returns the content of folder and its subfolders. Otherwise, just returns content of folder
Returns:
an array with the content of the folder and some important metadata

Reimplemented in RdiffBackupWrapper.RdiffBackupWrapper.

def IStorageWrapper.IStorageWrapper.getAllSnapshots (   self  ) 

Gets a list of all snapshot performed by now

Returns:
an array with all snapshots available

Reimplemented in RdiffBackupWrapper.RdiffBackupWrapper.


Member Data Documentation

string IStorageWrapper.IStorageWrapper.__snapshotsDirectory = "" [static, private]

Stores where snapshots must be saved.


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