function _backup_migrate_get_save_path in Backup and Migrate 6
Same name and namespace in other branches
- 5.2 includes/destinations.file.inc \_backup_migrate_get_save_path()
- 5 backup_migrate.module \_backup_migrate_get_save_path()
Return the path on the server to save the dump files.
2 calls to _backup_migrate_get_save_path()
- _backup_migrate_check_destination_dir in ./
backup_migrate.module - Prepare the destination directory for the backups.
- _backup_migrate_path_is_in_save_dir in ./
backup_migrate.module - Return the path on the server to save the dump files.
File
- ./
backup_migrate.module, line 1026 - Create (manually or scheduled) and restore backups of your Drupal MySQL database with an option to exclude table data (f.e. cache_*)
Code
function _backup_migrate_get_save_path($mode = "") {
$dir = file_directory_path() . "/backup_migrate";
if ($mode) {
$dir .= $mode == "manual" ? "/manual" : "/scheduled";
}
return $dir;
}