BACKUP DATABASE database_name TO SHARE 'filename'
For DATABASE, database_name is the target database to backup. Filename is a directory where backed database folder will be created.
See Restore for restoring backups.