Did you install PostGIS on 2.5.2 using scripts or extension? Those functions shouldn’t even be in your backup if you used an extension install.
It could however be complaining about references in your code to those.
Do not drop postgis 2.5.2 as that would drop your geometry and raster columns.
If you can’t upgrade the old to 3.0, do the following on new
CREATE EXTENSION postgis_raster; -- raster was broken out of the postgis extension in 3.0
That should fix the raster errors.
In your old database try to find in your views (I’m guessing might be where it’s coming from) reference to ST_Accum use -- and change them to use array_agg instead.
ST_Accum was removed in 3.0 as it’s redundant and less performant than PostgreSQL built in array_agg
Hope that helps,
Regina
>That should fix the raster errors.