Since you're worried about your data, it would seem you don't have it backed up - so that's the first thing you need to fix, after that you can deal with the other issues, which I suspect are network related.
The DNS-323 will usually power itself off if there is an overtemp issue, and as far as I know, will not power itself on - so the fact that your's comes back by itself suggests that heat is not the issue.