The probkup command can be used to take a backup of a database while the database is on-line or off-line.
To take an on-line backup of a database the command is:
probkup online <dbname> <backup-file-name>
Example:
probkup online sports2000 sports2000.bak
To take an off-line backup of a database the command is:
probkup <dbname> <backup-file-name>
Example:
probkup sports2000 sports2000.bak
For information regarding what happens internally when an on-line backup is running, see article:
What happens during an online backup of the database?