Upgrade from MRBS 1.2.x
Upgrade from MRBS 1.2.x
If you have already an old MRBS installation, you should first make a backup of your old files (especially config.inc.php) and your database. If you have downloaded the Schoorbs package, you should extract it to a location where your webserver can access it. Then copy your old config.inc.php to the new Schoorbs installation and you should have a running Schoorbs.
Example of an upgrade from MRBS 1.2.5 to Schoorbs using a Linx distribution or a Linux/Unix-like system (e.g. Apple MacOS):
At first we do a backup of the old MRBS installation files into a tar.gz-archive:
$ tar zcf mrbs-backup.tar.gz mrbs/
Then we make a backup of the database, either MySQL oder PostgreSQL:
$ mysqldump mrbs --password=.... --user=mrbs --host=localhost > mbrs.sql
or
$ pg_dump mrbs > mbrs.sql
Now, after all data is backed up, we download a new version of Schoorbs into the same
directory as mrbs/ is in. For example if we have downloaded the 7z-archive, we extract
it with:
$ 7zr x schoorbs.7z
When the archive is extracted we should have a new directory called schoobrs, in which we
copy the old config.inc.php to keep the settings we have configured for MRBS. We do not
have to change anything concearning the database because the database interface in Schoorbs
is the same as in MRBS (but a bit more secure).
$ cp mrbs/config.inc.php schoorbs/
We now have a running Schoorbs, but at another location than the old MRBS-installation.
Because we made a backup of our old MRBS-data we just could remove the mrbs/ directory
and set a link from it to the new schoorbs/-directory:
$ rm -rf mrbs/
$ ln -s mrbs schoorbs/
The room/resource booking system is now upgraded to Schoorbs, if you want to use some new
Schoorbs features you might need to enable them, e.g. activate the .htaccess files for the
REST-interface.


