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

Re: Copy course gives me error code: error_opening_file

$
0
0
by Séverin Terrier.  

Hi,

Not sure it can help, but i encountered a problem with some automated backups, indicating a no more existing directory. At least it can give ideas.

Years ago, In config.php file, i had specified the automated backup directory, with lines like this :

$CFG->forced_plugin_settings = array(
  'backup' => array('backup_auto_storage' => 1, 'backup_auto_destination' => '/path/to/moodledata/repository/oldbackupsdir')
);
When i modified used directory (reorganising server), i changed this line accordingly.

But i forgot to update value in Moodle configuration table!

So i had to check value :

SELECT * FROM mdl_config_plugins
WHERE plugin = 'backup' AND name = 'backup_auto_destination';

And update it accordingly :

UPDATE mdl_config_plugins
SET value = '/path/to/moodledata/repository/backups'
WHERE plugin = 'backup' AND name = 'backup_auto_destination';
HTH,

Séverin


Viewing all articles
Browse latest Browse all 6815

Trending Articles



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