1
1
# Data Recovery
2
2
3
3
When Aseprite is running, it saves some temporary data to restore your
4
- sprite in case that your computer (or Aseprite itself) crashes.
5
- This temporary data is saved in a subfolder named ` sessions ` inside your
4
+ sprite in case that your computer (or Aseprite) crashes, or you close
5
+ Aseprite without saving your sprites. (Even if you save your sprites,
6
+ the original backup is kept in your disk at least for a couple of
7
+ weeks.)
8
+
9
+ ## Open Sprites from Previous Sessions
10
+
11
+ To restore a sprite from a previous sessions you have to use the
12
+ "Recover Files" option in the "Home" tab:
13
+
14
+ <p ><img src =" /docs/data-recovery/home-tab.png " alt =" Home tab " class =" x2 " /></p >
15
+
16
+ If Aseprite crashes (wasn't closed correctly) and some sprite wasn't
17
+ saved, you will see the "Recover Files" option as a button:
18
+
19
+ <p ><img src =" /docs/data-recovery/home-tab-after-crash.png " alt =" Home tab " class =" x2 " /></p >
20
+
21
+ This option opens the "Recover Files" tab, where you can double-click
22
+ an item (or select it and press "Recover Sprite") to recover a sprite
23
+ from a previous sessions:
24
+
25
+ <p ><img src =" /docs/data-recovery/recover-files-tab.png " alt =" Home tab " class =" x2 " /></p >
26
+
27
+ ## Preferences
28
+
29
+ In the * Edit > Preferences > Files* section you can configure how the
30
+ backup data is saved and for how long:
31
+
32
+ ![ Data Recovery Preferences] ( data-recovery/recover-data-preferences.png )
33
+
34
+ * * Automatically save recovery data every X seconds/minutes* :
35
+ Indicates that Aseprite should auto-save backup data (on disk) every
36
+ X seconds or minutes for each edited sprite (2 minutes by default).
37
+ * * Keep edited sprite data for Y days/weeks/months* : For each sprite
38
+ that was edited, Aseprite will keep the backup data (on disk) for
39
+ the given number of days/weeks/months (1 week by default).
40
+ * * Keep closed sprite on memory for Z seconds/minutes/hours* : If you
41
+ close a sprite by mistake, Aseprite will keep the sprite (on memory,
42
+ with the undo information) for at least the given time (15 minutes
43
+ by default). You can re-open a closed file
44
+ with * File > Open Recent > Reopen Closed File* menu
45
+ option (Ctrl+Shift+T or ⇧⌘T keyboard shortcut).
46
+
47
+ ## Internals
48
+
49
+ The backup data is saved in a subfolder named ` sessions ` inside your
6
50
[ Preferences Folder] ( preferences-folder.md ) :
7
51
8
- > ![ Sessions Folder] ( data-recovery/sessions-folder-focused.png )
52
+ ![ Sessions Folder] ( data-recovery/sessions-folder-focused.png )
9
53
10
- In ` sessions ` might be several subfolders:
54
+ ` sessions ` might contain several subfolders (one for each execution of Aseprite) :
11
55
12
- > ![ Inside Sessions Folder] ( data-recovery/in-sessions-folder.png )
56
+ ![ Inside Sessions Folder] ( data-recovery/in-sessions-folder.png )
13
57
14
58
The name of these folders (e.g. ` 20180405-165510-1128 ` ) has a meaning,
15
59
which is ` YYYYMMDD-HHMMSS-PID ` :
@@ -21,16 +65,13 @@ which is `YYYYMMDD-HHMMSS-PID`:
21
65
handling that session folder.
22
66
23
67
Each of these folders contain useful data to restore some sprites that
24
- you might have lost in the crash. When you start Aseprite again, you
25
- may see this button to recover those sprites:
26
-
27
- > ![ Recover Lost Sprites Button] ( data-recovery/recover-lost-sprites-button.png )
68
+ you might have lost in the crash.
28
69
29
- If you don 't see the * "Recover Lost Sprites" * button when you launch
30
- Aseprite , but you have one of these ` sessions/YYYYMMDD-HHMMSS-PID `
31
- folder in your [ Preferences Folder] ( preferences-folder.md ) , you can
32
- compress one of those folder in a ` .zip ` and send it to
33
-
70
+ If you aren 't able to recover your sessions using the "Recover Files"
71
+ option from "Home" tab , but you have one of these
72
+ ` sessions/YYYYMMDD-HHMMSS-PID ` folder in your [ Preferences Folder] ( preferences-folder.md ) ,
73
+ you can compress one of those folder in a ` .zip ` and send it to
74
+
34
75
try to recover your data.
35
76
36
77
---
0 commit comments