There are a number of ways to export your current database, and the methods will vary depending on the platform it's running on and how it's been set up.
To get started, you will need at minimum the database name, and possibly the username and password. These can be found in the classroombookings config file - local/config.php for versions 2.x.
If you already have access to an admin or "root" database user, you could use these details instead.
You can export the database using the mysqldump command-line utility and this will produce the best output for migrations. This is available on most Linux and Windows installations if MySQL is installed.
To use mysqldump, open a command prompt window.
The format for the command is as follows:
mysqldump -u USERNAME -p DATABASE_NAME > crbs.sql
Replace USERNAME and DATABASE_NAME with your own details.
Type the command and press Enter to run it - you will be prompted for the password - either type it in or copy-and-paste.
If this is successful, you should end up with a 'crbs.sql' file in the same folder that you ran the command in.
If the MySQL server is not running on the same computer that you run mysqldump on, you can add the "-h HOST_OR_IP_ADDR" parameters to specify the hostname or IP of the MySQL server to connect to. Note - the MySQL user account you use to connect must also have been granted access to connect from other hosts.
On Windows, if you get an error like 'unrecognised command', you may need to specify the full path to mysqldump.exe for it to work. In this case, it is usually in cd "C:\program files\mysql\bin" or similar location.
There are a range of database tools that allow data to be exported, including HeidiSQL (Windows) or phpMyAdmin and Adminer (web-based).
Once you have connected to the server, select the classroombookings database. On the main menu, go to Tools > Export database as SQL.
Make sure the classroombookings database is selected on the left, and change the options to match the image below:

Click the Folder icon to change the export location to an appropriate folder, then click Export.
phpMyAdmin is usually available on commercial web hosting packages and is a good option if it's already available.
If you have this, select the classroombookings database on the left menu. Click the "Export" tab on the top menu, and click the "Go" button. The default options don't need to be changed.
Adminer is a small and compact web-based database administration tool that can be installed on web servers that support PHP, like classroombookings itself. Once you've downloaded the Adminer PHP file and placed it in an accessible place, access it at its URL.
Enter the database credentials to connect to the classroombookings database.
On the left menu, click Export, and check or change the options to match the following:

Click Export to get the .sql file.