Skip to content

Commit ab010d0

Browse files
committed
#178: update migration steps
1 parent 6005b6a commit ab010d0

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

README.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,24 +45,31 @@ It is recommended to run the application at computer start, so you do not forget
4545

4646
You should put the .jar in an extra folder as a *logs* and a *db* folder will be created next to it.\
4747

48-
### Migrate from older version than v1.2.0
48+
## Update KeepTime
49+
1. Start your current version of KeepTime
50+
1. Open `Settings` -> `Import/Export` -> `Export` to export your data to an .sql file (Backup data)
51+
1. Stop KeepTime
52+
1. Download new version of KeepTime and extract it
53+
1. Start new version of KeepTime
54+
1. If your projects are available you are already done. But most likely your projects are missing. In this case follow the [Migrate](#Migrate) chapter
55+
- Missing data is expected behavior with most updates as updates often include database version update which require an import of data
56+
57+
### Migrate data
58+
1. Notice that your old data is not available after an update
59+
1. Open the new version of KeepTime
60+
1. Open `Settings` -> `Import/Export` -> `Import` and import the previously exported .sql file
61+
1. After the import KeepTime closes automatically
62+
1. Start KeepTime
63+
1. Your data is restored in the new version now
64+
65+
### Migrate from version older than v1.2.0
4966

5067
1. Download new version and replace the .jar file.
5168
2. Start new version of KeepTime. Notice that your old data is not available.
5269
3. Stop KeepTime
5370
4. Copy the files (not directories) of directory `db` (next to the .jar file) into `db/1.4.197/` (path now includes the database version).
5471
5. Start KeepTime again. Notice that your data is available again.
5572

56-
### Migrate from KeepTime v1.2.0
57-
58-
1. Start your current version of KeepTime (v1.2.0)
59-
2. Go to the settings and export your KeepTime data
60-
3. Download new version and replace the .jar file.
61-
4. Start new version of KeepTime. Notice that your old data is not available.
62-
5. Open the new version and import the exported sql script
63-
6. After the import KeepTime closes automatically
64-
7. To see the changes just start the new KeepTime again
65-
6673
## Requirements
6774
* Operating System
6875
* Windows 7, 10, 11

0 commit comments

Comments
 (0)