Hello! Every bit of your server should be saved automatically, but you can always do /save-all, which saves the map and some of the configuration files. You should also stop the server yourself if you leave it, because sometimes errors occur when letting the server stop itself (at least that has been the case for me).