This question already has an answer here:
How does data get stored for bitcoin?
Does data in the blocks get stored in files or a database and then get referenced by the blockchain?
If data is being stored in file, how does the blockchain create the files, put the data into them, and in what format are the files?
If none of that is true and the blockchain data exists in memory, if all of the nodes went down, how do you bring the blockchain back up?