007revad/Synology_app_mover

Missing -v or --verbose mode flag

Closed this issue · 3 comments

Great work on this tool! It is really needed, I was very surprised to learn the only official DSM method was uninstall/reinstall.

I ran this application last today to move one of the official synology apps and it worked great-- but when I tried to move the Docker package I had issues (created an issue for that here)

Would be great if there was a -v or --verbose flag supported so we can track the bread crumbs to diag.

Thanks for taking the suggestion,
Dan

The script stops the Container Manager (or Docker) package so there should not be any containers still running.

Moving, or backing up, the @docker folder can take hours depending on the size and quantity of containers.

There are 2 undocumented options, but they can only be used one at a time:

  • --trace
  • --debug

Trace prints information on where each function was called from. If you only want to see the trace output from after you answer "y" you can insert a line at line 1990 and add trace=yes

If you only want to debug from after you answer "y" you can:

  1. Insert a line at line 1990 and add debug on
  2. Insert a line at line 2025 and add debug off

Works! Thanks again.