function _backup_migrate_get_save_path in Backup and Migrate 5.2
Same name and namespace in other branches
- 5 backup_migrate.module \_backup_migrate_get_save_path()
- 6 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 includes/
destinations.file.inc - Check the default backup desitantion directory. Included as legacy support.
- _backup_migrate_path_is_in_save_dir in includes/
destinations.file.inc - Return the path on the server to save the dump files.
File
- includes/
destinations.file.inc, line 196 - Functions to handle the local server directory backup destinations.
Code
function _backup_migrate_get_save_path($mode = "") {
$dir = file_directory_path() . "/backup_migrate";
if ($mode) {
$dir .= $mode == "manual" ? "/manual" : "/scheduled";
}
return $dir;
}