Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

1
  • Thank you, Jack. This seems like a good solution. You are right that if I don't delete files from the filesystem right away when they are deleted from the database then backups would still be fine even if they are hot backups. I was considering using the primary id of the linked database row as the id of the file since I know it is unique. The idea of using the hash is a good one to so I will have to consider that. I am already computing a SHA-1 hash on each file. I did worry about hash collisions when I considered using the hash as the id but I guess that is probably a bit paranoid. Commented Jul 5, 2011 at 4:29