Restoring files from blueprint on command

Posted by Nick on Server Fault See other posts from Server Fault or by Nick
Published on 2013-11-03T17:35:49Z Indexed on 2013/11/03 22:00 UTC
Read the original article Hit count: 221

Filed under:
|
|

I am setting up a server. I already have rented a machine running centOS 6 but I have run into a bit of a technical problem with configuring the server software:

The server will have some files that it will try to read/write to them but what I need is a way to have a blueprint of these files and everytime the server restarts the files that it used get deleted and replaced by the blueprints.

I have heared of a RAM disks or Virtual File Systems but didnt quite understand how they work or how to set them up.

The server software is written in java which means bash commands can be run from it.

I cannot modify what happens when the server shuts down entirely what I can do is run a command before the server runs the final shutdown save

© Server Fault or respective owner

Related posts about centos

Related posts about centos6