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

Re: Backups Completing with "Warning?"

$
0
0
by United Electric IT Department.  

Hi Ken, I was able to run the query on the 'mdl_files' table and did get a bunch of results. However, I'm unsure how to tell what is a draft file and what isn't. There was a permissions issue that I noticed the other day where the IIS_USR didn't have permissions on the moodledata folder. I added the permissions and am still getting the same results. Just to clarify, the automated backup "completes with warnings" and if I try to back up a course manually I get the same error. So, I turned on debugging and tried restoring a course from a backup and got the following message stating that it could not read a file on "c:\moodledata/filedir/b0/some file name". Well, I looked in the /filedir on the server and that file isn't there. This site has been migrated from 2.2.3 to 2.3.3. The legacy file system is active as well. However, this particular site is a rebuilt site. The server that housed the original had died and luckily we were able to copy the copy the DB before the server tanked. When we re-installed Moodle on a new server, we did a fresh copy of the install and had it reference our restored DB. My thought is that there is a table somewhere in the DB that is trying to reference the 'old' moodledata filedir folder. Since we rebuilt the site (and didn't copy over the moodledata folder) the files it is looking for no longer exist. Is there a way to clear these records from the DB without causing damage? Thanks again for your help!


Viewing all articles
Browse latest Browse all 6548

Trending Articles