Module manage_snapshots
|
|
| CombineBackups(stringTime,
folder) |
|
|
|
void
|
|
|
void
|
restore_check_hash(volume_info,
vol_path)
Check the hash of vol_path path against data in volume_info |
|
|
|
|
restore_get_enc_fileobj(backend,
filename,
volume_info)
Returns a plaintext fileobj from encrypted filename on backend |
|
|
|
|
DAY = 1
|
|
|
MANUAL = 0
|
|
|
MONTH = 3
|
|
|
WEEK = 2
|
|
|
__package__ = 'timedrive.utils'
|
Imports:
Settings,
backupTypeToText,
determine_folderName,
dup_time,
duplicity_interface,
findFolder,
find_file,
getPortProtocol,
globals,
handle_error,
includeitem,
locationTypeToText,
log,
mount_remote,
os,
re,
server_available,
setup_cron,
socket,
subprocess,
sys,
textToBackupType,
textToLocationType,
time,
time_GetCurrentTime,
time_Int2Pretty,
time_Int2String,
time_String2Int,
time_String2Pretty,
umount_remote,
verify_ExcludePattern,
which
restore_add_sig_check(fileobj)
|
|
Requires signature when closing fileobj matches sig in gpg_profile
- Returns: void
- void
|
restore_check_hash(volume_info,
vol_path)
|
|
Check the hash of vol_path path against data in volume_info
- Returns: void
- void
|
restore_get_enc_fileobj(backend,
filename,
volume_info)
|
|
Returns a plaintext fileobj from encrypted filename on backend
If volume_info is set, the hash of the file will be checked, assuming
the hash is available. If globals.sign_key is set, a fatal error will be
raised if the file is not signed by the key.
|