|
int
|
handle_error(err_message)
handles the error produced by duplicity and tries to make a proper
response |
|
|
|
String
|
find_file(file_name)
Using the file_name, search in the common places. |
|
|
|
Int
|
time_String2Int(time_string)
Convenience funciton for converting raw time strings to integer
format. |
|
|
|
|
time_GetCurrentTime()
Convenience function which can retrieve the current time |
|
|
|
|
time_Int2String(time_int)
Convenience function for converting time in integer format to raw
string. |
|
|
|
|
time_String2Pretty(time_string)
Convenience funciton for converting raw time strings to a more
readable format. |
|
|
|
|
time_Int2Pretty(time_int)
Convenience function for converting time integers to a more readable
format. |
|
|
|
String
|
verify_ExcludePattern(exclude_pattern)
Verifies the specified exclude_pattern or path to ensure that it
doesn't contain illegal characters. |
|
|
|
|
setup_cron(backup_frequency)
Method that creates a listing in the users crontab file so that
backups can run unattended. |
|
|
|
Boolean
|
|
|
IncludeItem Object
|
findFolder(IncludeList,
includeName,
includeType=None)
Locates a folder in the includes list |
|
|
|
int
|
|
|
|
backupTypeToText(includeItem)
convert folder backup type to text Note: when text change method
textToBackupType |
|
|
|
|
textToBackupType(text)
convert text to folder backup type Note: when text change method
backupTypeToText |
|
|
|
|
locationTypeToText(includeItem)
convert folder location type to text Note: when text change method
textToLocationType |
|
|
|
|
textToLocationType(text)
convert text to folder location type Note: when text change method
locationTypeToText |
|
|
|
String
|
|
|
String
|
|
|
Boolean
|
umount_remote(include)
umount the remote folder, no remove of folder |
|
|
|
String
|
which(program)
This mimics the behavior of the UNIX 'which' command. |
|
|