To move everything to another server, you only need to copy /var/lib/schooltool/Data.fs and the /var/lib/schooltool/blobs/ directory. Cannot access? Prefix the command with sudo.
Example:
sudo tar cJf schooltool-data.tar.xz /var/lib/schooltool/Data.fs /var/lib/schooltool/blobs
# copy to another server, for example
scp schooltool-data.tar.xz another-server:/path
# login to another server, extract
tar xJf schooltool-data.tar.xz
# delete old data
sudo rm -rf /var/lib/schooltool
# move new data
sudo mv var/lib/schooltool /var/lib/
sudo chown schooltool.schooltool /var/lib/schooltool
Remember to stop schooltool before and start after changing data.
To move everything to another server, you only need to copy /var/lib/ schooltool/ Data.fs and the /var/lib/ schooltool/ blobs/ directory. Cannot access? Prefix the command with sudo.
Example: data.tar. xz /var/lib/ schooltool/ Data.fs /var/lib/ schooltool/ blobs
sudo tar cJf schooltool-
# copy to another server, for example data.tar. xz another- server: /path
scp schooltool-
# login to another server, extract data.tar. xz schooltool /var/lib/schooltool
tar xJf schooltool-
# delete old data
sudo rm -rf /var/lib/schooltool
# move new data
sudo mv var/lib/schooltool /var/lib/
sudo chown schooltool.
Remember to stop schooltool before and start after changing data.