How to write a generic command from backup of Aerospike

Currently I am using the following command to create a backup of my namespace in Aerospike.

asbackup  localhost -n myNamespace  -d /myPathFolder/aerobckups -r

It is supposed that it needs to create backup with all sets, bins, records, udfs and indexes but it is not getting indexes and udfs. Kindly guide me about a generic command that creates a backup of everything in namespace.

Also guide me that if I want to create backup with no records, I have tried with --no-records but command is not accepting this. Kindly give me correct format of command to use these stuffs.

Hi.

Which version of backup tool you are using?

Index and udf backup feature is available from tools version 3.6.1.