Where is the uploaded courses files?

Where is the uploaded courses files?

by Huseyn Hoca -
Number of replies: 4

Hi friends.

please say to me

where is the uplooadeds courses files?

and why the autobackup was not save te "Save to" path. Why not working?

for example "Save o: /mnt/backup/aub/

please look at attache picture.

Thanks and regards.

huseyin

Attachment Capture.PNG
Average of ratings: -
In reply to Huseyn Hoca

Re: Where is the uploaded courses files?

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

The path you have given is:

mnt/backup/aub

I assume this is meant to be:

/mnt/backup/aub

Otherwise, the backup will end up in a subdirectory of wherever the PHP script was executed from.

All files within Moodle are stored in the configured 'moodledata' directory, in a subdirectory called 'filedir'. After that, the name is dependent on the content of the individual file (so that the data for multiple files with the same content is stored in the same place) - you would have to carefully pick your way through the mdl_files table (along with mdl_context) in order to identify all the files that belonged to the activities within a particular course.

Average of ratings: Useful (1)
In reply to Davo Smith

Ynt: Re: Where is the uploaded courses files?

by Huseyn Hoca -

Thanks but i didnt found the two folders.

In reply to Huseyn Hoca

Re: Ynt: Re: Where is the uploaded courses files?

by Ken Task -
Picture of Particularly helpful Moodlers

Moodle will not create subfolders in a mount point ... assuming that /mnt/ IS a mount point ... from what you've provided o: /mnt/backup/aub/   Is it supposed to be a NFS mount point to a Windows server? or what?

So what does 'df' command show from any location logged on as root user?

One could cd /mnt/

mkdir backup

cd backup

mkdir aub

and then set permissions and ownerships such that apache user/group of the Moodle server can read/write to those directories.

The 'check' beside the dialog box is a check to see if the path Admin has provided can be seen by apache server (although it doesn't actually test to see if apache/Moodle an write any files/folders to them).

Quick test for that via command line:

cd /mnt/backup/aub/

touch thisisatestfile.txt

ls -l

You should see a 0 byte size file by the name of 'thisisatestfile.txt'

'spirit of sharing', Ken

Average of ratings: Useful (1)
In reply to Ken Task

Ynt: Re: Ynt: Re: Where is the uploaded courses files?

by Huseyn Hoca -

Thanks Ken

Actualy the folder was created.

in

/mnt/backup/aub/

and good idea to read/write 

let me try smile(tomarrow)

smile