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

Re: Determining the number of course backup files and their total size

$
0
0
by Ken Task.  

Think only a mysql query will satisfy the need to know info.

On the DB for the Moodle try:

select contenthash,filename,filearea,filesize from `mdl_files` where (`filearea` like "backup" and `filesize` not like "0");

What one is looking at is the meta data.   The actual file is located in the moodledata/filedir/ (contenthash is the 'clue') unless automated backups have been directed to a directory outside of moodledata.

'spirit of sharing', Ken



Viewing all articles
Browse latest Browse all 6586

Trending Articles



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