The following command creates a directory, such as d:\backuplocs\xdb20051017151315000001, that contains an xdbdata.bat script, database files and log files:
BACKUP LOCATION MYLOC TO D:\BACKUPLOCS