NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Like a number of people I suspect, I recently got bitten by https://josm.openstreetmap.de/ticket/12542 . Luckily I was able to find a working version of the reverter plugin and reinstall it. However, what should I have backed up prior to update so that point so that when the update resulted in a non-functional system I could have restored and carried on?

I suspect that there will be at least two answers needed here - one for Windows and one for people running JOSM on Linux who aren't using a PPA (and does JOSM on OS X use the same directory structure as Linux?).

asked 28 Feb '16, 12:43

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%


In Windows, the settings and cache are stored in %APPDATA%\JOSM - for me, that expands to c:\Users\Piskvor\AppData\Roaming\JOSM\; I assume yours would be similar.

In Linux, the stable version stores its data in ~/.josm/, the josm-latest version uses ~/josm-latest/

permanent link

answered 01 Mar '16, 15:33

Piskvor's gravatar image

Piskvor
1.3k91535
accept rate: 37%

I would assume that OSX is likely to use the UN*X-style convention, so ~/.josm/

(01 Mar '16, 15:34) Piskvor
1

For OSX, see at the end of page http://wiki.openstreetmap.org/wiki/JOSM/Mac, the presents are in ~/Library/JOSM/ (earlier versions used ~/.josm though) The cache tile can be found under ~/Library/Caches/JOSM/tiles (see advanced settings in JOSM)

(01 Mar '16, 16:36) escada
1

@Piskvor josm-latest also uses ~/.josm/.

(01 Mar '16, 17:38) scai ♦

I can only answer for linux, I have never used a mac and have never used josm on windows.

On linux (fedora) and assuming space isn't a problem, I have simply run the command 'tar zcvf josm.tgz .josm/' and that gives me a complete backup of the .josm folder. It is currently 560MB, it does contain a tile cache in .josm/cache which can be removed if space is a problem.

permanent link

answered 28 Feb '16, 14:12

trigpoint's gravatar image

trigpoint
7591814
accept rate: 13%

2

For excluding the cache just add --exclude=".josm/cache/*".

(28 Feb '16, 14:26) scai ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×622

question asked: 28 Feb '16, 12:43

question was seen: 1,794 times

last updated: 01 Mar '16, 17:38

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum