| 1 | [[TranslatedPages]] |
| 2 | = Autosave = |
| 3 | |
| 4 | The autosave feature stores the edited osm layer in regular interval so that the work can be recovered in case of a crash. |
| 5 | |
| 6 | == Recover the changes == |
| 7 | |
| 8 | You simply need to restart JOSM and it will offer to open the recovered files. |
| 9 | |
| 10 | You can also find the backup files in the JOSM preferences folder (subfolder {{{autosave}}}), where JOSM stores them. |
| 11 | |
| 12 | (See [wiki:Help/ResetPreferences#Locatethesettingsfolder this] page on how to locate the preference folder.) |
| 13 | |
| 14 | == Q&A == |
| 15 | |
| 16 | * How often does it save? |
| 17 | |
| 18 | Depends on your settings, default it every 5 min (at time of writing). |
| 19 | |
| 20 | * How does it know that JOSM crashed? |
| 21 | |
| 22 | It keeps backup that are deleted, whenever a data layer is closed gracefully. If backup files are found on start, JOSM will assume that it crashed. |
| 23 | |
| 24 | == Preferences == |
| 25 | |
| 26 | Go to [[Image(source:/trunk/images/preference.png)]]Preferences -> [[Image(source:/trunk/images/preferences/map.png, 24px, center)]]map projection & data interpretation -> tab "File backup". |
| 27 | |
| 28 | There you have the options |
| 29 | * to disable autosave altogether |
| 30 | * to set a custom value for the time interval. |
| 31 | * to set a custom value for the number of backup files per data layer (Default 1). If you increase it to 2, JOSM will not only save the last snapshot of your changes, but also the last but one (in case it differs from the last, otherwise an even older snapshot, if available). |