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. |
def IStorageWrapper.IStorageWrapper.__init__ | ( | self | ) |
Default constructor
Reimplemented in RdiffBackupWrapper.RdiffBackupWrapper.
def IStorageWrapper.IStorageWrapper.backupSet | ( | self, | ||
setFileSet | ||||
) |
Backups a set of files
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
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
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
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
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 |
Reimplemented in RdiffBackupWrapper.RdiffBackupWrapper.
def IStorageWrapper.IStorageWrapper.getAllSnapshots | ( | self | ) |
Gets a list of all snapshot performed by now
Reimplemented in RdiffBackupWrapper.RdiffBackupWrapper.
string IStorageWrapper.IStorageWrapper.__snapshotsDirectory = "" [static, private] |
Stores where snapshots must be saved.