dotjaz / SynologyMerge

A bashscript that moves packages from one Synology NAS volume to another.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SynologyMerge

A bashscripts that moves packages from one Synology NAS volume to another. Inspired by @Saintdle's guide

Disclaimer

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.

Useage

Preperation

  1. Log in to Synology NAS using SSH as admin.
  2. Run sudo -i to change user to root
  3. Clone this repository or wget the raw file to a safe location, usually root user home
  4. Mark the .sh file as executable by chmod +x migrate.sh
  5. Determine the Source and Target volume by navigating to /
  6. cd into the Source volume @appstore, aka. the volume you want to migrate from by running cd /<Source volume>/\@appstore
  7. Check the packages and run the script by ~/migrate.sh -s <Source Volume> -t <Target Volume>, -a optional for automatic migrate without prompt

Using the Script

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)

About

A bashscript that moves packages from one Synology NAS volume to another.

License:Apache License 2.0


Languages

Language:Shell 100.0%