-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
CHANGES.txt
160 lines (138 loc) · 8.78 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
v4.2.75
- Added `@database` as an app that can be moved.
- Only needed if moving all apps to a different volume so you can delete the old volume.
v4.1.74
- Added logging (syno_app_mover_YY-mm-dd_H-M.log saved in same folder as syno_app_mover.sh).
- Added USB Copy as a movable app to show how to move USB Copy's database (in move mode only).
- Changed to not refuse to move Container Manager or Docker to different file system.
- Now warns that you'll need to migrate the containers, and some may fail to migrate.
v4.0.73
- Can now be scheduled in Task Scheduler to backup a package or multiple packages. Issue #105
- Run the script with the -h or --help option to see how.
- Added exclude option in syno_app_mover.conf so you can exclude specified apps when "all" mode is selected.
- Updated instructions in conf file.
- Added -h, --help option.
- Added --autoupdate=AGE option to auto update the script (useful when script is scheduled)
- AGE is how many days old a release must be before auto-updating. AGE must be a number: 0 or greater
- Added --list option to show installed app's system names (names needed for scheduling backups).
- Also shows if there are any broken packages (broken 'target' symlink or missing volume).
- Now checks the size of selected app(s) and the free space on target volume.
- Changed to use rsync instead of cp for backups to make backing up the same package again faster.
- Now exports Container Manager/Docker container's settings to the docker shared folder. Thanks ctrlaltdelete
- e.g. /volume1/docker/app_mover_exports
- Includes new delete_older and ignored_containers options in syno_app_mover.conf
- Changed to prevent moving, backing up or restoring Container Manager or Docker between different file systems.
- Now deletes unused and dangling docker images before restoring.
- Now deletes dangling docker images before moving or backing up.
- Changed to work if PATH contains /opt/bin;/opt/sbin; with incompatible binaries. Issue #125
- e.g. If Entware is installed (which installs busybox).
- Changed to allow "moving" or backing up apps when volume is read only. Issue #122
- If source volume is read only:
- Copies apps to target volume instead of trying to move them, when move selected.
- Skips exporting container settings, as Docker or Container Manager cannot be started when volume is read only.
- Skips removing docker dangling and unused images.
- Bug fix for moving Synology Drive. Issue #126
- Bug fix for packages with spaces in their name (DSM 6 Plex Media Server).
- Bug fix for bad array subscript when a broken package exists. Issue #117
v3.1.60
- Now warns processing could take a long time if the folder is larger than 1GB.
- Previously warned only for `@docker` and `@download` and regardless of folder size.
v3.0.59
- Added check that USB partition is ext3, ext4 or btrfs when backup is selected and target is a USB drive.
v3.0.58
- Added info and progress after stopping and starting packages.
- On a slow NAS the script could appear to have frozen for up to 20 seconds.
v3.0.56
- Bug fix DSM 6 getting @docker or @download folder size. Issue #88
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
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.