Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.4, 3.5
-
Fix Version/s: 3.5
-
Testing Instructions:
-
Affected Branches:MOODLE_34_STABLE, MOODLE_35_STABLE
-
Fixed Branches:MOODLE_35_STABLE
-
Pull from Repository:
-
Pull Master Branch:m35_
MDL-60923_New_BackupDir_Setting-v2
Description
Usage of $CFG->tempdir . '/backup' is strewn across Moodle source code.
I propose to create a new var $CFG->backupdir (or $CFG->backuptempdir), defaulting to "$CFG->tempdir . '/backup'" to maintain backwards compatibility) to allow a single point allowing to change the location of the backup temp files if needed.
This is similar to MDL-28701, where $CFG->tempdir and $CFG->cachedir were introduced.
Attachments
Issue Links
- caused a regression
-
MDL-68588 Hide $CFG->backuptempdir absolute path from message and debugging info
-
- Closed
-
- has a non-specific relationship to
-
MDL-29351 cachedir installer regression
-
- Closed
-
-
MDL-40545 new $CFG->localcachedir
-
- Closed
-
-
MDL-28701 Remove hardcoded dataroot/temp and cache directory usage
-
- Closed
-
- has been marked as being related by
-
MDL-64532 Create import/restore script
-
- Closed
-