Importance of /temp and /trashdir folders content

Importance of /temp and /trashdir folders content

by Abdelghani Azzi -
Number of replies: 2

Hello,

I am in the process of saving/downloading all my moodle files to my computer using FTP.

And I have two questions :

QUESTION 1 :

Is it necessary to retrieve /temp and /trashdir folders along with the rest of moodledata/folders?

 

QUESTION 2:

Is it safe to manually empty /temp and /trashdir folders on my server?

Thank you for your help.

 

Average of ratings: Useful (1)
In reply to Abdelghani Azzi

Re: Importance of /temp and /trashdir folders content

by Séverin Terrier -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Hi,

You mean that you're saving all files in moodledata folder to make a Moodle backup?

You can ignore saving (and/or empty) these folders : temp, sessions, cache, localcache

trashdir just allows to recover files deleted in the last 24h. If you're sure no files are concerned, you can also ignore/empty this!

HTH,
Séverin

Average of ratings: Useful (3)
In reply to Séverin Terrier

Re: Importance of /temp and /trashdir folders content

by Abdelghani Azzi -

Hello, Séverin Terrier

I never received any notification that you replied to this mail (or I just might have missed it) .

So I apologize for this late reply and thank you for your concern!

Yes I am saving all my Moodle files "as are" to make a backup.

Thank you for answering my question.

I had transferred all the file to my computer using FTP, but I will now delete everything that is superfluous.

Best regards, keep safe.

Abdelghani Azzi

Moodle 2.7

www.lisanuna.com/courses

[CCS] - Course content samples - عَيِّنَــاتُ عَـنْ مُحْتَوَيَــاتِ الدُّرُوسِ

[SEZ] - Student Exchange Zone - مِنْطَقَـــةُ الطُّـــلَابِ لِلتَّبَــــادُلِ

[LPN] - Lisanuna Project News - أَخْبَارُ مَشْرُوعِ لِسَانُنَا