Store disk back to image when idle

8 posts · Closed

tolisss
16 Jan 2017

Hi

There is a setting that allows storing the disk back to the image every x min, however I am interested in performing that action in custom scenarios, like when idle for x min. Is this possible somehow? Perhaps I could use the command line?

Andrew SoftPerfect
16 Jan 2017

Yes, there's the /save command line parameter as described in the user manual.

Note though, the RAM Disk becomes write-protected for the time data is being saved and OS will deny any writing during the process. Also it's a good idea to backup the image file regularly in case it gets corrupted.

tolisss
21 Jan 2017

>the RAM Disk becomes write-protected for the time data is being saved and OS will deny any writing during the process

does the build-in setting handles this case?

Andrew SoftPerfect
21 Jan 2017

No, any RAM Disk associated with an image becomes read-only for the duration of saving to keep the file system consistent.

tolisss
21 Jan 2017

so i am still not clear if I use the command line do I need to perform additional actions?

Andrew SoftPerfect
21 Jan 2017

No. As soon as you pass the /save switch, the RAM Disk's contents will be saved to its associated image.

tolisss
22 Jan 2017

if I set to auto save every 10 min and restart before save occurs will I lost my data?

Andrew SoftPerfect
22 Jan 2017

It's saved both every 10 mins and upon shutdown or restart. If the system crashes between saves, obviously data will be lost. If the system crashes during saving, the image file will likely be corrupted.

This topic is closed. It has had no new posts for over a year, so the software versions it talks about may be out of date. Start a new topic in RAM Disk if you have a similar question.