Module tests.backupstore

Functions

def backup_cleanup()
def backup_volume_path(volume_name)
def backupstore_cleanup(client)
def backupstore_corrupt_backup_cfg_file(client, core_api, volume_name, backup_name)
def backupstore_count_backup_block_files(client, core_api, volume_name)
def backupstore_create_dummy_in_progress_backup(client, core_api, volume_name)
def backupstore_create_file(client, core_api, file_path, data={})
def backupstore_delete_backup_cfg_file(client, core_api, volume_name, backup_name)
def backupstore_delete_dummy_in_progress_backup(client, core_api, volume_name)
def backupstore_delete_file(client, core_api, file_path)
def backupstore_delete_random_backup_block(client, core_api, volume_name)
def backupstore_delete_volume_cfg_file(client, core_api, volume_name)
def backupstore_get_backup_blocks_dir(client, volume_name)
def backupstore_get_backup_cfg_file_path(client, volume_name, backup_name)
def backupstore_get_backup_target(client)
def backupstore_get_backup_volume_prefix(client, volume_name)
def backupstore_get_secret(client)
def backupstore_get_volume_cfg_file_path(client, volume_name)
def backupstore_invalid(client)
def backupstore_nfs(client)
def backupstore_s3(client)
def backupstore_wait_for_lock_expiration()

waits 150 seconds which is the lock duration TODO: once we have implemented the delete functions, we can switch to removing the locks directly

def backupstore_write_backup_cfg_file(client, core_api, volume_name, backup_name, data)
def get_nfs_mount_point(client)
def minio_count_backup_block_files(client, core_api, volume_name)
def minio_delete_backup_cfg_file(client, core_api, volume_name, backup_name)
def minio_delete_random_backup_block(client, core_api, volume_name)
def minio_delete_volume_cfg_file(client, core_api, volume_name)
def minio_get_api_client(client, core_api, minio_secret_name)
def minio_get_backup_blocks_dir(volume_name)
def minio_get_backup_cfg_file_path(volume_name, backup_name)
def minio_get_backup_volume_prefix(volume_name)
def minio_get_backupstore_bucket_name(client)
def minio_get_backupstore_path(client)
def minio_get_volume_cfg_file_path(volume_name)
def minio_write_backup_cfg_file(client, core_api, volume_name, backup_name, backup_cfg_data)
def mino_create_file_in_backupstore(client, core_api, file_path, data={})
def mino_delete_file_in_backupstore(client, core_api, file_path)
def mount_nfs_backupstore(client, mount_path='/mnt/nfs')
def nfs_count_backup_block_files(client, volume_name)
def nfs_create_file_in_backupstore(file_path, data={})
def nfs_delete_backup_cfg_file(client, volume_name, backup_name)
def nfs_delete_file_in_backupstore(file_path)
def nfs_delete_random_backup_block(client, volume_name)
def nfs_delete_volume_cfg_file(client, volume_name)
def nfs_get_backup_blocks_dir(client, volume_name)
def nfs_get_backup_cfg_file_path(client, volume_name, backup_name)
def nfs_get_backup_volume_prefix(client, volume_name)
def nfs_get_volume_cfg_file_path(client, volume_name)
def nfs_write_backup_cfg_file(client, volume_name, backup_name, data)
def reset_backupstore_setting(client)
def set_backupstore_credential_secret(client, credential_secret)
def set_backupstore_invalid(client)
def set_backupstore_nfs(client)
def set_backupstore_poll_interval(client, poll_interval)
def set_backupstore_s3(client)
def set_backupstore_url(client, url)
def set_random_backupstore(request, client)
def umount_nfs_backupstore(client, mount_path='/mnt/nfs')