OK, after a two weeks of upset customers I'm starting to realize that there are some inherent flaws in how I've configured DMX to store files. Lets assume the following.
DMX is installed, WebDav is enabled and there are 4,000+ folders containing 50,000+ individual files, all are supposed to be protected by DNN authentiation (no public access). The site is hosted on an internet accessable server. Activity on this site is very high with folders/files changing almost by the minute.
I've setup the Storage provider to use the default Disk File Storage Provider with the repository location in the default location. I've also set it to change the extentions. Hard Deletes are off.
Problem #1 - WebDav User inadvertantly drags and drops folders into the wrong place - moving hundreds of subfiles and folders.
Problem #2 - WebDav user deletes a folder which contains - gets around the recyclebin (apparently a bug in DMX) and files are in the graveyard.
Keep in mind that activity on this site is very high and restoring the portal in it's entirty is not a solution.
How do I get this data back? I could do a point in time restore of the DB but then I'm missing the files. Lets say I have a backup from last night with all the missing files... how do I re-import those files into a folder that doesn't exist any longer.
What is the best way to setup a backup routine and restore routine in this scenario? Both of these problems have already occured and I have 3 other clients coming online in the next 2 months that will face this same problem. There has to be some way to reliably backup and restore this data.
If I wanted to convert from one Datastore (disk File) to another (SQL or Amazon S3) what are the procedures for doing so? How do I export all the data (and retain permissions and folder structure)?