Google Cloud SQL lacks raster2pgsql
raster2pgsql

This a helper to make the job easy. It's not strictly speaking required.


  raster2pgsql  is a raster loader executable that loads GDAL supported raster formats into sql suitable for loading into a PostGIS raster table. It is capable of loading folders of raster files as well as creating overviews of rasters.


You can just redirect the output of raster2pgsql into a file

raster2pgsql &gt; myFile.sql


Then run myFile.sql on Google Cloud.