I'm working on setting up a server for my university's agriculture program to manage data from many of the experiment stations around the state. Part of this effort is loading and making raster data (multispectral .tif files) from the growing season available to all the professors and researchers. I am new to SQL servers and the postgis extension, but I have figured out how to create roles, create servers, add extensions, and all of that good stuff. What I cannot discover is how to upload raster data into the server. Currently I am testing on a localhost, but will eventually need to be able to load into a server running Ubuntu.
I have tried to use the SQL command raster2pgsql, but I cannot get it to execute. Is this function standard in all distributions of postgis? Or do I need to reinstall the extension from another source (homebrew)?
I have also tried to load rasters through the QGIS plugin "Load them all", which also seems to be unable to load my raster (or vector) data to the local server. Is this the simplest way to load batches of data into a server, or is this unnecessary?
I'm sure I'm probably missing some simple step in this entire process since I am so new to it, but I appreciate your help.