Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Move to S3 Did Not Delete Files from Server Disk
Last Post 12/07/2011 9:24 PM by Dave Abad. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Dave Abad
New Member
New Member
Posts:4


--
11/02/2011 6:47 PM
Hi there,

Mr. Noob here... thought I'd check in here first before I do something I might regret...

I used the Move Old Content To New Storage Provider script to migrate our 12.5 GB library to S3 from the local file system storage provider and it appears to be working fine.

But (why is there always a but?)...

the files were not deleted from the server's file system and all 19,591 of them are still sitting in the local DMX folder.

So a couple of questions....

1) The storage settings are set to Amazon S3 provider and the bucket contains the does. But how can I be absolutely 100% sure the files users are uploading and downloading via the portal are being transferred to and from S3?

2) Once I'm sure S3 storage is working, can I just delete the DMX 2011 folder from the local server or is there a special process for this?


Thanks.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
11/16/2011 11:57 AM
Hi Mr Noob,

Good question actually. There is a way to check this. Please run this query in SQL:

SELECT [Entry]
FROM DMX_Entries
WHERE EntryType LIKE 'File%' AND StorageProviderID=1

All results are the files that are still used by DMX on your hard disk. If it doesn't return any results then you're fine and you can delete all the files (maybe just write them to a backup somewhere just in case). If there are still records returned from this query then some files did not make it into S3. Then the thing to find out is if this is a freak accident (in that case there will likely just be a few records returned) or there is really something wrong with the connection to S3 (in that case ALL records will be returned).

Peter
Dave Abad
New Member
New Member
Posts:4


--
12/04/2011 3:32 PM
Peter,

Sorry ih has taken so long for me to get back to you on this. I have email notification enabled for this post but I never received it.

Any way I ran the query and have only 3 entries listed. Should I backup and delete all but these 3 files? And how would I go about moving these 3 over to S3 as well?

Thanks.

Dave
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
12/07/2011 11:40 AM
Dave,

Just run the "move old content to new ..." script again. If you run the SQL again and those 3 files remain. There is really an issue with those files. Most likely they have somehow disappeared from the internal storage. In that case you have no other option but to delete them as they are 'broken'.

Peter
Dave Abad
New Member
New Member
Posts:4


--
12/07/2011 9:24 PM
Thanks again Peter.

Great product!

Great support!
You are not authorized to post a reply.