Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
Functions
locallib.php File Reference

Export db content to file. More...

Functions

 tool_dbtransfer_create_maintenance_file ()
 Create CLI maintenance file to prevent all access.
 
 tool_dbtransfer_export_xml_database ($description, $mdb)
 Initiate database export.
 
 tool_dbtransfer_get_drivers ()
 Returns list of fully working database drivers present in system.
 
 tool_dbtransfer_maintenance_callback ()
 This callback is responsible for unsetting maintenance mode if the migration is interrupted.
 
 tool_dbtransfer_rebuild_target_log_actions (moodle_database $target, progress_trace $feedback=null)
 Very hacky function for rebuilding of log actions in target database.
 
 tool_dbtransfer_transfer_database (moodle_database $sourcedb, moodle_database $targetdb, progress_trace $feedback=null)
 Initiate database transfer.
 

Detailed Description

Export db content to file.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later