Page 1 of 1

Convert file attachments from Database to DISK

Posted: 16 Oct 2013, 09:27
by Spacey
Hi!

I was storing all my file attachments on my DISK. Since my last Update 1-2 months ago something happened to the config files - Attachments were stored in DB since then. So now I've got mixed locations: Older files on DISK and newer ones in the DATABASE. Problem is: When I'm in "DATABSE" storage mode I can't access the DISK files and the other way does wrong as well. Now I need to extract/convert the database stored files to DISK. How can I do this?

Thanks!

Re: Convert file attachments from Database to DISK

Posted: 16 Oct 2013, 09:48
by atrol
If you use version 1.2.x you should use latest stable 1.2.5

Make a backup of your database and a backup of your attachments directory before trying anything!

Start admin/system_utils.php
Execute "Move Attachments to Disk"