From: Arnold P. <ap...@ma...> - 2005-10-26 15:03:43
|
<html> <body> At 11:44 PM 10/25/2005, Michael Gage wrote:<br><br> In WW 1.9 important files which are backed up never overwrite older backups. The successive backups have extensions .bak1, bak2, etc. The same thing in done in WW 2 for the totals file. One could do the same thing when sets are built, i.e. make a set def file and make backups when something is changed. Maybe you can just create the set def file when a set is assigned to at least one person and make a new set def (and backup the old) when assigned sets are changed. That way you don't make a lot of copies when a set is first being built. This would also be useful in setting up new courses since you often want to import set def but for this now someone has to remember to first export the current assignment otherwise you might be copying an out of date set def.<br><br> The only draw back to this is that it might leave a lot of bak files around. I think it would be a good idea to have a clean up function that would delete all tmp files (for non active users) and bak files in a course (WW 1.9 has this for tmp files, not bak files). I don't think WW 2 has an easy way to do this for tmp files. This might be something a prof could do for his/her course and a super user could do for the whole WW 2 system.<br><br> Another thing that should be able to be cleaned up is backups of .pg files. I believe when editing a problem, the original is backed up and then if any additional editing is done to that problem, the current original is appended to the backup. At the end of a semester, there is no real reason to keep these around.<br><br> Arnie<br><br> <br> <blockquote type=cite class=cite cite="">A suggestion from Imre Tuba about safety backups for sets. I'm not sure exactly what happened but the result was the loss of the paths to several files while trying to change the number of answers allowed. <br><br> We had something like this in WW1.9 since backups of set definition files were automatically saved. <br> Any thoughts on how to implement this?<br> In particular I worry that too frequent automatic backups run the risk of overwriting a good backup with a succession of errors.<br><br> Thoughts?<br><br> Take care,<br><br> Mike<br><br> Begin forwarded message:<br><br> <blockquote type=cite class=cite cite=""> <font face="Helvetica, Helvetica"><b>From: </b>Imre Tuba <<a href="mailto:it...@mo...">it...@mo...</a>><br> <b>Date: </b>October 25, 2005 11:31:08 PM EDT (CA)<br> <b>To: </b>Michael Gage <<a href="mailto:ga...@ma...">ga...@ma...</a> ><br> <b>Subject: Re: Corrupted homework set<br> </b></font><br><br> Hi Mike,<br><br> Thanks for the quick help. The log file you sent me must be for my other class (Math 2111), but I believe I managed to recover the problems partly from memory, partly based on the answer log.<br><br> I understand that adding an undo feature will take quite some work. But here is a suggestion that should be easy to implement. Webwork could just automatically save a backup copy, or several backup copies of a homework set that is changed in the course directory. Then it would be quite easy to recover the last version. If you want to be a little fancier, you can let the user configure whether they want backups to be saved.<br> -- <br> Imre<br> </blockquote><br> "Only dead fish swim with the stream."<br><br> </blockquote> <x-sigsep><p></x-sigsep> Prof. Arnold K. Pizer <br> Dept. of Mathematics <br> University of Rochester <br> Rochester, NY 14627 <br> (585) 275-7767<br> </body> </html> |