MyBB Community Forums
Backing up attachment directories - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Backing up attachment directories (/thread-206352.html)



Backing up attachment directories - Ofnuts - 2016-12-02

I see that the attachments are kept in monthly directories (likely to limit they number in each directory).

Now, if, a month later (or even minutes later if I do this around midnight of the first of the month) I do an "Update attachment" on a post from the previous month, will the attachment be added to the current month's directory, or will it replace the previous version in the previous month's directory?

Practical use: in one case I just have to backup the current month's directory (and the previous month's on the 1st of the month), otherwise I have to scan all other directories for possible updates.


RE: Backing up attachment directories - Ofnuts - 2016-12-04

Answering myself after some experimentation:

The new file is put in the directory of the current month, and the old file is deleted from the directory .


RE: Backing up attachment directories - Lunorian - 2016-12-04

(2016-12-04, 05:59 PM)Ofnuts Wrote: Answering myself after some experimentation:

The new file is put in the directory of the current month, and the old file is deleted from the directory .

HI there. I apologize I wasn't able to provide an answer. I actually reached out to MyBB Support on Discord but was unable to a clear enough answer for me to write a response. I'm glad to see you were able to self answer your question Smile