function _backup_migrate_get_save_path in Backup and Migrate 5
Same name and namespace in other branches
- 5.2 includes/destinations.file.inc \_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.
14 calls to _backup_migrate_get_save_path()
- BackupMigrateFunctionalityTest::setUp in tests/
BackupMigrateFunctionalityTest.test - SimpleTest core method: code run before each and every test method.
- BackupMigrateFunctionalityTest::tearDown in tests/
BackupMigrateFunctionalityTest.test - SimpleTest core method: code run after each and every test method.
- BackupMigrateFunctionalityTest::testDeleteBackup in tests/
BackupMigrateFunctionalityTest.test - BackupMigrateFunctionalityTest::testListSavedBackups in tests/
BackupMigrateFunctionalityTest.test - BackupMigrateFunctionalityTest::testManualBackup in tests/
BackupMigrateFunctionalityTest.test
File
- ./
backup_migrate.module, line 1043 - 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;
}