﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
20672	Backup rotation scheme for preferences.xml	simon04	team	"Currently, JOSM only keeps one `preferences.xml_backup` which is overridden after each save, sometimes leading to corrupt files (e.g. see #18569)

JOSM could keep a bunch of backup files named `preferences.YYYY-MM-DD.xml`, and delete older files according a backup rotation scheme, such as keeping
- one backup file older than 1 hour, and,
- one backup file older than 1 day, and,
- one backup file older than 3 days, and,
- one backup file older than 1 week, and,
- one backup file older than 1 month, and,
- one backup file older than 1 year.

https://en.wikipedia.org/wiki/Backup_rotation_scheme"	enhancement	new	normal		Core			backup rotation preferences	
