|
|
get_snapshot_list(archive_url,
gnu_passphrase,
sync_remote=True,
S3_AccessId=None,
S3_SecretKey=None,
S3_BucketType=None)
Retrieves a list of the snapshots that are currently available in a
given archive. |
|
|
|
|
delete_backup(archive_url,
gnu_passphrase,
backup_time,
sync_remote=True,
S3_AccessId=None,
S3_SecretKey=None,
S3_BucketType=None)
Deletes the backup sets specified by archive_url and backup_time |
|
|
|
|
get_backup_sets(col_stats,
backup_time1,
backup_time2=None)
Retreives the backup sets of col_stats between backup_time1 and
backup_time2. |
|
|
|
path_iter
|
get_file_list(archive_url,
gnu_passphrase,
sync_remote=True,
time=None,
S3_AccessId=None,
S3_SecretKey=None,
S3_BucketType=None)
Retrieve the file_list from the specified archive url. |
|
|
|
Boolean, String
|
run_cleanup_backupset(archive_url,
gnu_passphrase,
sync_remote=True,
S3_AccessId=None,
S3_SecretKey=None,
S3_BucketType=None)
Method that checks the specified backup set to see if files left from
failed backups need to be removed. |
|
|
|
|
get_collection_status(archive_url,
gnu_passphrase=None,
sync_remote=True,
time=None,
S3_AccessId=None,
S3_SecretKey=None,
S3_BucketType=None)
Retrieves a valid backend, archive dir, and collection status objects
from the supplied archive_url, gnu_passphrase and other pertinent
information. |
|
|
|
Boolean
|
test_connection_url(archive_url,
S3_AccessId=None,
S3_SecretKey=None,
S3_BucketType=None)
Test the remote conneciton to ensure that it is valid |
|
|
|
|
restore_file(relative_path,
archive_url,
gnu_passphrase,
destination,
restore_time=None,
S3_AccessId=None,
S3_SecretKey=None,
S3_BucketType=None)
Restores the file specified by relative_path to destination |
|
|
|
|
start_backup(path,
archive_url,
gnu_passphrase,
ExcludeList=None,
FullBackupInterval=None,
S3_AccessId=None,
S3_SecretKey=None,
S3_BucketType=None)
Begins a new backup operation for the specified path and archive url. |
|
|
|
Boolean, String
|
cleanup_backupset(col_stats,
dry_run=False)
Delete the extraneous files in the current backend |
|
|
|
|
cleanup_globals()
Returns global variables to default states after action has finished. |
|
|
|
|
get_version(version_string)
Returns:
list with the [major, minor, revision] version numbers for Duplicity,
e.g. |
|
|
|
|
get_archive_dir(archive_url)
Returns:
Path to the directory where the local archive cache is stored. |
|
|
|
path_iter (duplicity class)
|
list_current(col_stats)
Returns a list of the files that are currently in the archive. |
|
|
|
|
check_sig_chain(col_stats)
Get last signature chain for inc backup, or None if none avaialble. |
|
|
|
void
|
sync_archive(backend,
gnu_passphrase)
Synchronize local archive manifest file and sig chains to remote
archives. |
|
|