function backup_migrate_destination_s3::remote_path in Backup and Migrate 8.2
Same name and namespace in other branches
- 8.3 includes/destinations.s3.inc \backup_migrate_destination_s3::remote_path()
- 6.3 includes/destinations.s3.inc \backup_migrate_destination_s3::remote_path()
- 6.2 includes/destinations.s3.inc \backup_migrate_destination_s3::remote_path()
- 7.3 includes/destinations.s3.inc \backup_migrate_destination_s3::remote_path()
- 7.2 includes/destinations.s3.inc \backup_migrate_destination_s3::remote_path()
Generate a filepath with the correct prefix.
3 calls to backup_migrate_destination_s3::remote_path()
- backup_migrate_destination_s3::load_file in includes/
destinations.s3.inc - Load from the s3 destination.
- backup_migrate_destination_s3::_delete_file in includes/
destinations.s3.inc - Delete from the s3 destination.
- backup_migrate_destination_s3::_save_file in includes/
destinations.s3.inc - Save to to the s3 destination.
File
- includes/
destinations.s3.inc, line 123 - Functions to handle the s3 backup destination.
Class
- backup_migrate_destination_s3
- A destination for sending database backups to an s3 server.
Code
function remote_path($path) {
if ($subdir = $this
->get_subdir()) {
$path = $subdir . '/' . $path;
}
return $path;
}