A bashscripts that moves packages from one Synology NAS volume to another. Inspired by @Saintdle's guide
This script is in Beta and hanven't been tested on divices. Use at your own risk. Feel free to improve the script and submit a push request.
- Log in to Synology NAS using SSH as admin.
- Run
sudo -i
to change user to root - Clone this repository or
wget
the raw file to a safe location, usually root user home - Mark the
.sh
file as executable bychmod +x migrate.sh
- Determine the Source and Target volume by navigating to
/
cd
into the Source volume@appstore
, aka. the volume you want to migrate from by runningcd /<Source volume>/\@appstore
- Check the packages and run the script by
~/migrate.sh -s <Source Volume> -t <Target Volume>
,-a
optional for automatic migrate without prompt
Option | Description |
---|---|
-s |
Source (from) volume, should be in the form of volumeX e.g. volume1 |
-t |
Target (to) volume, should be in the form of volumeX e.g. volume2 |
-h |
Show Help |
-a |
If specified, will migrate all packages in current @appstore without prompts (Warning: Be careful! Always check packages) |