Topic: Using migrate.sh
Migrate.sh allows you to copy account files to a different server with scp
By default, migrate.sh will ask input per option, optionally, you can use the following parameters:
Parameters
-h - copy history (y/n)
-t - copy templates (y/n)
-y - copy thumbs (y/n)
-s - remote server address
-u - remote server username
-p - remote SSH port (22 default)
-l - remote location of TC server (/home/tradecontrol/server by default)
-c - local path to generated thumbs (/home/tradecontrol/client/thumbs by default)
-x - remote path to generated thumbs (/home/tradecontrol/client/thumbs by default)
-d - domain name of the account
Examples
With thumbs, history and templates
./migrate.sh -l /home/tradecontrol/server -y y -t y -h y -s mynewserver.com -u myusername -d accountdomain
With thumbs, history on port 2345
./migrate.sh -p 2345 -l /home/tradecontrol/server -y y -t n -h y -s mynewserver.com -u myusername -d accountdomain