When there’s a power outage and I’ve done a lot of work on Mathematica, I lose all the informations. Is there a setup on Mathematica to make an automatic backup. Knowing that on "wolfram cloud" does it. Thank you, you will save me!
-
6$\begingroup$ Have you read How do I enable autosaving in a Mathematica notebook? $\endgroup$– Jason B.Nov 21, 2020 at 14:27
-
1$\begingroup$ Another thing you can do is save frequently and at the same time use an app that makes separate copies each time you do save. On macOS, the app Forever Save 2 does that. $\endgroup$– murrayNov 21, 2020 at 22:05
-
$\begingroup$ @Jason B Thank you for me and all those who had the same problem. I never see these options, I think their location on the menu format is wrong. It would state on the File menu or Evaluation, I would have seen them. Anyway thank you very much. $\endgroup$– Reda.KebbajNov 22, 2020 at 5:33
-
2$\begingroup$ I think you'll have problems with that. Often, when making changes to a notebook, you don't want to save them until you're sure they are what you want; not infrequently, just easier to start over from the point of last save. I personally have found it most useful to simply save my work periodically during the day and usually I'll do so with a new file name. $\endgroup$– DominicNov 22, 2020 at 9:07
-
$\begingroup$ @JasonB. Your comment should be an answer. Alternatively, this question can be seen as "answered in the documentation." $\endgroup$– Anton AntonovNov 22, 2020 at 13:58
1 Answer
Format
Option Inspector
Show option values : Global Preferences
+ NoteBook Option
.....File Optiins x NotebookAutoSave True.
Apply.
My problem was that I started a job overnight. In the morning I discovered that the power outlet was not properly engaged on my laptop, it discharged itself by losing the program and even the memory variables that I had calculated. So much the better for me, it will teach me!
I made a small export program and I’m going to use a working copy in automatic.
Mylist = {1, 2, 3, 4}; fname =
FileNameJoin[{"C:\\tmp\\", "tmp.dat"}]; Export[fname, Mylist];
after for recover lost variable :
Mylist = Flatten[Import["C:\\tmp\\tmp.dat", "Data"]];Mylist