Asbackup command fails with --host and --port are mutually exclusive with --node-list
server $ asbackup -n backup_test -d /tmp/backup/2018-11-20 --node-list X.X.X.X:3000 2018-11-20 08:26:32 GMT [ERR]  Invalid options: --host and --port are mutually exclusive with --node-list.
documentation confirms that the command is correct.
There is a known issue with earlier versions of
asbackup logged as
TOOLS-1121 and fixed in Aerospike Tools
asbackup tries to read
/etc/aerospike/astools.conf for default information. There is a dummy entry for the host in that file and it is the presence of this dummy entry that causes the error.
If, for some reason, it is not possible to update the tools release there are two potential workarounds.
Workaround 1: Comment out the host entry in
/etc/aerospike/astools.conf. Choose the entry appropriate to the security mechanism being used on the cluster.
server $ asbackup -n backup_test -d /tmp/backup/2018-11-20 --no-config-file --node-list X.X.X.X:3000
mutually exclusive --node-list asbackup