Proper syntax for the CWCLIent Backup command
From TDiWiki
When using CWClient (cwterm) to backup the invocation database, it is possible to specify a custom path and filename instead of using the default. To do that you will need to know the proper syntax for the cwterm command.
See the following single command line example:
./cwterm -ssl -server=localhost -port=80 -user=BACKUP -pass=backtest2 "backup '/opt/TDIcnwrks/bin/db_backups/mybackupfile.dat'"
In this case we specified cwterm to log in to the locally hosted ConsoleWorks server via port 80, with the username of BACKUP and a password of backtest2. Note that this is a non-default port. Your invocation may use 5176 (default) or whatever port you chose at installation. As you can see, the command backup starts with double quotes ("_), and the path/filename string is enclosed in single quotes ('_'), and the command closes with double quotes (_").
