Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6815

Re: Exception: cannot_create_backup_temp_dir

$
0
0

by Ken Task.  

From moodlecode/admin/cli/ what do you get when running:

php mysql_engine.php -l |grep backup

(that's a dash L (lowercase L)

Should see:

InnoDB    mdl_backup_controllers
InnoDB    mdl_backup_courses
InnoDB    mdl_backup_logs

You can fix/change the engine using the same mysql_engine.php script ... just run script with no parameters to get help.

The db user in config.php file of Moodle must have enough priv's to be able to do things.

Use the DB user/password in config.php to launch mysql

Then from mysql> prompt, type: show grants;

Don't forget ';' of command.

While you are there in mysql> what does this show:

select * from `mdl_backup_courses`

as well as

select * from mdl_backup_logs;

The latter may not have any data.

Did you check the moodledata/temp/backup/ directory for folders/files?    What, if anything, does that directory contain?

'spirit of sharing', Ken



Viewing all articles
Browse latest Browse all 6815

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>