-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
CHANGES.txt
276 lines (226 loc) · 12.1 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
v3.0.55
- Bug fix for `synoshare: unrecognized option '--get-real-path'` error in DSM 7.2. Issue #76
v3.0.54
- Bug fix for `synoshare: unrecognized option '--get-real-path'` error in DSM 7.0 and 7.1. Issue #76
v3.0.53
- Bug fix for checking target volume free space when there's a symlink on the volume. Issue #72
- e.g. A symlink pointing to folder on same volume, another volume, another device or visible snapshots.
v3.0.52
- Bug fix for DSM 6 where some packages have an extra symlink that needs editing:
- chromaprint, ffmpeg, git, jackett, mediainfo, mono, python310, syncthing, synocli-misc and transmission
v3.0.51
- Bug fix for checking free space on USB drives. Issue #63
v3.0.50
- Bug fix for Hyper backup where moving `@img_bkp_cache` could cause an error. Issue #54
- Bug fix Container Manager and Docker where moving `@docker` could cause an error. Issues #34 #38 #46
- Changed to not exit on error moving app's `@folders`.
- Changed from hardcoded 50GB buffer to user configurable buffer (used when checking if there's enough space to move folder).
- Bug fix for message showing `@download` if not enough space on target volume to move `@docker`.
v3.0.49
- Bug fix for Synology Drive still using `@synologydrive` on the original volume. Issue #55
- Now deletes `@eaDir` folders to try to prevent `mv: cannot remove '/volume#/@<folder>': Operation not permitted`. Issue #54
v3.0.47
- Added instructions on how to move photo shared folder if it exists.
v3.0.46
- DSM 6 to 7.1.1 bug fix where script incorrectly showed package failed to stop error. Issue #44
- DSM 6 to 7.1.1 bug fix for not detecting when package was not installed (for Restore mode).
v3.0.45
- Added backup and restore modes.
- Includes syno_app_mover.conf file to set the backup location.
- Skips packages that are development tools with no data: Node.js, Perl, PHP, python3, SynoCli etc.
- Restore mode warns if installed package version does not match backup package version.
- DSM 6 backup and restore still WIP.
- When backup or restore selected asks if you want to backup or restore all packages.
- Added skip restore or backup if last restore or backup was less than n minutes ago.
- Set skip_minutes in syno_app_mover.conf
- Suggests changing volume location in app's settings for each app with volume settings.
- Shows how to move shared folder for each app with a shared folder.
- Changed so that cursor does not cover first letter when progress bar is showing.
- Now shows package's display name.
- Now shows how long the script took.
- Now automatically selects the target volume if there are only 2 volumes.
- Now only starts package if the script stopped it.
- Added 5 minute timeout to stopping, and starting, packages.
- Added warning that moving `@docker` and `@download` can take a long time.
- Now checks if there's enough space to move `@docker`
- Now checks if there's enough space to move `@download`
- Now asks if you want to backup `@download`
- Added reminder to edit docker volume settings if user moved shared folders that docker uses.
- Added how to export/import database for packages that use MariaDB.
- Now checks package status after uninstalling or installing package.
- Now confirms that folder was created when creating a folder.
- Now copies files/folders with same permissions when copying `@docker` to `@docker_backup`.
- Changed package selection to avoid invalid key presses.
- Added line number to error messages for easier debugging.
- Bug fix for moving Calendar. Issue #39
v3.0.44 Beta
- Bug fix for moving Calendar.
- Was not editing /var/packages/Calendar/etc/share_link.json. Issue #39
- Was not moving `@synocalendar` if it existed. Issue #39
v3.0.42 Beta
- Added line number of calling function to error messages.
v3.0.41 Beta
- Bug fix for moving Hyper Backup. issue #35
- Bug fix for moving Synology MailPlus Server. issue #20
- Bug fix for backing up extra `@folders` (`@docker`, `@downloads` etc.).
- Improved instructions for moving shared folders.
- To do: Fix moving Container Manager. issue #34
v3.0.40 Beta
- Bug fix for not enough space when you chose to backup extra `@folders` (`@docker`, `@downloads` etc.). issue #36
v3.0.39 Beta
- Added skip restore if last restore was less than n minutes ago.
- Set skip_minutes in syno_app_mover.conf
- Skip exit on error and skip processing app if backup all or restore all selected.
- Changed to suggest changing volume location in app's settings for each app with volume settings when All selected.
- Previously only showed how to edit volume location in app's settings for the last app processed.
- Changed to show how to move volume for each app with a volume when All selected.
- Previously only showed how to move volume for the last app processed.
- Bug fix for showing `@docker` instead of `@download` if not enough space on target volume for `@download`.
v3.0.38 Beta
- Added check that the extra `@folders` exist to prevent errors.
v3.0.37 Beta
- Added skipping backup if last backup was less than n minutes ago.
- Set skip_minutes in syno_app_mover.conf
v3.0.36 Beta
- Skip processing app if it failed to stop.
v3.0.35 Beta
- Added support for backup and restore in DSM 6.
v3.0.34 Beta
- Bug fix for restore mode which was broken in 3.0.30.
v3.0.33 Beta
- Added DSM 7.1 and 6 compatibility for package status.
- Bug fix for DSM 6 getting volume of shared folder.
- DSM 6 is still WIP.
v3.0.32 Beta
- Bug fix for when package has spaces in the folder name (Plex Media Center in DSM 6).
v3.0.31 Beta
- Fixed bug where packages that are stopped are not processed.
- Improved speed of getting list of running packages.
- Hard coded /usr/syno/bin and /usr/syno/sbin for Synology commands to prevent PATH issues.
v3.0.30 Beta
- Bug fix for moving Media Server and Plex Media Server when Media Server was selected.
v3.0.29 Beta
- Changed "move share" instructions to include enabling data checksums.
v3.0.28 Beta
- Minimised the time each package is stopped during backup/restore.
- First stops, backs up or restores and starts each package that other packages are dependent on.
- Then stops (if running), backs up or restores and starts each package that is dependent on packages in the first group.
- Finally stops, backs up or restores and starts each package that has no dependencies.
- Restore mode now only lists packages that are not development tools with no settings or data.
v3.0.27 Beta
- Improved speed of getting list of packages to be 6 times faster.
- Saves 1 second for every 20 packages installed.
v3.0.26 Beta
- Now shows how long the script took.
- Bug fix for `@SynologyDrive` instead of `@synologydrive`.
v3.0.25 Beta
- Backup and Restore modes now skip packages that are development tools with no data.
- Node.js, Perl, PHP, python3, SynoCli etc.
v3.0.24 Beta
- Added "All" packages choice for backup and restore modes.
1. Stops all packages that are on volumes (and their dependencies).
2. Backs up or restores all packages from backups.
3. Starts all packages that were stopped (and their dependencies).
- Now sorts packages for selection when restore mode selected.
- `@docker` and `@download` warning now instead of "Moving" says:
- Moving, Backing up or Restoring depending on the mode selected.
- Added line number to error messages for easier debugging.
v3.0.23 Beta
- Added reminder to edit docker volume settings if user moved shared folders that docker uses.
v3.0.22 Beta
- Fixed blank dependent package names if their INFO file has no displayname set.
v3.0.21 Beta
- Added how to export/import database for packages that use MariaDB.
v3.0.20 Beta
- Backup package's web_package folder if there is one.
- Restore package's web_package folder if there is one.
- Fix dependent typos (dependant).
v3.0.19 Beta
- Added warning that moving `@docker` and `@download` can take a long time.
- Added check to stop script if package variable is empty.
- Bug fix for packages with no "display" value in their INFO file.
v3.0.18 Beta
- Bug fix for `@download` named `@downloads`
- Now checks if there's enough space to move `@docker`
- Now checks if there's enough space to move `@download`
- Now asks if you want to backup `@download`
v3.0.17 Beta
- Added 5 minute timeout to stopping, and starting, packages.
v3.0.16 Beta
- Now shows package's display name.
- Bug fix for not processing Synology Calendar's `@calendar` folder.
- Bug fix for not processing Download Station's `@downloads` folder.
v3.0.15 Beta
- Active Backup for Business now working.
- Now does not uninstall and reinstall Active Backup.
- Bug fix for not editing the following packages' extra volume# settings when restoring:
- Glacier Backup
- Node.js
- Presto Server
- Surveillance Station
- Synology Application Service
- Synology Drive
- Bug fix for always copying instead of moving when Move selected.
v3.0.14 Beta
- Bug fix for editing `@appdata` symlink
v3.0.13 Beta
- Added --preserve-root to rm -r commands
v3.0.12 Beta
- Bug fix for DSM 6 docker.
- Bug fix for restore mode.
v3.0.11 Beta
- Bug fix.
v3.0.10 Beta
- Docker move, backup and restore now working.
- Backup: Save package version during backup.
- Restore: Warn if installed package version does not match backup package version.
- Lots of improvements and bug fixes.
- ActiveBackip still WIP.
v3.0.9 Beta
- Added backup and restore modes.
- Includes syno_app_mover.conf file to set the backup location.
- Changed so that cursor does not cover first letter when progress bar is showing.
- Now automatically selects the target volume if there are only 2 volumes.
- Now only starts package if the script stopped it.
- Now checks package status after uninstalling or installing package.
- Now confirms that folder was created when creating a folder.
- Now copies files/folders with same permissions when copying `@docker` to `@docker_backup`.
- Changed package selection to avoid invalid key presses.
- Bug fix when script updates itself and user ran the script from ./scriptname.sh
v2.0.7
- Bug fix for cannot stat '/volume1/@SynologyDrive': No such file or directory.
v2.0.6
- Confirmed working for 73 packages.
- Updated to work correctly with the following packages that have extra folders or symlinks:
- Active Backup for Business, Active Backup for Google Workspace, Active Backup for Microsoft 365,
Synology Chat Server, Container Manager, Glacier Backup, MailPlus Server, Mail Server, Node.js,
Presto File Server, Surveillance Station, Synology Application Service, Synology Drive, WebDAV Server,
Virtual Machine Manager.
- Moving Container Manager now includes your images and containers.
- It also asks if you want to backup the `@docker` folder (just in case).
- Added a progress bar so you know the script is still working on long running processes.
- Now shows the current volume for each package. Issue #12 Thanks woozu-shin
- Now stops dependant packages when moving a package with dependencies.
- Then later starts the dependant packages that the script stopped.
- Now asks if you want to start the package (in case you want to move it's shared folder first).
- Now instructs how to move packages' shared folder(s) for the following packages:
- Active Backup for Business, Audio Station, Synology Chat Server, Cloud Sync, Synology MailPlus Server,
MinimServer, Plex Media Server, Surveillance Station and Video Station.
- Now instructs how to change the packages' database location for the following packages:
- Cloud Sync, Download Station, Note Station, Synology Drive and Virtual Machine Manager.
- Now if package is ContainerManager or Docker:
- Offers to backup `@docker`.
- Moves `@docker` if there's enough space on the target volume.
- Instructs how to move your docker shared folder.
- Now gets the permissions of the original folder to set on the new target folder.
- Now checks if there's a new version of the script and asks if you want the script to update itself.
- Fixed bug which allowed typing an invalid package selection.
- Fixed bug which allowed typing an invalid volume selection.
v1.0.4
- Fix bug for handling only two volumes in NAS.
v1.0.3
- Bug fix for moving PlexMediaServer package also tried to move Bug fix for PlexMediaServer shared folder.
v1.0.2
- Renamed to syno_app_mover.
v1.0.1
- Initial release.