@datatruck/cli 0.32.1 → 0.32.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/config.schema.json +1224 -1271
  2. package/{Action → lib/Action}/BackupAction.d.ts +9 -9
  3. package/{Action → lib/Action}/BackupAction.js +27 -8
  4. package/{Action → lib/Action}/ConfigAction.d.ts +9 -9
  5. package/{Action → lib/Action}/ConfigAction.js +4 -2
  6. package/{Action → lib/Action}/CopyAction.d.ts +5 -5
  7. package/{Action → lib/Action}/InitAction.d.ts +3 -3
  8. package/{Action → lib/Action}/PruneAction.d.ts +5 -5
  9. package/{Action → lib/Action}/RestoreAction.d.ts +5 -5
  10. package/{Action → lib/Action}/SnapshotsAction.d.ts +5 -5
  11. package/{Command → lib/Command}/BackupCommand.d.ts +2 -2
  12. package/{Command → lib/Command}/CommandAbstract.d.ts +4 -4
  13. package/{Command → lib/Command}/ConfigCommand.d.ts +2 -2
  14. package/{Command → lib/Command}/InitCommand.d.ts +2 -2
  15. package/{Command → lib/Command}/PruneCommand.d.ts +2 -2
  16. package/{Command → lib/Command}/RestoreCommand.d.ts +2 -2
  17. package/{Command → lib/Command}/SnapshotsCommand.d.ts +2 -2
  18. package/lib/Config/Config.d.ts +28 -0
  19. package/lib/Config/PackageConfig.d.ts +24 -0
  20. package/lib/Config/PackageConfig.js +2 -0
  21. package/lib/Config/PackageRepositoryConfig.d.ts +15 -0
  22. package/lib/Config/PackageRepositoryConfig.js +2 -0
  23. package/lib/Config/PrunePolicyConfig.d.ts +2 -0
  24. package/lib/Config/PrunePolicyConfig.js +2 -0
  25. package/lib/Config/RepositoryConfig.d.ts +27 -0
  26. package/lib/Config/RepositoryConfig.js +2 -0
  27. package/lib/Config/TaskConfig.d.ts +31 -0
  28. package/lib/Config/TaskConfig.js +2 -0
  29. package/{Factory → lib/Factory}/CommandFactory.d.ts +5 -5
  30. package/lib/Factory/RepositoryFactory.d.ts +3 -0
  31. package/lib/Factory/TaskFactory.d.ts +3 -0
  32. package/{Repository → lib/Repository}/DatatruckRepository.d.ts +9 -12
  33. package/{Repository → lib/Repository}/DatatruckRepository.js +1 -38
  34. package/lib/Repository/GitRepository.d.ts +28 -0
  35. package/{Repository → lib/Repository}/GitRepository.js +1 -15
  36. package/{Repository → lib/Repository}/RepositoryAbstract.d.ts +8 -8
  37. package/{Repository → lib/Repository}/ResticRepository.d.ts +11 -14
  38. package/{Repository → lib/Repository}/ResticRepository.js +1 -63
  39. package/{Task → lib/Task}/GitTask.d.ts +2 -4
  40. package/{Task → lib/Task}/GitTask.js +1 -42
  41. package/{Task → lib/Task}/MariadbTask.d.ts +2 -4
  42. package/{Task → lib/Task}/MariadbTask.js +1 -54
  43. package/{Task → lib/Task}/MssqlTask.d.ts +2 -4
  44. package/{Task → lib/Task}/MssqlTask.js +1 -14
  45. package/{Task → lib/Task}/MysqlDumpTask.d.ts +4 -5
  46. package/{Task → lib/Task}/MysqlDumpTask.js +1 -11
  47. package/{Task → lib/Task}/PostgresqlDumpTask.d.ts +5 -7
  48. package/{Task → lib/Task}/PostgresqlDumpTask.js +1 -5
  49. package/lib/Task/ScriptTask.d.ts +30 -0
  50. package/lib/Task/ScriptTask.js +55 -0
  51. package/{Task → lib/Task}/SqlDumpTaskAbstract.d.ts +5 -7
  52. package/{Task → lib/Task}/SqlDumpTaskAbstract.js +1 -43
  53. package/{Task → lib/Task}/TaskAbstract.d.ts +2 -2
  54. package/lib/cli.d.ts +4 -0
  55. package/lib/config.schema.d.ts +2 -0
  56. package/lib/config.schema.js +10 -0
  57. package/lib/index.d.ts +24 -0
  58. package/lib/index.js +21 -0
  59. package/{utils → lib/utils}/DataFormat.d.ts +4 -4
  60. package/{utils → lib/utils}/Git.d.ts +6 -6
  61. package/{utils → lib/utils}/Restic.d.ts +14 -14
  62. package/{utils → lib/utils}/datatruck/config.d.ts +20 -20
  63. package/lib/utils/datatruck/paths.d.ts +17 -0
  64. package/{utils → lib/utils}/datatruck/paths.js +3 -3
  65. package/{utils → lib/utils}/datatruck/repository-server.d.ts +1 -1
  66. package/{utils → lib/utils}/datatruck/snapshot.d.ts +2 -2
  67. package/{utils → lib/utils}/date.d.ts +3 -3
  68. package/{utils → lib/utils}/exit.d.ts +3 -3
  69. package/{utils → lib/utils}/mysql.d.ts +5 -4
  70. package/{utils → lib/utils}/mysql.js +2 -2
  71. package/{utils → lib/utils}/process.d.ts +8 -5
  72. package/lib/utils/reportSteps.d.ts +26 -0
  73. package/lib/utils/reportSteps.js +41 -0
  74. package/lib/utils/spawnSteps.d.ts +36 -0
  75. package/lib/utils/spawnSteps.js +74 -0
  76. package/{utils → lib/utils}/string.d.ts +3 -3
  77. package/{utils → lib/utils}/string.js +3 -3
  78. package/{utils → lib/utils}/tar.d.ts +0 -8
  79. package/{utils → lib/utils}/tar.js +1 -18
  80. package/package.json +39 -25
  81. package/CHANGELOG.md +0 -569
  82. package/Config/Config.d.ts +0 -28
  83. package/Config/Config.js +0 -140
  84. package/Config/PackageConfig.d.ts +0 -23
  85. package/Config/PackageConfig.js +0 -51
  86. package/Config/PackageRepositoryConfig.d.ts +0 -17
  87. package/Config/PackageRepositoryConfig.js +0 -37
  88. package/Config/PrunePolicyConfig.d.ts +0 -4
  89. package/Config/PrunePolicyConfig.js +0 -28
  90. package/Config/RepositoryConfig.d.ts +0 -24
  91. package/Config/RepositoryConfig.js +0 -62
  92. package/Config/TaskConfig.d.ts +0 -27
  93. package/Config/TaskConfig.js +0 -41
  94. package/Factory/RepositoryFactory.d.ts +0 -3
  95. package/Factory/TaskFactory.d.ts +0 -3
  96. package/JsonSchema/DefinitionEnum.d.ts +0 -26
  97. package/JsonSchema/DefinitionEnum.js +0 -33
  98. package/JsonSchema/JsonSchema.d.ts +0 -4
  99. package/JsonSchema/JsonSchema.js +0 -65
  100. package/JsonSchema/backup-def.d.ts +0 -30
  101. package/JsonSchema/backup-def.js +0 -18
  102. package/JsonSchema/copy-def.d.ts +0 -24
  103. package/JsonSchema/copy-def.js +0 -15
  104. package/Repository/GitRepository.d.ts +0 -31
  105. package/Task/ScriptTask.d.ts +0 -38
  106. package/Task/ScriptTask.js +0 -163
  107. package/cli.d.ts +0 -4
  108. package/index.d.ts +0 -1
  109. package/utils/datatruck/paths.d.ts +0 -17
  110. package/utils/path.d.ts +0 -1
  111. package/utils/path.js +0 -8
  112. package/utils/schema.d.ts +0 -34
  113. package/utils/schema.js +0 -36
  114. package/utils/steps.d.ts +0 -43
  115. package/utils/steps.js +0 -97
  116. /package/{Action → lib/Action}/CleanCacheAction.d.ts +0 -0
  117. /package/{Action → lib/Action}/CleanCacheAction.js +0 -0
  118. /package/{Action → lib/Action}/CopyAction.js +0 -0
  119. /package/{Action → lib/Action}/InitAction.js +0 -0
  120. /package/{Action → lib/Action}/PruneAction.js +0 -0
  121. /package/{Action → lib/Action}/RestoreAction.js +0 -0
  122. /package/{Action → lib/Action}/SnapshotsAction.js +0 -0
  123. /package/{Command → lib/Command}/BackupCommand.js +0 -0
  124. /package/{Command → lib/Command}/CleanCacheCommand.d.ts +0 -0
  125. /package/{Command → lib/Command}/CleanCacheCommand.js +0 -0
  126. /package/{Command → lib/Command}/CommandAbstract.js +0 -0
  127. /package/{Command → lib/Command}/ConfigCommand.js +0 -0
  128. /package/{Command → lib/Command}/CopyCommand.d.ts +0 -0
  129. /package/{Command → lib/Command}/CopyCommand.js +0 -0
  130. /package/{Command → lib/Command}/InitCommand.js +0 -0
  131. /package/{Command → lib/Command}/PruneCommand.js +0 -0
  132. /package/{Command → lib/Command}/RestoreCommand.js +0 -0
  133. /package/{Command → lib/Command}/SnapshotsCommand.js +0 -0
  134. /package/{Command → lib/Command}/StartServerCommand.d.ts +0 -0
  135. /package/{Command → lib/Command}/StartServerCommand.js +0 -0
  136. /package/{index.js → lib/Config/Config.js} +0 -0
  137. /package/{Error → lib/Error}/AppError.d.ts +0 -0
  138. /package/{Error → lib/Error}/AppError.js +0 -0
  139. /package/{Factory → lib/Factory}/CommandFactory.js +0 -0
  140. /package/{Factory → lib/Factory}/RepositoryFactory.js +0 -0
  141. /package/{Factory → lib/Factory}/TaskFactory.js +0 -0
  142. /package/{Repository → lib/Repository}/RepositoryAbstract.js +0 -0
  143. /package/{Task → lib/Task}/TaskAbstract.js +0 -0
  144. /package/{bin.d.ts → lib/bin.d.ts} +0 -0
  145. /package/{bin.js → lib/bin.js} +0 -0
  146. /package/{cli.js → lib/cli.js} +0 -0
  147. /package/{globalData.d.ts → lib/globalData.d.ts} +0 -0
  148. /package/{globalData.js → lib/globalData.js} +0 -0
  149. /package/{pkg.d.ts → lib/pkg.d.ts} +0 -0
  150. /package/{pkg.js → lib/pkg.js} +0 -0
  151. /package/{utils → lib/utils}/DataFormat.js +0 -0
  152. /package/{utils → lib/utils}/Git.js +0 -0
  153. /package/{utils → lib/utils}/Restic.js +0 -0
  154. /package/{utils → lib/utils}/async.d.ts +0 -0
  155. /package/{utils → lib/utils}/async.js +0 -0
  156. /package/{utils → lib/utils}/bytes.d.ts +0 -0
  157. /package/{utils → lib/utils}/bytes.js +0 -0
  158. /package/{utils → lib/utils}/cli.d.ts +0 -0
  159. /package/{utils → lib/utils}/cli.js +0 -0
  160. /package/{utils → lib/utils}/crypto.d.ts +0 -0
  161. /package/{utils → lib/utils}/crypto.js +0 -0
  162. /package/{utils → lib/utils}/datatruck/client.d.ts +0 -0
  163. /package/{utils → lib/utils}/datatruck/client.js +0 -0
  164. /package/{utils → lib/utils}/datatruck/config.js +0 -0
  165. /package/{utils → lib/utils}/datatruck/cron-server.d.ts +0 -0
  166. /package/{utils → lib/utils}/datatruck/cron-server.js +0 -0
  167. /package/{utils → lib/utils}/datatruck/repository-server.js +0 -0
  168. /package/{utils → lib/utils}/datatruck/snapshot.js +0 -0
  169. /package/{utils → lib/utils}/date.js +0 -0
  170. /package/{utils → lib/utils}/exit.js +0 -0
  171. /package/{utils → lib/utils}/fs.d.ts +0 -0
  172. /package/{utils → lib/utils}/fs.js +0 -0
  173. /package/{utils → lib/utils}/http.d.ts +0 -0
  174. /package/{utils → lib/utils}/http.js +0 -0
  175. /package/{utils → lib/utils}/list.d.ts +0 -0
  176. /package/{utils → lib/utils}/list.js +0 -0
  177. /package/{utils → lib/utils}/math.d.ts +0 -0
  178. /package/{utils → lib/utils}/math.js +0 -0
  179. /package/{utils → lib/utils}/object.d.ts +0 -0
  180. /package/{utils → lib/utils}/object.js +0 -0
  181. /package/{utils → lib/utils}/process.js +0 -0
  182. /package/{utils → lib/utils}/progress.d.ts +0 -0
  183. /package/{utils → lib/utils}/progress.js +0 -0
  184. /package/{utils → lib/utils}/stream.d.ts +0 -0
  185. /package/{utils → lib/utils}/stream.js +0 -0
  186. /package/{utils → lib/utils}/temp.d.ts +0 -0
  187. /package/{utils → lib/utils}/temp.js +0 -0
  188. /package/{utils → lib/utils}/virtual-fs.d.ts +0 -0
  189. /package/{utils → lib/utils}/virtual-fs.js +0 -0
package/CHANGELOG.md DELETED
@@ -1,569 +0,0 @@
1
- # @datatruck/cli
2
-
3
- ## 0.32.1
4
-
5
- ### Patch Changes
6
-
7
- - [`a479805`](https://github.com/swordev/datatruck/commit/a479805dd5c206d53eb5610f3f9db8cebe3e697a) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix `prune` option in the `backup` command
8
-
9
- ## 0.32.0
10
-
11
- ### Minor Changes
12
-
13
- - [`7d755ba`](https://github.com/swordev/datatruck/commit/7d755bac0edf7aea719446f6bfcee5bea0fe9a90) Thanks [@juanrgm](https://github.com/juanrgm)! - Reload repository server config
14
-
15
- - [`9dba106`](https://github.com/swordev/datatruck/commit/9dba106865da2d4327282d65deecee5a03e49b49) Thanks [@juanrgm](https://github.com/juanrgm)! - Update to Node.js 20
16
-
17
- - [`113ee82`](https://github.com/swordev/datatruck/commit/113ee8258951028d54b798eaaa813982222c20e8) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `ntfy` step
18
-
19
- ### Patch Changes
20
-
21
- - [`c24eea2`](https://github.com/swordev/datatruck/commit/c24eea21b41d78451d5eabd65923daa26dcad78a) Thanks [@juanrgm](https://github.com/juanrgm)! - Simplify step configs
22
-
23
- ## 0.31.0
24
-
25
- ### Minor Changes
26
-
27
- - [`c98324e`](https://github.com/swordev/datatruck/commit/c98324ebbb5b43113f1bb6d9a07bd905b5883729) Thanks [@juanrgm](https://github.com/juanrgm)! - Add cron server
28
-
29
- - [`9b40aad`](https://github.com/swordev/datatruck/commit/9b40aadc3ba57db15f14ae08c342b7170d61aa5d) Thanks [@juanrgm](https://github.com/juanrgm)! - Add multiple backends to the datatruck repository
30
-
31
- ## 0.30.1
32
-
33
- ### Patch Changes
34
-
35
- - [`68e991b`](https://github.com/swordev/datatruck/commit/68e991b862ee3793e6b31d1fd5d6cebdf59524a4) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix allowlist in datatruck server
36
-
37
- - [`16f982c`](https://github.com/swordev/datatruck/commit/16f982c7da0d44cbbb691d5552da77fb27366f82) Thanks [@juanrgm](https://github.com/juanrgm)! - Reduce progress interval to 300 ms in auto progress mode
38
-
39
- ## 0.30.0
40
-
41
- ### Minor Changes
42
-
43
- - [`e28b12d`](https://github.com/swordev/datatruck/commit/e28b12d08c36844317e506552443825ab3333139) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `allowlist` option to the datatruck server
44
-
45
- ### Patch Changes
46
-
47
- - [`2f63e67`](https://github.com/swordev/datatruck/commit/2f63e67ee532892fda3a9d06e46336a42834e5ed) Thanks [@juanrgm](https://github.com/juanrgm)! - Add download progress in datatruck repository
48
-
49
- - [`258e933`](https://github.com/swordev/datatruck/commit/258e93385d9b6f93a435a28a2b26e53ea1763755) Thanks [@juanrgm](https://github.com/juanrgm)! - Copy backups safely
50
-
51
- - [`82b4c67`](https://github.com/swordev/datatruck/commit/82b4c67c55eee4f40753b48eb91345e6d6789f72) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix exit event
52
-
53
- ## 0.29.1
54
-
55
- ### Patch Changes
56
-
57
- - [`34900c5`](https://github.com/swordev/datatruck/commit/34900c5ba9f323d491f2f6865c566386a4812c08) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix texts
58
-
59
- ## 0.29.0
60
-
61
- ### Minor Changes
62
-
63
- - [`363fc0d`](https://github.com/swordev/datatruck/commit/363fc0d8158aba6ae6a171769ef01dcd0fd2de08) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `--prune` option to the backup command
64
-
65
- - [`e47ed46`](https://github.com/swordev/datatruck/commit/e47ed46c47fc93d7d5f3b76935d425c6b42ae9a5) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `--last` option to the copy command
66
-
67
- - [`0a760a2`](https://github.com/swordev/datatruck/commit/0a760a2038ff77966936b3a9a0a8e865f4dae4c4) Thanks [@juanrgm](https://github.com/juanrgm)! - Add global prune policy to the config
68
-
69
- ### Patch Changes
70
-
71
- - [`1c5084d`](https://github.com/swordev/datatruck/commit/1c5084dab2058ab9699f1a908f2581cd03da0468) Thanks [@juanrgm](https://github.com/juanrgm)! - Rename `--no-restore-path` to `--initial`
72
-
73
- - [`5fe3e91`](https://github.com/swordev/datatruck/commit/5fe3e91e994238cf901e570c9b9ef8254d79afa1) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix prune policy
74
-
75
- - [`bd4d42e`](https://github.com/swordev/datatruck/commit/bd4d42e0261f79bdb69dd55abc30ef8bb0bfdcd7) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix reports
76
-
77
- ## 0.28.0
78
-
79
- ### Minor Changes
80
-
81
- - [`b50b10b`](https://github.com/swordev/datatruck/commit/b50b10bb29a15db0b4dadd3de499b9cd6738d706) Thanks [@juanrgm](https://github.com/juanrgm)! - Replace cli interface and global refactoring
82
-
83
- - [`89b0856`](https://github.com/swordev/datatruck/commit/89b0856b2a5bfc42458a9bcb271a04f2dce26098) Thanks [@juanrgm](https://github.com/juanrgm)! - Add telegram report config
84
-
85
- - [`1745715`](https://github.com/swordev/datatruck/commit/17457154930f15865858e89b7f3932c617dfddf4) Thanks [@juanrgm](https://github.com/juanrgm)! - Enhance output table formatting
86
-
87
- - [`8fa2fe0`](https://github.com/swordev/datatruck/commit/8fa2fe0a1213cf9614bb8c5bbe999d0d8e7130e8) Thanks [@juanrgm](https://github.com/juanrgm)! - Add copy command
88
-
89
- - [`e3d54c3`](https://github.com/swordev/datatruck/commit/e3d54c34df8ba42e77040d183d993808c8a7cdbb) Thanks [@juanrgm](https://github.com/juanrgm)! - Add json/table format to all commands
90
-
91
- - [`d59d435`](https://github.com/swordev/datatruck/commit/d59d435fc1a244da944ad0c36bf1dcf7735ba289) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `compress` option to `mysql-dump` task
92
-
93
- - [`802d6a5`](https://github.com/swordev/datatruck/commit/802d6a577f46bfccc1c1a5b8c4431976cd6d7820) Thanks [@juanrgm](https://github.com/juanrgm)! - Show backup summary
94
-
95
- ### Patch Changes
96
-
97
- - [`93e8e83`](https://github.com/swordev/datatruck/commit/93e8e830792f7d8957e89787c981e6a45ae4d02d) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `minFreeDiskSpace` config
98
-
99
- - [`1ad7fd9`](https://github.com/swordev/datatruck/commit/1ad7fd99f6e8f6d8128ea35e7c680cc3618d6ac4) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix id filter in prune action
100
-
101
- - [`5d1ece0`](https://github.com/swordev/datatruck/commit/5d1ece0760c317c71175250812e43fc866bcfc5a) Thanks [@juanrgm](https://github.com/juanrgm)! - Verify mysql dump files
102
-
103
- - [`8c00e9c`](https://github.com/swordev/datatruck/commit/8c00e9c78a656807d09d147c9b1017c2a1b8d127) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix bsdtar execution
104
-
105
- ## 0.27.0
106
-
107
- ### Minor Changes
108
-
109
- - [`e6485ad`](https://github.com/swordev/datatruck/commit/e6485ad80258d3b1c30f3efb1a2549a5c2760878) Thanks [@juanrgm](https://github.com/juanrgm)! - Add datatruck server
110
-
111
- ## 0.26.2
112
-
113
- ### Patch Changes
114
-
115
- - [`627adbd`](https://github.com/swordev/datatruck/commit/627adbd8114510371f451b674b007dc2093fee96) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix `--no-restore-path` option
116
-
117
- ## 0.26.1
118
-
119
- ### Patch Changes
120
-
121
- - [`2ca1421`](https://github.com/swordev/datatruck/commit/2ca142106ddca9e0ca53ef906f4412acd3a5bfae) Thanks [@juanrgm](https://github.com/juanrgm)! - Add meta property to the package config
122
-
123
- ## 0.26.0
124
-
125
- ### Minor Changes
126
-
127
- - [`ff54d83`](https://github.com/swordev/datatruck/commit/ff54d835a4ea5c54c47c75e735549b1f49d66e5e) Thanks [@juanrgm](https://github.com/juanrgm)! - Add option to disable restore paths
128
-
129
- ## 0.25.0
130
-
131
- ### Minor Changes
132
-
133
- - [`7a1adf0`](https://github.com/swordev/datatruck/commit/7a1adf0624d4306f40bfd1943105cbfaa64a566c) Thanks [@juanrgm](https://github.com/juanrgm)! - Add node steps to `include`/`exclude` package options
134
-
135
- ## 0.24.0
136
-
137
- ### Minor Changes
138
-
139
- - [`f1615b2`](https://github.com/swordev/datatruck/commit/f1615b216cf635bd2c08d68bad818d50855f314b) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix and enhance `script` task
140
-
141
- ## 0.23.3
142
-
143
- ### Patch Changes
144
-
145
- - [`ea3cbc9`](https://github.com/swordev/datatruck/commit/ea3cbc98aee49151bd1b9422a2c7dadb29479751) Thanks [@juanrgm](https://github.com/juanrgm)! - Apply permissions to the root path in `datatruck` repository
146
-
147
- ## 0.23.2
148
-
149
- ### Patch Changes
150
-
151
- - [`61d0221`](https://github.com/swordev/datatruck/commit/61d022187463ea16e9a34d0b995808b687414a61) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix `mysql-dump` task
152
-
153
- - [`3f80194`](https://github.com/swordev/datatruck/commit/3f8019448b3b529cb9b70e1e5bbe7ec99aec95a4) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix folder permissions in `datatruck` repository
154
-
155
- ## 0.23.1
156
-
157
- ### Patch Changes
158
-
159
- - [`899aa7a`](https://github.com/swordev/datatruck/commit/899aa7af5204b13010643a900279456e737a154d) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix `mysql-dump` progress
160
-
161
- ## 0.23.0
162
-
163
- ### Minor Changes
164
-
165
- - [`fa5d44d`](https://github.com/swordev/datatruck/commit/fa5d44dff24b26d976bed385bd20981fa767e089) Thanks [@juanrgm](https://github.com/juanrgm)! - Add concurrency config to `mysql-dump` task
166
-
167
- ## 0.22.2
168
-
169
- ### Patch Changes
170
-
171
- - [`80eeded`](https://github.com/swordev/datatruck/commit/80eeded073aae970385e1efb04acc4ec222efa25) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix cross-device link
172
-
173
- ## 0.22.1
174
-
175
- ### Patch Changes
176
-
177
- - [`e21ad9f`](https://github.com/swordev/datatruck/commit/e21ad9f33bd6cd28cc4c47485643905dd92dcb57) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix folder permissions in `mysql-dump` task
178
-
179
- - [`5e5ebf5`](https://github.com/swordev/datatruck/commit/5e5ebf53b0cb87160e7887e2a6372617e19d38b1) Thanks [@juanrgm](https://github.com/juanrgm)! - Hide MySQL credentials
180
-
181
- ## 0.22.0
182
-
183
- ### Minor Changes
184
-
185
- - [`d0649f1`](https://github.com/swordev/datatruck/commit/d0649f1f7d4a7d891bea19793cfcb24d752a0d5c) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `csv` backup/restore format to `mysql-dump` task
186
-
187
- ### Patch Changes
188
-
189
- - [`2e76917`](https://github.com/swordev/datatruck/commit/2e7691753b0a74c1f0653960882d13fbcf7d0567) Thanks [@juanrgm](https://github.com/juanrgm)! - Improve import performance in the `mysql-dump` task
190
-
191
- ## 0.21.1
192
-
193
- ### Patch Changes
194
-
195
- - [`0d863e8`](https://github.com/swordev/datatruck/commit/0d863e86d6deb30b79a45171f01d7cf4604250dd) Thanks [@juanrgm](https://github.com/juanrgm)! - Avoid listing tar twice
196
-
197
- - [`5045457`](https://github.com/swordev/datatruck/commit/5045457f3cd9512b27d29049fc37ba418ed95e0a) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix tar extracting
198
-
199
- - [`8f0bd77`](https://github.com/swordev/datatruck/commit/8f0bd77267a92da7eee05adc3bb85dee0ba97391) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix `sql-dump` tasks
200
-
201
- ## 0.21.0
202
-
203
- ### Minor Changes
204
-
205
- - [`211c914`](https://github.com/swordev/datatruck/commit/211c914e42b97213e81163511778b84b1ae2e9af) Thanks [@juanrgm](https://github.com/juanrgm)! - Use multi core for tar
206
-
207
- ## 0.20.0
208
-
209
- ### Minor Changes
210
-
211
- - [`13f9331`](https://github.com/swordev/datatruck/commit/13f933191f56f93e2eee0467e272998520b36195) Thanks [@juanrgm](https://github.com/juanrgm)! - Replace node-tar by tar
212
-
213
- ## 0.19.0
214
-
215
- ### Minor Changes
216
-
217
- - [`452a878`](https://github.com/swordev/datatruck/commit/452a878b04bf6dcf4632423f1455648e9e196697) Thanks [@juanrgm](https://github.com/juanrgm)! - Replace 7zip by tar
218
-
219
- ## 0.18.0
220
-
221
- ### Minor Changes
222
-
223
- - [`dba2162`](https://github.com/swordev/datatruck/commit/dba21624fa916e39824b9f998b58f9f9c3c2b1eb) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `compress` and `parallel` options to MariaDB task config
224
-
225
- ### Patch Changes
226
-
227
- - [`0b783ee`](https://github.com/swordev/datatruck/commit/0b783ee4c8d112e516ba5923ebf5d792050d14cc) Thanks [@juanrgm](https://github.com/juanrgm)! - Update dependencies
228
-
229
- - [`305dc49`](https://github.com/swordev/datatruck/commit/305dc49c3bc0ebc562cb478e705dfc6a9da6658f) Thanks [@juanrgm](https://github.com/juanrgm)! - Throw error if mkdir fails
230
-
231
- ## 0.17.2
232
-
233
- ### Patch Changes
234
-
235
- - [`27b7260`](https://github.com/swordev/datatruck/commit/27b726075a0e81769b841c4ce4c8b508f55f0bde) Thanks [@juanrgm](https://github.com/juanrgm)! - Ignore uncompleted snapshots
236
-
237
- ## 0.17.1
238
-
239
- ### Patch Changes
240
-
241
- - [`d6ff955`](https://github.com/swordev/datatruck/commit/d6ff955618527e8bad99f05a779c1f9e08fc863e) Thanks [@juanrgm](https://github.com/juanrgm)! - Wait for stdout pipe to close
242
-
243
- - [`c3cb5b9`](https://github.com/swordev/datatruck/commit/c3cb5b9d25af164dbbd58d1d7623f56c55fc7dbb) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix pretty-json format
244
-
245
- ## 0.17.0
246
-
247
- ### Minor Changes
248
-
249
- - [`821096f`](https://github.com/swordev/datatruck/commit/821096f67cd3bcce310b8e42fc7ccda109b42672) Thanks [@juanrgm](https://github.com/juanrgm)! - Add grouping by id in `snapshots` command
250
-
251
- ### Patch Changes
252
-
253
- - [`5a5e9c6`](https://github.com/swordev/datatruck/commit/5a5e9c62f3b6afded36d949c3149d475da17751b) Thanks [@juanrgm](https://github.com/juanrgm)! - Update dependencies
254
-
255
- - [`b9fbbc9`](https://github.com/swordev/datatruck/commit/b9fbbc98ca147ae9a88b214586ef722a9212116b) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix filter by repository
256
-
257
- ## 0.16.2
258
-
259
- ### Patch Changes
260
-
261
- - [`14865df`](https://github.com/swordev/datatruck/commit/14865df18b784d756aa1b4896f59ca6310eaeca4) Thanks [@juanrgm](https://github.com/juanrgm)! - Update dependencies
262
-
263
- - [`d91e6f8`](https://github.com/swordev/datatruck/commit/d91e6f8a024b14a15f9b9b97d5adc9b21c821a76) Thanks [@juanrgm](https://github.com/juanrgm)! - Delete temporary directories
264
-
265
- ## 0.16.1
266
-
267
- ### Patch Changes
268
-
269
- - [`62ce7c4`](https://github.com/swordev/datatruck/commit/62ce7c4d4ee6edc0375f3c1ad1e7bfe8912a2f3c) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix unzip progress
270
-
271
- * [`3fd4258`](https://github.com/swordev/datatruck/commit/3fd42588011353d744be2f964ab24cf0bdd690bf) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix restore progress in datatruck repository
272
-
273
- ## 0.16.0
274
-
275
- ### Minor Changes
276
-
277
- - [`e25867a`](https://github.com/swordev/datatruck/commit/e25867a49217e682c0fee7e1822a12daa583b168) Thanks [@juanrgm](https://github.com/juanrgm)! - New backup structure in datatruck repository
278
-
279
- * [`b65f080`](https://github.com/swordev/datatruck/commit/b65f080d7eca5588bce533e988067bd432da3c50) Thanks [@juanrgm](https://github.com/juanrgm)! - Show all progress steps
280
-
281
- - [`e603aee`](https://github.com/swordev/datatruck/commit/e603aee22febd7cc23056caeeb9f9304957199d6) Thanks [@juanrgm](https://github.com/juanrgm)! - Add progress stats in the `sql-dump` tasks
282
-
283
- ### Patch Changes
284
-
285
- - [`dae957b`](https://github.com/swordev/datatruck/commit/dae957b20f519d1bc0f6b046074ae2ad02a071dc) Thanks [@juanrgm](https://github.com/juanrgm)! - Show zip progress
286
-
287
- * [`7ba3dd3`](https://github.com/swordev/datatruck/commit/7ba3dd3521fc10140adc178810cc2b6153f0f5df) Thanks [@juanrgm](https://github.com/juanrgm)! - Enable multithread in 7zip
288
-
289
- - [`1024225`](https://github.com/swordev/datatruck/commit/102422501f629f50164db439e69a456725579cbe) Thanks [@juanrgm](https://github.com/juanrgm)! - Show full error stack when the error is not controlled
290
-
291
- * [`09db164`](https://github.com/swordev/datatruck/commit/09db164db462077289b66931e82f162a92558720) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix backup action in datatruck repository
292
-
293
- - [`2b9b2bb`](https://github.com/swordev/datatruck/commit/2b9b2bbb407b0b84a4b7fe3cd8773d6326983e8a) Thanks [@juanrgm](https://github.com/juanrgm)! - Unify progress bars
294
-
295
- ## 0.15.0
296
-
297
- ### Minor Changes
298
-
299
- - [`c73ceec`](https://github.com/swordev/datatruck/commit/c73ceec5ccb6a824fe6a6fceee56700705191fba) Thanks [@juanrgm](https://github.com/juanrgm)! - Detail the progress in all actions
300
-
301
- ## 0.14.0
302
-
303
- ### Minor Changes
304
-
305
- - [`91fe442`](https://github.com/swordev/datatruck/commit/91fe44257fa58400d7ce6a4678747e034e94228a) Thanks [@juanrgm](https://github.com/juanrgm)! - Show progress and apply permissions in datatruck repository
306
-
307
- ## 0.13.1
308
-
309
- ### Patch Changes
310
-
311
- - [`bfd61c7`](https://github.com/swordev/datatruck/commit/bfd61c7c5cdec7aea4f66193094786797231b1d6) Thanks [@juanrgm](https://github.com/juanrgm)! - Enhance 7zip performance
312
-
313
- * [`a208200`](https://github.com/swordev/datatruck/commit/a20820044fe8dac007bbc70de840b27735c689ef) Thanks [@juanrgm](https://github.com/juanrgm)! - Skip not found file errors during backups
314
-
315
- - [`442bd3d`](https://github.com/swordev/datatruck/commit/442bd3d7376e6c546cfcba69a80048e90e11a488) Thanks [@juanrgm](https://github.com/juanrgm)! - Deny additional properties in SQL dump task config
316
-
317
- ## 0.13.0
318
-
319
- ### Minor Changes
320
-
321
- - [`64cbb10`](https://github.com/swordev/datatruck/commit/64cbb10ea2526612e9f1183c878f146dbe4cea13) Thanks [@juanrgm](https://github.com/juanrgm)! - Save and show snapshot size
322
-
323
- * [`297d120`](https://github.com/swordev/datatruck/commit/297d1202c49a3a6b4a5eafc3871359c1af637d52) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `progress` and `progress-interval` global options
324
-
325
- - [`cb0ea35`](https://github.com/swordev/datatruck/commit/cb0ea35161ce8f67c40c6c77d1169d648ac0dfcd) Thanks [@juanrgm](https://github.com/juanrgm)! - Show restic restore progress
326
-
327
- * [`357b995`](https://github.com/swordev/datatruck/commit/357b995c041f3167290a5ce9ae4f9a8d122f2a10) Thanks [@juanrgm](https://github.com/juanrgm)! - Rename local repository to datatruck
328
-
329
- ### Patch Changes
330
-
331
- - [`aca9634`](https://github.com/swordev/datatruck/commit/aca9634313d562065a3e09efde8adf31b9939f89) Thanks [@juanrgm](https://github.com/juanrgm)! - Use local cache in the restic repositories
332
-
333
- * [`25f0cbb`](https://github.com/swordev/datatruck/commit/25f0cbb2754ca1b082a51e929c373f88825bc18d) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix undefined progress of restic
334
-
335
- ## 0.12.1
336
-
337
- ### Patch Changes
338
-
339
- - [`23bab2a`](https://github.com/swordev/datatruck/commit/23bab2ad73801398c799759cc275be2b17350545) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix package config option
340
-
341
- ## 0.12.0
342
-
343
- ### Minor Changes
344
-
345
- - [`0effb38`](https://github.com/swordev/datatruck/commit/0effb38d1cc0b50ba43cd2948c7ff98d2b17325d) Thanks [@juanrgm](https://github.com/juanrgm)! - Add package config filter
346
-
347
- ### Patch Changes
348
-
349
- - [`31446fb`](https://github.com/swordev/datatruck/commit/31446fb69273ac1619cdf2f8965f8b702da5882f) Thanks [@juanrgm](https://github.com/juanrgm)! - Throw controlled error when package config not found
350
-
351
- ## 0.11.7
352
-
353
- ### Patch Changes
354
-
355
- - [`303dbf6`](https://github.com/swordev/datatruck/commit/303dbf63127c2bafd8a24c5733fa8b33d311f3ff) Thanks [@juanrgm](https://github.com/juanrgm)! - Allow non file password in restic repository url
356
-
357
- ## 0.11.6
358
-
359
- ### Patch Changes
360
-
361
- - [`3a3c54d`](https://github.com/swordev/datatruck/commit/3a3c54db7075882604a3fc0fd8827271ab04ba29) Thanks [@juanrgm](https://github.com/juanrgm)! - Exlude files in restic repository
362
-
363
- ## 0.11.5
364
-
365
- ### Patch Changes
366
-
367
- - [`cee6fee`](https://github.com/swordev/datatruck/commit/cee6fee924a8ae637a8f3bfece03890d6ad34ddf) Thanks [@juanrgm](https://github.com/juanrgm)! - Avoid scan all excluded files
368
-
369
- ## 0.11.4
370
-
371
- ### Patch Changes
372
-
373
- - [`6328aec`](https://github.com/swordev/datatruck/commit/6328aece04027d76d2092bd916671d49c91cdc6d) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix task name filter
374
-
375
- ## 0.11.3
376
-
377
- ### Patch Changes
378
-
379
- - [`6aeac04`](https://github.com/swordev/datatruck/commit/6aeac04803c18a3f91d87f215857b250e1e7defd) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix `packageTaskNames` filter
380
-
381
- ## 0.11.2
382
-
383
- ### Patch Changes
384
-
385
- - [`9432df5`](https://github.com/swordev/datatruck/commit/9432df56f6c6444a59d98e79cf4b7db9f4d35854) Thanks [@juanrgm](https://github.com/juanrgm)! - Show zip progress
386
-
387
- * [`c16daa2`](https://github.com/swordev/datatruck/commit/c16daa22d922bd610a161f37911fdb6f52666d38) Thanks [@juanrgm](https://github.com/juanrgm)! - Sort table names in the SQL dump tasks
388
-
389
- ## 0.11.1
390
-
391
- ### Patch Changes
392
-
393
- - [`c65035c`](https://github.com/swordev/datatruck/commit/c65035cb6e9b8f5082f7b6d2ad59078ea1bd6abb) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix WSL system patch
394
-
395
- ## 0.11.0
396
-
397
- ### Minor Changes
398
-
399
- - [`8aa3c1a`](https://github.com/swordev/datatruck/commit/8aa3c1a1334870cc11b610b3b0a9bf10b0a97126) Thanks [@juanrgm](https://github.com/juanrgm)! - Add predefined output templates
400
-
401
- ### Patch Changes
402
-
403
- - [`763a724`](https://github.com/swordev/datatruck/commit/763a72473505232884e1b3871f2f4d1c55bb74d6) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix file copy in WSL system
404
-
405
- ## 0.10.0
406
-
407
- ### Minor Changes
408
-
409
- - [`bc9a0dd`](https://github.com/swordev/datatruck/commit/bc9a0ddf2bfb9353545c28d9cbd12e592328024e) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `mirrorRepoNames` config option
410
-
411
- ### Patch Changes
412
-
413
- - [`795936c`](https://github.com/swordev/datatruck/commit/795936c1d2add7819ff5f40679313e1e594aeb7e) Thanks [@juanrgm](https://github.com/juanrgm)! - Show error stack trace if directory does not exist
414
-
415
- * [`d0d77b6`](https://github.com/swordev/datatruck/commit/d0d77b6c3d4eb0461c176981b165e20b49826082) Thanks [@juanrgm](https://github.com/juanrgm)! - Update dependencies
416
-
417
- ## 0.9.0
418
-
419
- ### Minor Changes
420
-
421
- - [`05de947`](https://github.com/swordev/datatruck/commit/05de947264727cddb79293eca6cb0b43382eab6b) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `storedPrograms` config option in `mysql-dump` task
422
-
423
- ### Patch Changes
424
-
425
- - [`ef99bdf`](https://github.com/swordev/datatruck/commit/ef99bdf0301b5bbdf965c1fa1d00e78edce1c931) Thanks [@juanrgm](https://github.com/juanrgm)! - Update dependencies
426
-
427
- ## 0.8.0
428
-
429
- ### Minor Changes
430
-
431
- - [`8c421ab`](https://github.com/swordev/datatruck/commit/8c421ab0adb6f2d5bc81e91fa387c5daa848f411) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `--package-task` option to snapshot command
432
-
433
- ## 0.7.0
434
-
435
- ### Minor Changes
436
-
437
- - [`3b8d6da`](https://github.com/swordev/datatruck/commit/3b8d6da01495799aceb848a63b35b8c46a7d1b0e) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `--package-task` cli option
438
-
439
- * [`69b34a0`](https://github.com/swordev/datatruck/commit/69b34a02b9cade48df2b071a92a8f79d5cfec23e) Thanks [@juanrgm](https://github.com/juanrgm)! - Allow restore multiple backups over the same database
440
-
441
- - [`69caf26`](https://github.com/swordev/datatruck/commit/69caf26881272331bd4c8d7d345b3b85d33e33ac) Thanks [@juanrgm](https://github.com/juanrgm)! - Add cli short option to `--tag`
442
-
443
- * [`377f0de`](https://github.com/swordev/datatruck/commit/377f0de345c9c8f45c772ac47e4ded81e91725d7) Thanks [@juanrgm](https://github.com/juanrgm)! - Rename cli short option to `-rt`
444
-
445
- ### Patch Changes
446
-
447
- - [`c03200a`](https://github.com/swordev/datatruck/commit/c03200a6347d1e9f9fdad86dcb22df30bbefcab4) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix `sql-dump` tasks
448
-
449
- * [`f56a4bc`](https://github.com/swordev/datatruck/commit/f56a4bcb429a674c13f32de73985cd67eb1acc23) Thanks [@juanrgm](https://github.com/juanrgm)! - Show full error message
450
-
451
- - [`4324422`](https://github.com/swordev/datatruck/commit/4324422550474619811a8d455af55bc6e3b08aeb) Thanks [@juanrgm](https://github.com/juanrgm)! - Use connection port in `mysql-dump` task
452
-
453
- ## 0.6.1
454
-
455
- ### Patch Changes
456
-
457
- - [`0ba6229`](https://github.com/swordev/datatruck/commit/0ba6229348c109a59783e72242ab7c0e61f25e36) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix progress bar in restic repository
458
-
459
- ## 0.6.0
460
-
461
- ### Minor Changes
462
-
463
- - [`0c6877d`](https://github.com/swordev/datatruck/commit/0c6877d189761e75dd434b0a8d72b71621d024de) Thanks [@juanrgm](https://github.com/juanrgm)! - Show more progress stats
464
-
465
- * [`751e1f6`](https://github.com/swordev/datatruck/commit/751e1f6d6b33d3fa96eb40d998fdd140ce0e3875) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `fileCopyConcurrency` option
466
-
467
- - [`05487e6`](https://github.com/swordev/datatruck/commit/05487e6a33f875a3afb7ff0815b16da6f2a41301) Thanks [@juanrgm](https://github.com/juanrgm)! - Parse InnoDB error in `MariadbTask` to avoid infinite wait
468
-
469
- ### Patch Changes
470
-
471
- - [`b62a6f8`](https://github.com/swordev/datatruck/commit/b62a6f8a82409339afd65d4f96476eb57bbfb5a2) Thanks [@juanrgm](https://github.com/juanrgm)! - Resolve target/restore path in local repository
472
-
473
- ## 0.5.0
474
-
475
- ### Minor Changes
476
-
477
- - [`5aeb2af`](https://github.com/swordev/datatruck/commit/5aeb2afb96692e00bdba501b58df9cc0e02dceaa) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `enabled` option to repository config
478
-
479
- * [`75de836`](https://github.com/swordev/datatruck/commit/75de8369356cf02ed3fd5c58b1f9bea66432cda8) Thanks [@juanrgm](https://github.com/juanrgm)! - Allow restic password without file
480
-
481
- ## 0.4.0
482
-
483
- ### Minor Changes
484
-
485
- - [`eeb00a6`](https://github.com/swordev/datatruck/commit/eeb00a69d75c91da40711ae79475612b1d5193b6) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `tempDir` config option
486
-
487
- ## 0.3.2
488
-
489
- ### Patch Changes
490
-
491
- - [`8957c3b`](https://github.com/swordev/datatruck/commit/8957c3b5846606db8b825fef357445210f2a3ac3) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix restic progress parser
492
-
493
- * [`2989718`](https://github.com/swordev/datatruck/commit/29897185e3d6659359d51ab2212351005137f86c) Thanks [@juanrgm](https://github.com/juanrgm)! - Show closing reason
494
-
495
- - [`b9e0843`](https://github.com/swordev/datatruck/commit/b9e0843c7970944cfd30a7d2a543f515adfa60e4) Thanks [@juanrgm](https://github.com/juanrgm)! - Show restic progress in megabytes
496
-
497
- ## 0.3.1
498
-
499
- ### Patch Changes
500
-
501
- - [`c3bb4c6`](https://github.com/swordev/datatruck/commit/c3bb4c609887c5525cf35487ea237750addb6e75) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix restic stdout parser
502
-
503
- ## 0.3.0
504
-
505
- ### Minor Changes
506
-
507
- - [`d63fd25`](https://github.com/swordev/datatruck/commit/d63fd25ffa8d2e539d2125dfd6a3f55020086804) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `snapshotDate` param
508
-
509
- * [`486ef4a`](https://github.com/swordev/datatruck/commit/486ef4add27ae1dbfd166b16c257522f43537ecd) Thanks [@juanrgm](https://github.com/juanrgm)! - Resolve params in `include` and `exclude`
510
-
511
- - [`617dae2`](https://github.com/swordev/datatruck/commit/617dae2c8ed90e6e65e8109f03cfad0e64bd7c02) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `script` task
512
-
513
- ### Patch Changes
514
-
515
- - [`d1b3ea9`](https://github.com/swordev/datatruck/commit/d1b3ea9c9540d30898c00490963523a4fbc68193) Thanks [@juanrgm](https://github.com/juanrgm)! - Avoid use gitignore if is not necessary in restic repository
516
-
517
- ## 0.2.0
518
-
519
- ### Minor Changes
520
-
521
- - [`120460c`](https://github.com/swordev/datatruck/commit/120460c8824cef4184e43f571a4cc0798b899b66) Thanks [@juanrgm](https://github.com/juanrgm)! - Enable `include` option in restic repository
522
-
523
- ### Patch Changes
524
-
525
- - [`e30ede3`](https://github.com/swordev/datatruck/commit/e30ede371bc7ab3fc1cd47758fdac7a28e8e2705) Thanks [@juanrgm](https://github.com/juanrgm)! - Resolve `RESTIC_PASSWORD_FILE` path
526
-
527
- * [`8539d28`](https://github.com/swordev/datatruck/commit/8539d285b2c51d700aa811cd772d573fa0d613eb) Thanks [@juanrgm](https://github.com/juanrgm)! - Allow empty backup in restic repository
528
-
529
- ## 0.1.0
530
-
531
- ### Minor Changes
532
-
533
- - [`88d46cd`](https://github.com/swordev/datatruck/commit/88d46cd56293df4c6fc21a9ad61d6236ac91f325) Thanks [@juanrgm](https://github.com/juanrgm)! - Add `custom` output format
534
-
535
- ### Patch Changes
536
-
537
- - [`24a1e5e`](https://github.com/swordev/datatruck/commit/24a1e5e86336e7a92556287e49548dc542f0e579) Thanks [@juanrgm](https://github.com/juanrgm)! - Update dependencies
538
-
539
- ## 0.0.6
540
-
541
- ### Patch Changes
542
-
543
- - [`8de6e6c`](https://github.com/swordev/datatruck/commit/8de6e6ceddb59635cb4634d884e7690eeaf59bac) Thanks [@juanrgm](https://github.com/juanrgm)! - Publish migrations
544
-
545
- ## 0.0.5
546
-
547
- ### Patch Changes
548
-
549
- - [`78cb0c1`](https://github.com/swordev/datatruck/commit/78cb0c17558543841cd7080dc4c672e6cbfd5634) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix docker image
550
-
551
- ## 0.0.4
552
-
553
- ### Patch Changes
554
-
555
- - [`d9e534b`](https://github.com/swordev/datatruck/commit/d9e534bd968acf9cd1c93f20e6152c004cb1f23b) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix package file read
556
-
557
- * [`b882c58`](https://github.com/swordev/datatruck/commit/b882c58183e9a75abc876645e18d7b67186dd662) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix read of migrations
558
-
559
- ## 0.0.3
560
-
561
- ### Patch Changes
562
-
563
- - [`051a7da`](https://github.com/swordev/datatruck/commit/051a7da225fcfea1c30a4fbfa8aea1b8f5538367) Thanks [@juanrgm](https://github.com/juanrgm)! - Fix dist files
564
-
565
- ## 0.0.2
566
-
567
- ### Patch Changes
568
-
569
- - [`0911351`](https://github.com/swordev/datatruck/commit/09113517e1a77f2d2a1e19e4c3d9af7da1e28415) Thanks [@juanrgm](https://github.com/juanrgm)! - Publish docker image
@@ -1,28 +0,0 @@
1
- import { FormatType } from "../utils/DataFormat";
2
- import { DatatruckCronServerOptions } from "../utils/datatruck/cron-server";
3
- import { DatatruckRepositoryServerOptions } from "../utils/datatruck/repository-server";
4
- import { Step } from "../utils/steps";
5
- import { PackageConfigType } from "./PackageConfig";
6
- import { PrunePolicyConfigType } from "./PrunePolicyConfig";
7
- import { RepositoryConfigType } from "./RepositoryConfig";
8
- import type { JSONSchema7 } from "json-schema";
9
- export type ConfigType = {
10
- tempDir?: string;
11
- minFreeDiskSpace?: string | number;
12
- repositories: RepositoryConfigType[];
13
- packages: PackageConfigType[];
14
- server?: DatatruckServerOptions;
15
- reports?: ReportConfig[];
16
- prunePolicy?: PrunePolicyConfigType;
17
- };
18
- export type DatatruckServerOptions = {
19
- log?: boolean;
20
- repository?: DatatruckRepositoryServerOptions;
21
- cron?: DatatruckCronServerOptions;
22
- };
23
- export type ReportConfig = {
24
- when?: "success" | "error";
25
- format?: Exclude<FormatType, "custom" | "tpl">;
26
- run: Step;
27
- };
28
- export declare const configDefinition: JSONSchema7;